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
Jussi Pakkanen
61a05f26e3
Add option to disable implicit include directories. Closes #2139 .
7 years ago
Jussi Pakkanen
e82edc179f
Check for manual attempts to set rpath and update docs.
7 years ago
Nirbheek Chauhan
26834a6198
Link to compiler properties for compiler ids list
...
[skip ci]
7 years ago
Nirbheek Chauhan
93d1b2989e
Updates to the reference manual
...
Typos, add details about how subprojects work, document compiler ids.
7 years ago
Jon Turney
8f859a5105
Make the name of the executable implib configurable
7 years ago
Jon Turney
3fa3922cea
Support implibs for executables on Windows
...
Add a boolean 'implib' kwarg to executable(). If true, it is permitted to
use the returned build target object in link_with:
On platforms where this makes sense (e.g. Windows), an implib is generated
for the executable and used when linking. Otherwise, it has no effect.
(Rather than checking if it is a StaticLibrary or SharedLibary, BuildTarget
subclasses gain the is_linkable_target method to test if they can appear in
link_with:)
Also install any executable implib in a similar way to a shared library
implib, i.e. placing the implib in the appropriate place
Add tests of:
- a shared_module containing a reference to a symbol which is known (at link
time) to be provided by the executable
- trying to link with non-implib executables (should fail)
- installing the implib
(This last one needs a little enhancement of the installed file checking as
this is the first install test we have which needs to work with either
MSVC-style or GCC-style implib filenames)
7 years ago
Alexis Jeandet
e1b24765af
Removed minor typos in documentation.
...
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
7 years ago
Adam C. Foltzer
69b18cf7e9
rename `crate_type` to `rust_crate_type` per @TingPing
8 years ago