Eric Engestrom
8a2d9e0ad4
docs: fix missing backtick
7 years ago
Sami Kerola
70a7cf30a1
Re-link remaining github wiki urls to mesonbuild.com site
7 years ago
Jon Turney
0774f319e8
Don't use --export-dynamic on Cygwin
...
After PR #2662 , running test case common/125 shared module/ on Cygwin gets
me:
$ ninja -C _build
ninja: Entering directory `_build'
[7/7] Linking target prog.exe.
/usr/lib/gcc/x86_64-pc-cygwin/6.4.0/../../../../x86_64-pc-cygwin/bin/ld: warning: --export-dynamic is not supported for PE+ targets, did you mean --export-all-symbols?
Also, fix doc for correct version of first apperance.
Future work: Notwithstanding the hint that ld gives, these options are not
equivalent, and it's not clear we should be using it here:
--export-all-symbols is the default behaviour, and if the exports are
restricted by explicit annotations or a .def file, this option might be
overriding that...
7 years ago
Jon Turney
7bfcf68777
Add get_pkgconfig_variable(default:)
...
Also use that to squelch the warning for internal uses which handle the
variable missing case (just gnome at the moment)
A follow up to PR #2914
7 years ago
Aleksey Filippov
f5917d261c
Use text keyword for directory example code blocks
7 years ago
Aleksey Filippov
65afa967d0
Add strip_directory=true example for multi-component path
7 years ago
Aleksey Filippov
79d8f2adbf
Fix misprint in strip_directory example
7 years ago
Aleksey Filippov
13f91840e3
Clarify multi-component source directory behavior of install_subdir()
7 years ago
Aleksey Filippov
549f9a41e5
Rename install_subdir() option elide_directory to strip_directory
7 years ago
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