aboutsummaryrefslogtreecommitdiff
path: root/docs
AgeCommit message (Collapse)AuthorFilesLines
2021-06-15docs: update qt module documentation with types and new filesDylan Baker3-20/+96
2021-06-15modules/qt: Deprecated the preprocess sources keyword argumentDylan Baker1-2/+6
2021-06-15docs/qt: document all of the arguments of the preprocess functionDylan Baker1-2/+15
2021-06-15modules/qt: Deprecated the *sources variadic argument to preproccessDylan Baker1-0/+16
It's confusing, and it's a duplicate of the `sources` keyword argument, which has always existed.
2021-06-15Update macOS installation instructions.Jussi Pakkanen9-32/+16
2021-06-14doc: fix typo preventing correct page generationEli Schwartz1-1/+1
This originally worked but was erroneously reported as wrong and thereby regressed in commit a7357887c79debc73bb0158ce70b22263fcf7a76
2021-06-10markdown/Dependencies:remove tabsandy59951-11/+11
Remove tabs introduced by https://github.com/mesonbuild/meson/pull/8866
2021-06-11add example for defining curses preprocessor symbolsAndy Alt1-0/+23
2021-06-09doc: Add direct link to matrix channel (#8859) [skip ci]Xavier Claessens1-1/+2
2021-06-08docs: fix issues with the cython docsDylan Baker2-5/+5
2021-06-08document the enhancement to the Fs module permitting File argumentsEli Schwartz2-3/+14
Add a release notes snippet too!
2021-06-08doc: Fix link to Commands.mdXavier Claessens1-1/+1
2021-06-08Merge pull request #8512 from bonzini/feature-methodsJussi Pakkanen1-0/+25
Utility methods for feature objects
2021-06-08interpreter: add feature.disable_auto_if()Paolo Bonzini1-0/+9
Add a method to downgrade an option to disabled if it is not used. This is useful to avoid unnecessary search for dependencies; for example dep = dependency('dep', required: get_option('feature').disable_auto_if(not foo)) can be used instead of the more verbose and complex if get_option('feature').auto() and not foo then dep = dependency('', required: false) else dep = dependency('dep', required: get_option('feature')) endif or to avoid unnecessary dependency searches: dep1 = dependency('dep1', required: get_option('foo')) # dep2 is only used together with dep1 dep2 = dependency('dep2', required: get_option('foo').disable_auto_if(not dep1.found())) ``` Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2021-06-08interpreter: add feature.require()Paolo Bonzini1-0/+15
Add a method to perform a logical AND on a feature object. The method also takes care of raising an error if 'enabled' is ANDed with false. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2021-06-07docs: Add cython docsDylan Baker4-10/+65
2021-06-05docs: Generate a table of all wrapdb releasesXavier Claessens2-0/+17
wrapdb CI will trigger Meson's CI to regenerate the list when releases.json is updated.
2021-06-02docs: Fix typo in github pages repo URLXavier Claessens1-1/+1
2021-06-02ci: Automatically update website when pushing to masterXavier Claessens1-2/+6
2021-05-31interpreter: add feature.allowed()Paolo Bonzini1-0/+1
This method simplifies the conversion of Feature objects to booleans. Often, one has to use the "not" operator in order to treat "auto" and "enabled" the same way. "allowed()" also works well in conjunction with the require method that is introduced in the next patch. For example, if get_option('foo').require(host_machine.system() == 'windows').allowed() then src += ['foo.c'] config.set10('HAVE_FOO', 1) endif can be used instead of if host_machine.system() != 'windows' if get_option('foo').enabled() error('...') endif endif if not get_option('foo').disabled() then src += ['foo.c'] config.set10('HAVE_FOO', 1) endif Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2021-05-26Update chat info. [skip ci]Jussi Pakkanen1-4/+5
2021-05-19interpreter: Automatically add 'c' to languages when 'vala' is usedDylan Baker1-0/+4
This is so dumb, we can just insert C for you without you having to know that you're using C under the hood. This is nicer because: 1) Meson doesn't make the user add a language they're not explicitly using 2) If there was ever an implementaiton of Vala that didn't use C as it's assembly language, this wouldn't make any sense.
2021-05-18doc: Fix array syntax [skip ci]Tim McNamara1-1/+1
Adds a square bracket to create a valid array.
2021-05-18pkgconfig: Do not escape custom variablesXavier Claessens2-2/+33
We need to escape space in variables that gets into cflags or libs because otherwise we cannot split compiler args when paths contains spaces. But custom variables are unlikely to be path that gets used in cflags/libs, and escaping them cause regression in GStreamer that use space as separator in a list variable.
2021-05-18add cpu family cskyRandy Yates1-0/+1
2021-05-13Set up VS environment automatically when run.Jussi Pakkanen1-0/+8
2021-05-13little punctuation and add a phrase [skip ci]Mehmet Ali Baykara1-5/+5
Add the `second` to improve readability.
2021-05-12doc: Add example how to use devenvXavier Claessens1-0/+9
Fixes: #8758
2021-05-11Make objective C use C standard version. Closes #5495.Jussi Pakkanen1-0/+6
2021-05-02Document how to run the wrap valĂ­dator. [skip ci]Jussi Pakkanen1-6/+12
2021-05-02Release 0.58.0.0.58.0Jussi Pakkanen28-324/+358
2021-04-28doc: update syntax description of immutabilityAlexander Lyashuk1-2/+4
"Stored by value" is more correct way to explain that example. Mutable vs immutable means that you cannot mutate the value (e.g. list vs tuple in Python), and the example shows that `var2` is actually mutable. Copying/storing a reference vs value is what what matters in the assignment, in Python `a=b` means `a` and `b` are references to the same list, while in meson `a=b` copies the value of `b` into `a`.
2021-04-26Add snippet about Xcode. [skip ci]Jussi Pakkanen1-0/+4
2021-04-26Interpreter: Fallback when required is false but forcefallback is trueXavier Claessens2-0/+24
2021-04-26Add 'subprojects purge' commandTristan Partin1-0/+18
This will help facilitate cache busting in certain situations, and replaces hand-rolled solutions of writing a length command to remove various files/folders within the subprojects directory.
2021-04-19pkgconfig: Add support for CustomTarget objects in generatorXavier Claessens2-2/+10
Fixes: #8618.
2021-04-15docs: add the 'since' tag to string.replacePeter Hutterer1-2/+2
2021-04-15docs: document default version for declare_dependency()Simon Ser1-1/+2
By default, the project version is picked.
2021-04-13Adding translation to ptbr for getting meson. [skip ci]Mateus Coutinho Marim2-0/+94
2021-04-12Update Users.md [skip ci]Mateus Coutinho Marim1-1/+2
2021-04-12dependency: Add JDK system dependencyTristan Partin2-0/+17
The JDK system dependency is important for detecting JDK include paths that may be useful when developing a JNI interface.
2021-04-09docs: Fix the description of static_library's additional arguments [skip ci]Adam Jackson1-2/+1
2021-04-09Add global_source/build_root()Xavier Claessens2-0/+26
2021-04-06docs: document bool to_int and to_string methodsSimon Ser1-0/+8
This documents the bool methods to_int and to_string implemented in [1]. [1]: https://github.com/mesonbuild/meson/blob/a9e9b7c7501a3c8a5984a93879d1f309bf8c72aa/mesonbuild/interpreterbase.py#L1109
2021-04-06Typo fix. [skip ci]Jussi Pakkanen1-1/+1
2021-04-06Add Chinese page to sitemap. [skip ci]Jussi Pakkanen2-1/+2
2021-04-06Add Chinese translation of the getting Meson page [skip ci]Chippy1-0/+56
* add zh * I am learning Meson and there is not Meson Chinese manual.so I want to write a Chinese manual. This is Getting-meson_zh.
2021-03-30docs: change duplicate "**.h" path to "**.c" [skip ci]Guilherme Janczak1-1/+1
2021-03-29Do not add custom target dir automatically when implicit false.Jussi Pakkanen1-0/+17
2021-03-28msubprojects: wrap-file should be re-extracted with --resetXavier Claessens2-1/+10
When using --reset we should guarantee that next reconfigure will pick the latest code. For wrap-file we have no way to know if the revision changed, so we have to delete the source tree and extract again. It is unlikely that user has local changes in non-git subprojects, and --reset is known to be dangerous.