summaryrefslogtreecommitdiff
path: root/docs/markdown
Commit message (Collapse)AuthorAgeFilesLines
* String arguments can permit arbitrary string valuesarrayoptJussi Pakkanen2017-12-022-17/+44
| | | | by leaving out the choices keyword.
* Reformatted and fixed running doc.Jussi Pakkanen2017-12-021-22/+80
|
* Merge pull request #2390 from dcbaker/submit/options-listJussi Pakkanen2017-12-022-9/+45
|\ | | | | Add an array type to user options
| * Add new array type optionDylan Baker2017-11-292-9/+45
| | | | | | | | | | | | | | This exposes the already existing UserStringArrayOption class through the meson_options.txt. The intention is to provide a way for projects to take list/array type arguments and validate that all of the elements in that array are valid without using complex looping constructrs.
* | cross: Implement support for loading cross files from system pathsDylan Baker2017-11-302-0/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | One thing that makes cross compiling with meson a pain is the need for cross files. The problem is not with cross files themselves (they're actually rather brilliant in that they allow for a much greater deal of flexibility than autotools hardcoded paths approach) but that each user needs to reimplement them themselves, when for most people what they really want is a cross file that could be provided by their distro, all they really want is the correct toolchain. This patch is the first stop to making it easier for distros to ship their own cross files (and for users to put their's somewhere safe so they don't get `git clean`ed. It allows the cross files (on Linux and *BSD) to be stored in home and system paths (~/.config/meson/cross, /usr/share/meson/cross, and /usr/local/share/meson/cross), and to be loaded by simply by specificying --cross-file. With this patch meson will check the locations its always checked first, (is cross file absolute, or is it relative to $PWD), then will check ~/.config/meson/cross, /usr/local/share/meson/cross, /usr/share/meson/cross, (or $XDG_CONFIG_PATH and $XDG_DATA_DIRS) for the files, raising an exception if it cannot find the specified cross file. Fixes #2283
* | Merge pull request #2701 from dcbaker/submit/better-llvm-docsJussi Pakkanen2017-11-291-0/+29
|\ \ | | | | | | Minor LLVM dependency cleanups for the next release
| * | docs: Add better documentation of the LLVM dependencyDylan Baker2017-11-281-0/+29
| |/
* | docs: note when warning() was addedZbigniew Jędrzejewski-Szmek2017-11-291-0/+2
|/ | | | Followup for 1540e615f13503722f1067c693f3d394218cbd9e.
* Merge pull request #2512 from dcbaker/wip/config-tool-variablesJussi Pakkanen2017-11-283-19/+24
|\ | | | | Add method to get values from config tool based dependency
| * docs: add documentation for config_tool variable methodDylan Baker2017-11-232-0/+15
| |
| * docs: consolidate config-tool based dependenciesDylan Baker2017-11-231-19/+9
| | | | | | | | | | | | | | There are currently entries for cups and pcap; but not LLVM, GnuStep, or WxWidgets. Instead of having an entry for each of these just have a single entry for all of them, since the majority of the information is duplicated between them anyway.
* | Add if_found kwarg to subdir().Jussi Pakkanen2017-11-272-1/+20
| |
* | Merge pull request #2690 from jsoref/spellingJussi Pakkanen2017-11-272-2/+2
|\ \ | | | | | | Spelling
| * | useless: youtu.be referenceJosh Soref2017-11-261-1/+1
| | |
| * | spelling: programmingJosh Soref2017-11-261-1/+1
| |/
* | Use new style dependencies in subproject documentation.Jussi Pakkanen2017-11-261-40/+47
| |
* | Merge pull request #2676 from jeandet/add_qt_translationsJussi Pakkanen2017-11-261-3/+11
|\ \ | |/ |/| Add qt translations
| * [Qt module] Updated Dokerfile, added since 0.44 mention in docAlexis Jeandet2017-11-231-4/+4
| | | | | | | | Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
| * [Qt module] Added translation files compilation methodAlexis Jeandet2017-11-231-3/+11
| | | | | | | | | | | | | | | | | | | | - Added a new compile_translations method since preprocess was already quite full and translations compilation is quite different from ui, qrc, cpp files preprocessing. - Updated translation. - Updated test case. Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
* | Added release note mention of embedded Python in MSI packages.runpythonJussi Pakkanen2017-11-211-0/+9
| |
* | docs: Add 'cygwin' to reference table for .system()Jon Turney2017-11-191-0/+1
| | | | | | | | | | This aligns this table with the set of values tested for by test case common/140
* | Documentation: Add note about SCAN_BUILDChristoph Behle2017-11-191-0/+6
| | | | | | | | | | When running ninja scan-build you can use the environment variable SCAN_BUILD to choose the right executable.
* | Appveyor example now validates. Closes #2641.Jussi Pakkanen2017-11-191-9/+10
| |
* | Fix literal backslash syntaxLucas Werkmeister2017-11-191-1/+1
|/ | | In CommonMark, there are no backslash escapes in code spans, so only two backslashes in the source document are necessary to produce two backslashes in the output document.
* docs: fix description of default_optionsJoergen Ibsen2017-11-131-7/+7
| | | | | | | | For dependency() and subproject(), the default_options argument can override the defaults in the subproject's meson_options.txt, not in its project() invocation. Resolves #2612
* Merge pull request #2000 from t-chaik/tchaik/wip/get-unquotedJussi Pakkanen2017-11-132-0/+9
|\ | | | | config data: add .get_unquoted() convenience method to get quoted string unquoted
| * get-unquoted: Queue a release note entry mentioning the new methodMartin Blanchard2017-09-151-0/+4
| |
| * get-unquoted: Mention get_unquoted() in reference manualMartin Blanchard2017-09-151-0/+5
| |
* | Merge pull request #2511 from jon-turney/prefix-dependent-defaultsJussi Pakkanen2017-11-131-0/+10
|\ \ | | | | | | Make sysconfdir, localstatedir and sharedstatedir defaults depend on prefix
| * | Make sysconfdir, localstatedir and sharedstatedir defaults depend on prefixJon Turney2017-10-281-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rather than requiring a bit of boilerplate in every meson.build, which is only documented in a comment in mesoncore.py, use sensible defaults for sysconfdir, localstatedir and sharedstatedir depending on the prefix. Fixes #1637 v2: For clarity, give get_builtin_option_default() a noneIfSuppress argument, rather than overloading prefix '' and None with special meanings.
* | | docs: Remove extra whitespace from i18nTingPing2017-11-131-4/+0
| | |
* | | Cleanupping.Jussi Pakkanen2017-11-111-22/+69
| | |
* | | Merge pull request #2444 from dcbaker/llvmJussi Pakkanen2017-11-081-0/+8
|\ \ \ | | | | | | | | LLVM: Fix dynamic vs statically linking.
| * | | docs: Add a snippet for LLVM static linking supportDylan Baker2017-10-251-0/+8
| | | |
* | | | Add description on how to use external and internal dependencies ↔Jussi Pakkanen2017-11-081-17/+46
| | | | | | | | | | | | | | | | interchangeably.
* | | | docs: fix use of depsJoergen Ibsen2017-11-071-1/+1
| | | |
* | | | Small changes for syntax hightlightDavid Pérez-Suårez2017-11-062-3/+3
| | | |
* | | | Merge pull request #2562 from 1ace/fix/mesontestJussi Pakkanen2017-10-312-6/+6
|\ \ \ \ | | | | | | | | | | Remove references to `mesontest`
| * | | | docs: remove references to `mesontest`Eric Engestrom2017-10-312-6/+6
| | | | | | | | | | | | | | | | | | | | `mesontest` is deprecated, and shouldn't be suggested to users anymore.
* | | | | interpreter: Add warning functionPaulo Antonio Alvarez2017-10-312-0/+14
|/ / / /
* | | | Add LibWmf as a specified dependency, and associated tests.Félix Piédallu2017-10-311-0/+10
| | | |
* | | | Merge pull request #2529 from leiflm/qt5-add-moc-extra-arguments-keywordJussi Pakkanen2017-10-292-6/+19
|\ \ \ \ | |_|/ / |/| | | Qt5-Module: Add `moc_extra_arguments` keyword support.
| * | | documentation: adds new keyword usage to the given example.Leif Middelschulte2017-10-271-1/+3
| | | |
| * | | adds "since"-note for the new keyword to the documentationLeif Middelschulte2017-10-271-1/+1
| | | |
| * | | updates the documentation to follow the list-style to explain arguments.Leif Middelschulte2017-10-271-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | As per to @jon-turney's and @jpakanne's suggestion [0], this commit changes the "prosa" documentation to a list-style one. [0] https://github.com/mesonbuild/meson/pull/2529#pullrequestreview-72265697
| * | | Qt5-Module: Add `moc_extra_arguments` keyword support.Leif Middelschulte2017-10-252-5/+13
| |/ / | | | | | | | | | | | | | | | This commit adds support for an additional `moc_extra_arguments` keyword. It becomes especially handy, when `moc`-ed sources conditionally provide `slots`, depending on compile time macros (i.e. defines).
* | | docs: add pkgconfig to cross file exampleMike Gilbert2017-10-261-0/+1
|/ /
* | Fix inconsistent header levelsJay Sherby2017-10-241-2/+2
| |
* | docs: Fix date being interpreted as an ordered list itemLuis Menina2017-10-241-2/+2
| |
* | Update references from mesonconf to meson configureKevin Anderson2017-10-235-8/+8
| | | | | | | | Fixes #2372