summaryrefslogtreecommitdiff
path: root/docs/markdown/snippets
Commit message (Collapse)AuthorAgeFilesLines
* devenv: Set GI_TYPELIB_PATH and LD_LIBRARY_PATH (#8548)Xavier Claessens2021-03-231-1/+7
|
* environment(): Allow stacking append() and prepend() (#8547)Xavier Claessens2021-03-231-0/+16
| | | | | | | | | * 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>
* Remove -pipe from default list of args. Closes #8508.Jussi Pakkanen2021-03-231-0/+10
|
* Allow add_dist_script() in subprojectsXavier Claessens2021-03-181-0/+14
| | | | Fixes: #8440.
* interpreter: Add varname as positional arg in dep.get_variable()Xavier Claessens2021-03-181-0/+8
|
* clangformat: Add clang-format-check targetXavier Claessens2021-03-161-2/+2
|
* clangformat: Add include and ignore filesXavier Claessens2021-03-161-0/+43
|
* Add range() functionXavier Claessens2021-03-161-0/+28
| | | | Fixes: #5026.
* Add `meson devenv` command and meson.add_devenv()Xavier Claessens2021-03-161-0/+29
|
* Some documentation language adjustments & improved error messagesLaurin-Luis Lehning2021-03-101-1/+1
|
* Fix release snippet still using the old fstring syntaxLaurin-Luis Lehning2021-03-101-1/+1
|
* Add failing test cases & release snippetLaurin-Luis Lehning2021-03-101-0/+7
|
* Add address sanitizer support for Visual Studio.Jussi Pakkanen2021-03-091-0/+6
|
* Add str.replace() methodTristan Partin2021-03-091-0/+10
|
* install_man locale supportJason Woodward2021-02-271-0/+9
| | | | | | | | | | 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')`
* Allow printing UserOptions in the summaryStephen Gregoratto2021-02-261-0/+3
|
* meson: add .has_external_property() methodsTim-Philipp Müller2021-02-261-0/+7
| | | | | | | 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().
* deprecated `meson.get_cross_property`Dylan Baker2021-02-251-0/+5
| | | | | | 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
* Support multiple args in error()Xavier Claessens2021-02-251-0/+4
| | | | | | Seems it got forgotten when that was added to warnings() and message(). Fixes: #8414.
* Allow custom target output to be processed by generatorsMatthias Klumpp2021-02-251-0/+4
|
* minstall: Add --skip-subprojects optionXavier Claessens2021-02-221-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.
* Set up release 0.57.0.57.0Jussi Pakkanen2021-02-1431-315/+0
|
* Add Qt6 moduleLuca Weiss2021-02-071-0/+8
|
* Merge pull request #8162 from dcbaker/wip/2021-01/rust-module-bindgenJussi Pakkanen2021-02-071-1/+2
|\ | | | | Add a wrapper to the rust module for bindgen
| * rust: Add a module wrapper for bindgenDylan Baker2021-02-061-1/+2
| | | | | | | | | | | | | | | | | | This has a couple of advantages over rolling it by hand: 1. it correctly handles include_directories objects, which is always handy 2. it correctly generates a depfile for you, which makes it more reliable 3. it requires less typing
* | Merge pull request #8305 from xclaesse/run-target-envJussi Pakkanen2021-02-071-1/+1
|\ \ | |/ |/| run_target: Add env kwarg
| * run_target: Add env kwargXavier Claessens2021-02-051-1/+1
| | | | | | | | | | | | Re-implement it in backend using the same code path as for custom_target(). This for example handle setting PATH on Windows when command is an executable.
* | vala: Disable unity buildsDylan Baker2021-02-051-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | Our approach to unity builds with vala is broken, you cannot unify the generated C files, as they contain duplicate symbols. We would need to instead combine the files while they are still in their vala form, then convert that to C and compile the unified C file. This does not fix the linked issue, as this removed the ability to do vala unity builds, but it does allow running vala with `--unity=on`. Related: #5280
* | gnome: Add post_install() methodXavier Claessens2021-02-051-0/+9
|/ | | | | | | | | Various GNOME projects have scripts that does similar task, better do it directly in meson. This ensures it's done correctly regarding usage of subprojects and pkg-config. See for example this gtk bug: https://gitlab.gnome.org/GNOME/gtk/-/issues/3626. Fixes: #8268
* Introduce `fs.read` to read a file as a stringLuke Drummond2021-02-041-0/+40
| | | | | | | | | | | | | | | | | Following #7890, this patch introduces the ability to read the contents of a file to the fs module. This patch introduces the ability to read files at configure time, but has some restrictions: - binary files are not supported (I don't think this will prove a problem, and if people are wanting to do something with binary files, they should probably be shelling out to their own script). - Only files outside the build directory allowed. This limitation should prevent build loops. Given that reading an arbitrary file at configure time can affect the configuration in almost arbitrary ways, meson should force a reconfigure when the given file changes. This is non-configurable, but this can easily be changed with a future keyword argument.
* minstall: Add --dry-run optionXavier Claessens2021-02-041-0/+4
| | | | Closes: #1281
* Fix some typos in the release notes snippetsLuca Weiss2021-02-033-4/+4
|
* Add support for LLVM's thinLTODylan Baker2021-02-021-0/+5
| | | | | | | This uses a separate option, b_lto_mode. It works in conjunction with b_lto_threads. Fixes #7493
* compilers: Add support for using multiple threads with ltoDylan Baker2021-02-021-0/+7
| | | | | | | | Both Clang and GCC support using multiple threads for preforming link time optimizaions, and they can now be configured using the `-Db_lto_threads` option. Fixes #7820
* Capitalize "Meson" consistently as it is a proper name. [skip ci]Jussi Pakkanen2021-01-311-1/+1
|
* copy editing for 0.57 release notes [skip ci]Paolo Bonzini2021-01-3115-43/+46
|
* add_install_script: add skip_if_destdir kwargXavier Claessens2021-01-301-0/+11
| | | | | | | | It is common, at least in GNOME projects, to have scripts that must be run only in the final destination, to update system icon cache, etc. Skipping them from Meson ensures we can properly log that they have not been run instead of relying on such scripts to to it (they don't always).
* Merge pull request #8264 from xclaesse/ep-miscJussi Pakkanen2021-01-301-0/+11
|\ | | | | external_project: misc improvements
| * external_project: Add release snippetXavier Claessens2021-01-291-0/+11
| |
* | Merge pull request #8200 from bonzini/mtest-asyncio-logsJussi Pakkanen2021-01-301-0/+29
|\ \ | | | | | | mtest: improvements to logging
| * | docs: add documentation snippet for meson test console output changesPaolo Bonzini2021-01-221-0/+29
| | |
* | | Can read project version from a file.Jussi Pakkanen2021-01-291-0/+12
| |/ |/|
* | intepreter: Allow using file objects for the script_name of add_*_scriptDylan Baker2021-01-271-0/+15
| | | | | | | | | | | | It's a bit silly and conveluted to have to call find_program on the output of configure_file, so let's just allow passing files as the script name.
* | custom_target: Add env kwargXavier Claessens2021-01-271-0/+11
| |
* | test: Make timeout <= 0 infinite duractionXavier Claessens2021-01-271-0/+9
| |
* | dist: Allow packaging subproject in same git repo as main projectXavier Claessens2021-01-261-0/+16
|/
* interpreter: accept external programs and dependencies for summaryPaolo Bonzini2021-01-211-0/+4
|
* MSVC and Clang-Cl Compiler Argument CleanupMarios Staikopoulos2021-01-201-0/+16
| | | | | | | | | This commit performs some cleanup for the msvc and clang-cl arguments. * "Disable Debug" (`/Od`) is no longer manually specified for optimization levels {`0`,`g`} (it is already the default for MSVC). * "Run Time Checking" (`/RTC1`) removed from `debug` buildtype by default * Clang-CL `debug` buildtype arguments now match MSVC arguments * There is now no difference between `buildtype` flags and `debug` + `optimization` flags
* Keep buildtype the same even if user changes debug and/or optimization.Jussi Pakkanen2021-01-191-0/+10
|
* Removal of /ZI on MSVC DebugMarios Staikopoulos2021-01-171-0/+14
| | | | | | | | The /ZI flag adds in "Edit and Continue" debug information, which will cause massive slowdown. It is not a flag that we should be adding by default to debug builds. /Zi will still be added.