Commit Graph

96 Commits

Author SHA1 Message Date
Nirbheek Chauhan 2d08c190d0 docs: get_option returns relative paths for xxxdir options
[skip ci]
2018-01-02 19:01:34 +05:30
Nirbheek Chauhan de3feb9625
docs: find_program native: is available since 0.43 2017-12-28 04:27:38 +05:30
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.
2017-12-12 18:33:04 +00:00
Jussi Pakkanen 04d5d017c5 Fix documentation on disabler behaviour with short circuiting. 2017-12-11 22:21:39 +02:00
Jussi Pakkanen e674434389 Updated version number for new release. 2017-12-10 17:56:27 +02:00
Ernestas Kulik 7ae5716f67 Touch up install_dir() documentation
It no longer removes the target tree before copying files.
2017-12-09 01:52:33 +02:00
Jussi Pakkanen bc83c58d37
Merge pull request #2731 from mesonbuild/disabler
Created disabler object type
2017-12-05 01:10:50 +02:00
Jussi Pakkanen d3dcef7efc Added documentation for disabler objects. 2017-12-05 01:09:15 +02:00
Jon Turney 87e6201214 Document and improve not-found dependency objects
Document dependency('', required:false) usage.
Avoid emitting 'Dependency  found: NO'.
2017-12-05 01:04:57 +02:00
Zbigniew Jędrzejewski-Szmek 01ab4acf7f docs: note when warning() was added
Followup for 1540e615f1.
2017-11-29 21:13:49 +02:00
Jussi Pakkanen 746e70c0da
Merge pull request #2512 from dcbaker/wip/config-tool-variables
Add method to get values from config tool based dependency
2017-11-28 22:01:00 +02:00
Jussi Pakkanen 5bc1009109 Add if_found kwarg to subdir(). 2017-11-27 23:22:47 +02:00
Josh Soref 7d1a1fd5b0 spelling: programming 2017-11-26 05:57:58 +00:00
Dylan Baker a52c22dc06 docs: add documentation for config_tool variable method 2017-11-23 20:06:23 -08:00
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
2017-11-13 22:55:45 +02:00
Jussi Pakkanen 49eb33ff55
Merge pull request #2000 from t-chaik/tchaik/wip/get-unquoted
config data: add .get_unquoted() convenience method to get quoted string unquoted
2017-11-13 22:54:39 +02:00
Jussi Pakkanen cde0f4fca1
Merge pull request #2562 from 1ace/fix/mesontest
Remove references to `mesontest`
2017-10-31 22:17:47 +02:00
Paulo Antonio Alvarez 1540e615f1 interpreter: Add warning function 2017-10-31 22:17:01 +02:00
Eric Engestrom b690c26aa2 docs: remove references to `mesontest`
`mesontest` is deprecated, and shouldn't be suggested to users anymore.
2017-10-31 10:10:57 +00:00
Kevin Anderson 562c50f229 Update references from mesonconf to meson configure
Fixes #2372
2017-10-23 18:43:39 +02:00
Luis Menina 92866d8d5f docs: Remove unnecessary trailing whitespaces 2017-10-23 18:43:04 +02:00
Nirbheek Chauhan 0c3d58baba Update Reference-manual.md 2017-10-03 06:57:46 +00:00
Nirbheek Chauhan f10b15930b Update Reference-manual.md
Fix documentation breakage from https://github.com/mesonbuild/meson/pull/2415
2017-10-03 05:49:24 +00:00
xarkes a28db4577a Fix typo and clarify library documentation 2017-10-03 01:15:30 +03:00
Mohammed Sadiq 35313c2a85 docs: Fix typo
Remove the quote before parens
2017-10-02 12:26:20 +01:00
Niklas Claesson 68275b32e8 Implement capture for generators 2017-09-29 23:29:44 +03:00
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
2017-09-27 22:01:24 +03:00
Nirbheek Chauhan 92318c7660 docs: get_supported_arguments was added in 0.43.0
Closes https://github.com/mesonbuild/meson/issues/2371

[noci]
2017-09-26 10:00:28 +00:00
Jussi Pakkanen bea6b1a6f6 Merge pull request #2187 from centricular/fix-pcap-dependency
Fix pcap dependency, str.strip() now takes an argument, add cc.get_return_value()
2017-09-22 22:04:18 +03:00
Nirbheek Chauhan 751d59d952 Update Reference-manual.md
Add notes about not using full_path() unless absolutely necessary.
2017-09-20 21:05:50 +00:00
Nirbheek Chauhan 6c38b1f281 docs: Document the new str.strip() feature 2017-09-20 13:39:24 +05:30
Nirbheek Chauhan 140c463b01 Add detail to the command: kwarg of custom targets 2017-09-20 06:55:54 +00:00
Jussi Pakkanen 076f3c53bd Merge pull request #2263 from ximion/dlang
d: Add an easy way to use D-specific features
2017-09-18 20:23:56 +03:00
Matthias Klumpp c3c37fac38 docs: Document the D support 2017-09-17 21:36:23 +02:00
Martin Blanchard 777cd24063 get-unquoted: Mention get_unquoted() in reference manual 2017-09-15 22:43:01 +02:00
Jussi Pakkanen 7de61aac12 Clarify that MESONINTROSPECT may have multiple parts. 2017-09-12 21:20:29 +03:00
Jussi Pakkanen 72a6683c6f Permit overriding find_program from the cross file. 2017-09-04 22:47:12 +03:00
Daniel Stone 552c15b978 Alphabetize compiler.compiles() 2017-08-31 20:24:21 +01:00
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)
2017-08-31 20:24:20 +01:00
Jussi Pakkanen 01effa7178 Rewrap the rest of reference manual. 2017-08-21 00:02:47 +03:00
Jussi Pakkanen bb67d64c8d The last of the alphabetization. 2017-08-20 23:58:54 +03:00
Jussi Pakkanen 04d87c7b5d And a few more alphas. 2017-08-20 23:39:40 +03:00
Jussi Pakkanen b7b66fe516 More alphabetization. 2017-08-20 23:32:06 +03:00
Jussi Pakkanen 2d575757d6 Put some keyword arguments into alphabetical order to improve readability. 2017-08-20 23:16:27 +03:00
TingPing 8a636052bd docs: Clarify project() no longer requires a language 2017-08-19 14:31:47 -04:00
Jussi Pakkanen 62aabb5a8b Missing version info added. 2017-08-17 15:28:59 +03:00
Jussi Pakkanen e76ed84677 Documented the merge_from method. 2017-08-17 15:25:05 +03:00
Florian Zwoch 3fda1ba3ed docs: fix generator code sample 2017-08-17 00:21:42 +03:00
Nirbheek Chauhan b663937f8c Clarify what an "external dependency" is
And add a link to the Dependencies.md page.
2017-08-09 10:32:25 +00:00
Jussi Pakkanen 06f195e9ec Merged exclude_dir branch. 2017-08-06 13:09:46 +03:00