Jussi Pakkanen
254cb3209d
Set source and build dir envvars when running dist.
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
5 years ago
Xavier Claessens
dd8f75ad93
Document that add_languages() returns a boolean [skip ci] ( #5600 )
5 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
Dylan Baker
ffe2a678d5
docs: Add docs for Dependency.get_variable
6 years ago
Daniel Eklöf
c2ee82cc41
add support for "target_type: 'shared_module'" in build_target()
6 years ago
Michael Hirsch, Ph.D
06bfc2dab6
per-target manual specification of link_language
6 years ago
Anton Kochkov
ad0ba6a911
Add VS2019 backend CI and docs.
6 years ago
Keefer Rourke
53a7403f10
( #5260 ) link to builtin options in `library()` fn
...
As a newcomer to the Meson build system, I found the documentation of the `library()` function to be a bit misleading. Eventually I found what 'user option' referred to after digging through the docs.
This just adds a link back to the page that describes the options that are referred to in this paragraph.
6 years ago
Dylan Baker
02ff9829c4
docs: Change 0.51 to 0.50.1 [skip ci]
...
Since this is targeting the 0.50.1 bugfix release.
6 years ago
Jonatan Pålsson
2a030e33f3
docs: Document when environment() was added ( #5178 ) [skip ci]
...
The environment() function was added in 0.35.0 (which contains a2e7ebc5
,
containing the actual addition)
6 years ago
Dylan Baker
f2d4a32370
dependencies/base: Pass correct arguments to subdependencies
...
Currently InternalDependency.get_partial_dependency shadows the the
input variables names, and then passes those new copies to the final
object returned. It also passes them to the arguments of of
get_partial_dependency for each subdependency, which is wrong. The
code is supposed to proxy the original argumetn values to that instead
of the shadowing values.
To avoid that this patch renames the new values.
6 years ago