Aleksey Filippov
8ca3cc0c3d
Add elide_directory keyword for install_subdir() function
...
If elide_directory=true install_subdir() installs directory contents
instead of directory itself, eliding name of the source directory.
Closes #2869 .
7 years ago
Jussi Pakkanen
4637cf4e95
Fix run target documentation. Closes #1793 .
7 years ago
Martin Kelly
36aca4cd3c
add meson.project_license() builtin
...
This Fixes #2941 .
7 years ago
Nikita Churaev
de8018a17d
Add `export_dynamic` argument to `executable`. ( #2662 )
7 years ago
Nirbheek Chauhan
2d08c190d0
docs: get_option returns relative paths for xxxdir options
...
[skip ci]
7 years ago
Nirbheek Chauhan
de3feb9625
docs: find_program native: is available since 0.43
7 years ago
Jussi Pakkanen
34c03719a3
Added documentation.
7 years ago
Iñigo Martínez
514d21e6a4
docs: Add documentation to dependency variables
...
Meson is able to redefine variables when retrieving them from
`pkg-config` dependencies. However, the documentation is missing.
This patch adds documentation for this feature.
7 years ago
Jussi Pakkanen
04d5d017c5
Fix documentation on disabler behaviour with short circuiting.
7 years ago
Jussi Pakkanen
e674434389
Updated version number for new release.
7 years ago
Ernestas Kulik
7ae5716f67
Touch up install_dir() documentation
...
It no longer removes the target tree before copying files.
7 years ago
Jussi Pakkanen
d3dcef7efc
Added documentation for disabler objects.
7 years ago
Jon Turney
87e6201214
Document and improve not-found dependency objects
...
Document dependency('', required:false) usage.
Avoid emitting 'Dependency found: NO'.
7 years ago
Zbigniew Jędrzejewski-Szmek
01ab4acf7f
docs: note when warning() was added
...
Followup for 1540e615f1
.
7 years ago
Jussi Pakkanen
5bc1009109
Add if_found kwarg to subdir().
7 years ago
Josh Soref
7d1a1fd5b0
spelling: programming
7 years ago
Dylan Baker
a52c22dc06
docs: add documentation for config_tool variable method
7 years ago
Joergen Ibsen
6d85e10df9
docs: fix description of default_options
...
For dependency() and subproject(), the default_options argument can
override the defaults in the subproject's meson_options.txt, not in
its project() invocation.
Resolves #2612
7 years ago
Paulo Antonio Alvarez
1540e615f1
interpreter: Add warning function
7 years ago
Eric Engestrom
b690c26aa2
docs: remove references to `mesontest`
...
`mesontest` is deprecated, and shouldn't be suggested to users anymore.
7 years ago
Kevin Anderson
562c50f229
Update references from mesonconf to meson configure
...
Fixes #2372
7 years ago
Luis Menina
92866d8d5f
docs: Remove unnecessary trailing whitespaces
7 years ago
Nirbheek Chauhan
0c3d58baba
Update Reference-manual.md
7 years ago
Nirbheek Chauhan
f10b15930b
Update Reference-manual.md
...
Fix documentation breakage from https://github.com/mesonbuild/meson/pull/2415
7 years ago
xarkes
a28db4577a
Fix typo and clarify library documentation
7 years ago
Mohammed Sadiq
35313c2a85
docs: Fix typo
...
Remove the quote before parens
7 years ago
Niklas Claesson
68275b32e8
Implement capture for generators
7 years ago
Dylan Baker
dda5e8cadb
Allow CustomTarget's to be indexed
...
This allows a CustomTarget to be indexed, and the resulting indexed
value (a CustomTargetIndex type), to be used as a source in other
targets. This will confer a dependency on the original target, but only
inserts the source file returning by index the original target's
outputs. This can allow a CustomTarget that creates both a header and a
code file to have it's outputs split, for example.
Fixes #1470
7 years ago
Nirbheek Chauhan
92318c7660
docs: get_supported_arguments was added in 0.43.0
...
Closes https://github.com/mesonbuild/meson/issues/2371
[noci]
7 years ago
Nirbheek Chauhan
751d59d952
Update Reference-manual.md
...
Add notes about not using full_path() unless absolutely necessary.
7 years ago
Nirbheek Chauhan
6c38b1f281
docs: Document the new str.strip() feature
7 years ago
Nirbheek Chauhan
140c463b01
Add detail to the command: kwarg of custom targets
7 years ago
Matthias Klumpp
c3c37fac38
docs: Document the D support
7 years ago
Martin Blanchard
777cd24063
get-unquoted: Mention get_unquoted() in reference manual
7 years ago
Jussi Pakkanen
7de61aac12
Clarify that MESONINTROSPECT may have multiple parts.
7 years ago
Jussi Pakkanen
72a6683c6f
Permit overriding find_program from the cross file.
7 years ago
Daniel Stone
552c15b978
Alphabetize compiler.compiles()
7 years ago
Daniel Stone
e1ffae0580
Add Compiler.get_supported_arguments()
...
Add a helper for the common pattern of:
args_to_use = []
foreach arg : candidate_args
if cc.has_argument(arg)
args_to_use += arg
endif
endforeach
Replaced with:
args_to_use = cc.get_supported_arguments(candidate_args)
7 years ago
Jussi Pakkanen
01effa7178
Rewrap the rest of reference manual.
7 years ago
Jussi Pakkanen
bb67d64c8d
The last of the alphabetization.
7 years ago
Jussi Pakkanen
04d87c7b5d
And a few more alphas.
7 years ago
Jussi Pakkanen
b7b66fe516
More alphabetization.
7 years ago
Jussi Pakkanen
2d575757d6
Put some keyword arguments into alphabetical order to improve readability.
7 years ago
TingPing
8a636052bd
docs: Clarify project() no longer requires a language
7 years ago
Jussi Pakkanen
62aabb5a8b
Missing version info added.
7 years ago
Jussi Pakkanen
e76ed84677
Documented the merge_from method.
7 years ago
Florian Zwoch
3fda1ba3ed
docs: fix generator code sample
7 years ago
Nirbheek Chauhan
b663937f8c
Clarify what an "external dependency" is
...
And add a link to the Dependencies.md page.
7 years ago
Elliott Sales de Andrade
5cb1d00537
Allow excluding files from `install_subdir`
...
The install_subdir command now accepts a new `exclude` keyword argument
that allows specified files to be excluded from the installed
subdirectory.
7 years ago
Elliott Sales de Andrade
d9f01ffcea
Disallow language keyword for unsupported deps.
...
Also, document it in the manual.
7 years ago