summaryrefslogtreecommitdiff
path: root/docs/markdown/Reference-manual.md
AgeCommit message (Collapse)Author
2020-03-06Add meson.override_dependency()Xavier Claessens
Similar to meson.override_find_program() but overrides the result of the dependency() function. Also ensure that dependency() always returns the same result when looking for the same dependency, this fixes cases where parts of the project could be using a system library and other parts use the library provided by a subproject.
2020-03-04interpreter: add 'name' method to BuildTargetHolderStéphane Cerveau
As any child of BuildTargetHolder might need the name of the object, provides a method to get object name. This is useful in gst-build to display the plugin name and not the filename.
2020-02-26summary: Add list_sep keyword argumentXavier Claessens
This allows having lists on a single line instead of having each value aligned on a new line.
2020-02-19docs: Improve visibility for `.enabled()` etc., add example [skip ci]Niklas Hambüchen
2020-02-18docs: Mention `cuda` as supported language [skip ci]Niklas Hambüchen
2020-02-18docs: Fix typo 'serie' -> 'series'Niklas Hambüchen
2020-02-17minstall: Add a new option --quietNirbheek Chauhan
This is a significant speed-up on Windows because terminals are slow to print things out. Speed-up in gst-build on Windows: ``` meson install: before: 5.1 seconds after: 4.0 seconds ```
2020-02-12Refine behaviour of add_languages() when native: is missingJon Turney
This improves the common case of a simple meson.build which doesn't contain any 'native: true' targets to not require a native compiler when cross-compiling, without needing any changes in the meson.build. v2: Do it the right way around!
2020-02-09Add add_languages(native:)Jon Turney
v2: Retain not using logical-and, to avoid short-circuiting side-effects of add_languages()
2020-02-06Make 'default_library' per-subproject builtin optionXavier Claessens
Currently it's just like if all builtin/base/compiler options are yielding. This patch makes possible to have non-yielding builtin options. The value in is overriden in this order: - Value from parent project - Value from subproject's default_options if set - Value from subproject() default_options if set - Value from command line if set
2020-02-06docs: explain the purpose of order-only deps for generated files [skip ci]Marc Herbert
The documentation of "order-only" dependencies is limited and their various purposes are especially not clear. See issue #6391 for a recent example, search the internet for many more. So mention the particular purpose here while making the documentation barely longer.
2020-02-05docMichael Hirsch, Ph.D
2020-02-05add get_external_property to replace get_cross_propertyMichael Hirsch, Ph.D
2020-02-05add native-file properties testsMichael Hirsch, Ph.D
2020-02-04interpreter: Iterate custom target outputsXavier Claessens
2020-01-27Merge pull request #6423 from dcbaker/declare-dependency-variablesJussi Pakkanen
Add ability to set and query arbitrary variables on declare_dependency objects
2020-01-26Support multiple args to message() and warning()Xavier Claessens
2020-01-23Set source and build dir envvars when running dist.Jussi Pakkanen
2020-01-09docs: Add documentation for variables keywordDylan Baker
In declare_dependency() and dependency.get_variables().
2019-12-19summary: Change 'section' to be a kwarg instead of positionalXavier Claessens
Fixes: #6372.
2019-12-19add compiler.get_linker_id() methodMichael Hirsch, Ph.D
this can be useful for if/elif where linker behaviors must be considered. For example, clang with "link" vs gcc with "ld.bfd" etc. ci for compiler.get_linker_id() method doc add @FeatureNew check Co-Authored-By: Daniel Mensinger <daniel@mensinger-ka.de>
2019-12-12summary: Add bool_yn keyword argumentXavier Claessens
2019-12-12summary: Allow section with no title, and passing key/value separatelyXavier Claessens
2019-12-12Add a summary() function for configuration summarizationXavier Claessens
Based on patch from Dylan Baker. Fixes #757
2019-12-10assert(): Make message argument optionalXavier Claessens
2019-12-06mtest: document default MALLOC_PERTURB_=1..255 behavior [skip ci]Michael Hirsch, Ph.D
This default behavior can have surprising and time-consuming outcomes. I was wondering why certain tests using several external, fixed libraries would fail only with Meson and not with CMake or manual runs. It turned out mtest.py enables MALLOC_PERTURB_ by default, which is surprising--a topic for another Issue/PR. At least, this surprising default is documented with workarounds.
2019-12-05find_program(): Add 'dirs' keyword argumentXavier Claessens
Fixes: #1576
2019-11-29docs: fix typochris
2019-11-27docs: Fix typo [skip ci]Robert Ancell
2019-11-06Fix typos found by codespellWolfgang Stöggl
- Typos were found by codespell v1.16.0
2019-10-28docs: clarify --default-library is for internal libraries [skip ci]rc-matthew-l-weber
Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
2019-10-19docs: Fix some incorrect links [skip ci]Anton Leontiev
2019-10-19docs: Add missing language identifier [skip ci]Anton Leontiev
2019-10-06Merge pull request #5953 from mensinda/isystemJussi Pakkanen
Add is_system to dependency
2019-10-03Use include_type instead of is_systemDaniel Mensinger
2019-10-03added docsDaniel Mensinger
2019-10-02docs: update docs on benchmark in regards to arguments acceptedDylan Baker
2019-09-30Add depfile to configure_file()Marc-André Lureau
In qemu, minikconf generates a depfile that meson could use to automatically reconfigure on dependency change. Note: someone clever can perhaps find a way to express this with a ninja rule & depfile=. I didn't manage, so I wrote a simple depfile parser.
2019-09-29environment: Support taking values from dictMarc-André Lureau
Related to #5955.
2019-09-26Clarify the list of languages is optional for project() [skip ci]David Cantrell
2019-09-23Add Windows behavior to executable()'s install_rpath arg doc [skip ci]Khairul Azhar Kasmiran
2019-09-17configure_file(): Allow multiple inputs in command modeXavier Claessens
Closes: #5893
2019-08-24Add test priorities to force test start orderPeter Hutterer
2019-08-12Add is_disabler functionJames Hilliard
This is useful if one needs to check if a variable is a disabler. Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
2019-07-30Docs: Add default value of install kwarg [skip-ci]ePirat
2019-07-26docs: Add missing closing ` in reference manualDylan Baker
2019-07-26add missing link [skip ci]Michael Hirsch, Ph.D
2019-07-26note that integers have .to_string() method [skip ci]Michael Hirsch, Ph.D
2019-07-19Add version check support to find_program()Xavier Claessens
Closes: #1609
2019-07-17Accept vs_module_defs for modulesMarc-André Lureau
Like shared libraries, modules may have vs_module_defs. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>