summaryrefslogtreecommitdiff
path: root/docs
AgeCommit message (Collapse)Author
2021-05-19interpreter: Automatically add 'c' to languages when 'vala' is usedDylan Baker
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 McNamara
Adds a square bracket to create a valid array.
2021-05-18pkgconfig: Do not escape custom variablesXavier Claessens
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 Yates
2021-05-13Set up VS environment automatically when run.Jussi Pakkanen
2021-05-13little punctuation and add a phrase [skip ci]Mehmet Ali Baykara
Add the `second` to improve readability.
2021-05-12doc: Add example how to use devenvXavier Claessens
Fixes: #8758
2021-05-11Make objective C use C standard version. Closes #5495.Jussi Pakkanen
2021-05-02Document how to run the wrap valĂ­dator. [skip ci]Jussi Pakkanen
2021-05-02Release 0.58.0.Jussi Pakkanen
2021-04-28doc: update syntax description of immutabilityAlexander Lyashuk
"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 Pakkanen
2021-04-26Interpreter: Fallback when required is false but forcefallback is trueXavier Claessens
2021-04-26Add 'subprojects purge' commandTristan Partin
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 Claessens
Fixes: #8618.
2021-04-15docs: add the 'since' tag to string.replacePeter Hutterer
2021-04-15docs: document default version for declare_dependency()Simon Ser
By default, the project version is picked.
2021-04-13Adding translation to ptbr for getting meson. [skip ci]Mateus Coutinho Marim
2021-04-12Update Users.md [skip ci]Mateus Coutinho Marim
2021-04-12dependency: Add JDK system dependencyTristan Partin
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 Jackson
2021-04-09Add global_source/build_root()Xavier Claessens
2021-04-06docs: document bool to_int and to_string methodsSimon Ser
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 Pakkanen
2021-04-06Add Chinese page to sitemap. [skip ci]Jussi Pakkanen
2021-04-06Add Chinese translation of the getting Meson page [skip ci]Chippy
* 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 Janczak
2021-03-29Do not add custom target dir automatically when implicit false.Jussi Pakkanen
2021-03-28msubprojects: wrap-file should be re-extracted with --resetXavier Claessens
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.
2021-03-28docs: Provide working instructions for scan-build [skip ci]Patryk Obara
Replace `meson compile scan-build` with `ninja -C dir scan-build`, because scan-build target does not work with `meson compile`. Note about SCANBUILD env variable was not precise enough to describe how to pass arguments to scan-build - provide an example to make it clear. Fixes: #7644.
2021-03-27Added some wrap review docs. [skip ci]Jussi Pakkanen
2021-03-25docs: correct log upload paths.Diego Elio Pettenò
SInce the build directory is `builddir/` it should be `builddir/meson-logs/testlog.txt` to be uploaded.
2021-03-24Merge pull request #8568 from dcbaker/submit/qt-dependency-factoryJussi Pakkanen
QT: use a proper dependency factory
2021-03-23Refactor Qt Dependency into proper split classes with factoriesDylan Baker
Currently the Qt Dependencies still use the old "combined" method for dependencies with multiple ways to be found. This is problematic as it means that `get_variable()` and friends don't work, as the dependency can't implement any of those methods. The correct solution is to make use of multiple Dependency instances, and a factory to tie them together. This does that. To handle QMake, I've leveraged the existing config-tool mechanism, which allows us to save a good deal of code, and use well tested code instead of rolling more of our own code. The one thing this doesn't do, but we probably should, is expose the macOS ExtraFrameworks directly, instead of forcing them to be found through QMake. That is a problem for another series, and someone who cares more about macOS than I do.
2021-03-23devenv: Set GI_TYPELIB_PATH and LD_LIBRARY_PATH (#8548)Xavier Claessens
2021-03-23environment(): Allow stacking append() and prepend() (#8547)Xavier Claessens
* environment(): Allow stacking append() and prepend() * Update docs/markdown/Reference-manual.md Co-authored-by: Elliott Sales de Andrade <quantum.analyst@gmail.com> Co-authored-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
2021-03-23Remove -pipe from default list of args. Closes #8508.Jussi Pakkanen
2021-03-21Docs: Fix small typoHRXN
2021-03-18Allow add_dist_script() in subprojectsXavier Claessens
Fixes: #8440.
2021-03-18interpreter: Add varname as positional arg in dep.get_variable()Xavier Claessens
2021-03-16clangformat: Add clang-format-check targetXavier Claessens
2021-03-16clangformat: Add include and ignore filesXavier Claessens
2021-03-16Add range() functionXavier Claessens
Fixes: #5026.
2021-03-16Remove mention of Meson manual. [skip ci]Jussi Pakkanen
2021-03-16Add `meson devenv` command and meson.add_devenv()Xavier Claessens
2021-03-10doc: Add External Project into the top dropdown menuXavier Claessens
2021-03-10Some documentation language adjustments & improved error messagesLaurin-Luis Lehning
2021-03-10Yet another documentation updateLaurin-Luis Lehning
2021-03-10Fix release snippet still using the old fstring syntaxLaurin-Luis Lehning
2021-03-10Add syntax documentation with tentative version targetLaurin-Luis Lehning