aboutsummaryrefslogtreecommitdiff
path: root/docs
AgeCommit message (Collapse)AuthorFilesLines
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.
2021-03-28docs: Provide working instructions for scan-build [skip ci]Patryk Obara1-3/+17
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 Pakkanen2-1/+39
2021-03-25docs: correct log upload paths.Diego Elio Pettenò1-3/+3
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 Pakkanen1-0/+6
QT: use a proper dependency factory
2021-03-23Refactor Qt Dependency into proper split classes with factoriesDylan Baker1-0/+6
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 Claessens2-1/+14
2021-03-23environment(): Allow stacking append() and prepend() (#8547)Xavier Claessens2-2/+29
* 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 Pakkanen1-0/+10
2021-03-21Docs: Fix small typoHRXN1-1/+1
2021-03-18Allow add_dist_script() in subprojectsXavier Claessens2-6/+29
Fixes: #8440.
2021-03-18interpreter: Add varname as positional arg in dep.get_variable()Xavier Claessens2-2/+14
2021-03-16clangformat: Add clang-format-check targetXavier Claessens2-4/+4
2021-03-16clangformat: Add include and ignore filesXavier Claessens3-0/+102
2021-03-16Add range() functionXavier Claessens2-0/+58
Fixes: #5026.
2021-03-16Remove mention of Meson manual. [skip ci]Jussi Pakkanen1-6/+0
2021-03-16Add `meson devenv` command and meson.add_devenv()Xavier Claessens3-0/+76
2021-03-10doc: Add External Project into the top dropdown menuXavier Claessens1-0/+1
2021-03-10Some documentation language adjustments & improved error messagesLaurin-Luis Lehning2-2/+10
2021-03-10Yet another documentation updateLaurin-Luis Lehning1-0/+3
2021-03-10Fix release snippet still using the old fstring syntaxLaurin-Luis Lehning1-1/+1
2021-03-10Add syntax documentation with tentative version targetLaurin-Luis Lehning1-0/+16
2021-03-10Add failing test cases & release snippetLaurin-Luis Lehning1-0/+7
2021-03-09docs: add a couple words about system dependenciesDylan Baker1-0/+17
2021-03-09Add address sanitizer support for Visual Studio.Jussi Pakkanen2-1/+9
2021-03-09Add str.replace() methodTristan Partin3-0/+24
2021-03-06minstall: Correctly set uid/gid of installed filesPeter Kjellerstedt1-1/+1
In commit caab4d3d, the uid and gid arguments passed to os.chown() by set_chown() were accidentally swapped, causing files to end up with incorrect owner/group if the owner and group are not the same. Also update the documentation to better indicate which argument to install_mode is which. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
2021-03-04mass rewrite of string formatting to use f-strings everywhereEli Schwartz1-1/+1
performed by running "pyupgrade --py36-plus" and committing the results
2021-03-04Fix release notes typo [skip ci]Michael Brockus1-1/+1
2021-03-04docs: Clarify compiler.cmd_array() (#8454)Chris Mayo1-2/+1
Make it easier to understand that this array contains the compiler command, not arguments to it, and may only have one element.
2021-03-04Improved a paragraph [skip ci]Amr Ojjeh1-3/+3
Made it easier to understand
2021-03-01docs/faq: Add a section on user defined functions and macros [skip ci]Dylan Baker1-1/+78
Fixes #3234
2021-02-27install_man locale supportJason Woodward2-0/+14
Rather than having to manually build the locale aware man paths with `install_data('foo.fr.1', install_dir: join_paths(get_option('mandir'), 'fr', 'man1'), rename: 'foo.1')` Support doing `install_man('foo.fr.1', locale: 'fr')`
2021-02-26Allow printing UserOptions in the summaryStephen Gregoratto2-0/+4
2021-02-26meson: add .has_external_property() methodsTim-Philipp Müller2-0/+14
Useful in case of boolean values to distinguish between a boolean value having been set in the native/cross file and not having been provided, which can't be achieved by passing a fallback parameter to .get_external_property().
2021-02-26Add Rizin to the list of meson usersRiccardo Schirone1-0/+1
2021-02-25deprecated `meson.get_cross_property`Dylan Baker3-4/+9
It's a pure subset of `get_external_property`, and has odd behavior in host == build configurations. `get_external_property` is clear, and uses the standard `native : bool` syntax to control host vs build properties
2021-02-25Support multiple args in error()Xavier Claessens2-0/+7
Seems it got forgotten when that was added to warnings() and message(). Fixes: #8414.
2021-02-25Allow custom target output to be processed by generatorsMatthias Klumpp1-0/+4
2021-02-25Clarify that wrap requests are for user submission. [skip ci]Jussi Pakkanen1-2/+9
2021-02-23Add note about using Ninja on old Meson versions. [skip ci]Jussi Pakkanen1-1/+3
2021-02-22minstall: Add --skip-subprojects optionXavier Claessens1-0/+10
By default all subprojects are installed. If --skip-subprojects is given with no value only the main project is installed. If --skip-subprojects is given with a value, it should be a coma separated list of subprojects to skip and all others will be installed. Fixes: #2550.
2021-02-21docs/users: Add DOSBox StagingPatryk Obara1-0/+1
2021-02-17Substitute @CURRENT_SOURCE_DIR@ in run_target() and custom_target()Xavier Claessens1-0/+17
run_target() does some variable substitutions since 0.57.0. This is a new behavior, and undocumented, caused by sharing more code with custom_target(). More consistency is better, so document it now. custom_target() was doing variable substitution in the past, because it shared some code with generator(), but that was undocumented. Some refactoring in 0.57.0 caused it to not replace @CURRENT_SOURCE_DIR@, @SOURCE_DIR@, and @BUILD_DIR@ anymore. This patch adds back @CURRENT_SOURCE_DIR@ and document it. It does not add back @SOURCE_DIR@ because it is duplicate with @SOURCE_ROOT@ that has a better name. Also do not add back @BUILD_DIR@ which is duplicate of @PRIVATE_DIR@, and not @BUILD_ROOT@ surprisingly, adding to the confusion.