Xavier Claessens
3ba0073df6
Make 'default_library' per-subproject builtin option
...
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
5 years ago
Marc Herbert
9e365e4d0a
docs: explain the purpose of order-only deps for generated files [skip ci]
...
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.
5 years ago
Michael Hirsch, Ph.D
a4e4d2e75a
doc
5 years ago
Michael Hirsch, Ph.D
554d35c3f3
add get_external_property to replace get_cross_property
5 years ago
Michael Hirsch, Ph.D
6c963726cf
add native-file properties tests
5 years ago
Xavier Claessens
15eb0014ac
interpreter: Iterate custom target outputs
5 years ago
Xavier Claessens
b74ece344f
Support multiple args to message() and warning()
5 years ago
Jussi Pakkanen
254cb3209d
Set source and build dir envvars when running dist.
5 years ago
Dylan Baker
202c89d0b6
docs: Add documentation for variables keyword
...
In declare_dependency() and dependency.get_variables().
5 years ago
Xavier Claessens
e5297aeca5
summary: Change 'section' to be a kwarg instead of positional
...
Fixes : #6372 .
5 years ago
Michael Hirsch, Ph.D
5695dc0f16
add compiler.get_linker_id() method
...
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>
5 years ago
Xavier Claessens
38953d8ee3
summary: Add bool_yn keyword argument
5 years ago
Xavier Claessens
49082f9669
summary: Allow section with no title, and passing key/value separately
5 years ago
Xavier Claessens
6e865a2330
Add a summary() function for configuration summarization
...
Based on patch from Dylan Baker.
Fixes #757
5 years ago
Xavier Claessens
552e78da4d
assert(): Make message argument optional
5 years ago
Michael Hirsch, Ph.D
ee241f2aab
mtest: document default MALLOC_PERTURB_=1..255 behavior [skip ci]
...
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.
5 years ago
Xavier Claessens
b872099468
find_program(): Add 'dirs' keyword argument
...
Fixes : #1576
5 years ago
chris
6cc0ef8c07
docs: fix typo
5 years ago
Robert Ancell
dd15c47ea8
docs: Fix typo [skip ci]
5 years ago
Wolfgang Stöggl
f037e7ef45
Fix typos found by codespell
...
- Typos were found by codespell v1.16.0
5 years ago
rc-matthew-l-weber
6e18e5b0b3
docs: clarify --default-library is for internal libraries [skip ci]
...
Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
5 years ago
Anton Leontiev
603b1ac287
docs: Fix some incorrect links [skip ci]
5 years ago
Anton Leontiev
ddd7cf634b
docs: Add missing language identifier [skip ci]
5 years ago
Daniel Mensinger
73d52266b5
Use include_type instead of is_system
5 years ago
Daniel Mensinger
942f145de9
added docs
5 years ago
Dylan Baker
678ee8a9c1
docs: update docs on benchmark in regards to arguments accepted
5 years ago
Marc-André Lureau
01569fee2e
Add depfile to configure_file()
...
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.
5 years ago
Marc-André Lureau
a65d5801f3
environment: Support taking values from dict
...
Related to #5955 .
5 years ago
David Cantrell
fbbdde4561
Clarify the list of languages is optional for project() [skip ci]
5 years ago
Khairul Azhar Kasmiran
6b0c711c91
Add Windows behavior to executable()'s install_rpath arg doc [skip ci]
5 years ago
Xavier Claessens
ef3992f1cc
configure_file(): Allow multiple inputs in command mode
...
Closes : #5893
5 years ago
Peter Hutterer
4ebce2c3f2
Add test priorities to force test start order
5 years ago
James Hilliard
b21fd95f73
Add is_disabler function
...
This is useful if one needs to check if a variable is a disabler.
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
5 years ago
ePirat
84030abd31
Docs: Add default value of install kwarg [skip-ci]
5 years ago
Dylan Baker
487fdfcd11
docs: Add missing closing ` in reference manual
5 years ago
Michael Hirsch, Ph.D
49dd56b312
add missing link [skip ci]
5 years ago
Michael Hirsch, Ph.D
b90b69d383
note that integers have .to_string() method [skip ci]
5 years ago
Xavier Claessens
2e41d53e4d
Add version check support to find_program()
...
Closes : #1609
5 years ago
Marc-André Lureau
341d245e68
Accept vs_module_defs for modules
...
Like shared libraries, modules may have vs_module_defs.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
5 years ago
Xavier Claessens
12d4031f52
Add alias_target() function
6 years ago
Xavier Claessens
dd8f75ad93
Document that add_languages() returns a boolean [skip ci] ( #5600 )
6 years ago
andy5995
ceb70a5c2e
Reference-manual.md:add missing equal sign in "both_libraries" section
...
[skip ci]
6 years ago
Dylan Baker
0e23dbec81
docs: compiler objects are returned [skip ci]
...
Not a series problem, but annoys me that that it's in the builtin
section when it's a returned object.
6 years ago
Jussi Pakkanen
6b4b601eaf
Rewrap some doc lines. [skip ci]
6 years ago
Daniel Mensinger
438ee6b01d
cmake: updated docs
6 years ago
Daniel Mensinger
35936316eb
cmake: rebase fixes
6 years ago
Daniel Mensinger
6cb904de7b
cmake: Added docs
6 years ago
Mathieu Duponchelle
12a82e763d
interpreter: add fallback argument to subproject.get_variable()
6 years ago
Michael Hirsch, Ph.D
44b6ccbe56
join_paths => / [skip ci]
6 years ago
Jussi Pakkanen
79d530e325
Generators can have extra target dependencies. Closes #4131 .
6 years ago