Jon Turney
ffe6ed2a47
doc: Tweak text about get_option('foodir') in reference manual [skip ci]
...
* The example for executable()'s install_dir: should use join_paths()
* Clarify how to use directory options which are potentially not prefix
relative
This is mentioned in https://github.com/mesonbuild/meson/issues/1637 and see
also https://patchwork.freedesktop.org/patch/200373/ for an example of this
usage, and the possible confusion that can arise.
2018-03-07 19:57:20 +02:00
Jussi Pakkanen
e98ae58d0e
Merge pull request #3086 from sarum9in/declare-link-whole
...
Add declare_dependency() link_whole parameter
2018-03-06 21:08:54 +02:00
Evgenii Shatokhin
19718a8d9c
Allow passing a compiler object to run_command()
...
Sometimes it is needed to run the current compiler with specific options
not to compile a file but rather to obtain additional info. For example,
GCC has several -print-* options to query it about the paths to
different libraries and development files. One use case is to get the
location of development files for GCC plugins, which is not easily
obtainable by other means:
gcc -print-file-name=plugin
For this purpose, it would be convenient if the compiler object returned
by meson.get_compiler(lang) could be used in run_command() directly.
This commit implements it.
Signed-off-by: Evgenii Shatokhin <eshatokhin@virtuozzo.com>
2018-03-06 21:07:16 +02:00
Jukka Laurila
048508c989
Make "meson help" and "meson help <subcommand>" do the expected thing.
2018-03-06 14:02:55 +02:00
Nirbheek Chauhan
9e18e4c703
Improve vcs_tag documentation [skip ci]
...
Document that dependencies must be explicitly signalled, just like with a custom target.
2018-03-06 15:33:00 +05:30
Aleksey Filippov
4de02cb5b0
Document declare_dependency() link_whole parameter
2018-03-06 01:44:26 +00:00
Jukka Laurila
8f340ffb8d
Generate meson.build based on existing source files when meson init is run in a non-empty directory.
2018-03-06 00:05:17 +02:00
Jussi Pakkanen
9819bc9c56
Add Python minimum version requirement in release notes. [skip ci]
2018-03-05 20:34:07 +02:00
TÖRÖK Attila
3e92a86db4
doc: Fix a syntax error in an example in 'Generating sources'. [skip ci]
2018-03-05 05:51:41 -08:00
Jussi Pakkanen
2521e43baf
Add missing code block end marker.
2018-03-04 21:11:53 +02:00
Jussi Pakkanen
daaae647d7
Updated information for new release.
2018-03-04 20:27:34 +02:00
Jussi Pakkanen
f53e8b8812
Explain change of default better. [skip ci]
2018-03-04 18:25:36 +02:00
Tim Ansell
69ff980fbc
Fixing broken language arguments [skip ci]
...
Missing ending pipe was causing it to fail to render.
2018-03-04 14:45:44 +02:00
Aleksey Filippov
e41f00f834
Document wxwidgets dependency, closes #3159 [skip ci]
2018-03-04 00:11:19 +00:00
Jussi Pakkanen
38145e0251
The "outputs" kwarg should be "output" and rewrapping. Closes #3166 . [skip ci]
2018-03-04 00:57:42 +02:00
Aleksey Filippov
5f0aeafa38
Add jpakkane's answer to "Why must all subprojects be inside a single directory?" [skip ci]
2018-03-01 21:52:08 +02:00
Aleksey Filippov
15537f5e8e
Add links to Subprojects.md page from subproject() and subproject object documentation [skip ci]
2018-03-01 21:52:08 +02:00
Aleksey Filippov
5e6c47a4b2
Add reference to implicit_include_directories from include_directories() [skip ci]
...
Closes #3153
2018-03-01 15:30:15 +00:00
Hemmo Nieminen
4f8db1fe47
Add a release note snippet for the improved test setup selection.
2018-02-25 21:46:28 +02:00
Tim Ansell
36fc655272
Adding a "Projects using Meson" to Community section ( #3138 )
2018-02-25 20:22:42 +02:00
Jussi Pakkanen
8a68dc0179
Merge pull request #3132 from mesonbuild/csc
...
Visual Studio C# compiler support and some fixes
2018-02-25 14:03:02 +02:00
Hylke Bons
f1ce7af2d5
[skip ci] docs: Add reference table for language args parameter names ( #3126 )
2018-02-25 14:02:34 +02:00
Jussi Pakkanen
0b6f90caf7
Added release note snippet for csc support.
2018-02-25 01:16:06 +02:00
Adam C. Foltzer
3332f33649
Fix Rust compiler-private library ambiguity
...
When building a Rust target with Rust library dependencies, an
`--extern` argument is now specified to avoid ambiguity between the
dependency library, and any crates of the same name in `rustc`'s
private sysroot.
Includes an illustrative test case.
2018-02-22 22:16:58 +02:00
Peter Hutterer
6b550ae91f
Allow for missing install_dir in install_data()
...
The documentation doesn't require it and the interpreter code works around the
possibility of it being None. The ninja backend code however fails with
File "/home/whot/code/meson/mesonbuild/backend/ninjabackend.py", line 796, in generate_data_install
dstabs = os.path.join(subdir or None, plain_f)
File "/usr/lib64/python3.6/posixpath.py", line 78, in join
a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not NoneType
If install_dir is missing, default to datadir/projectname
2018-02-22 20:26:16 +02:00
TÖRÖK Attila
8c376a7fe4
docs: Add a paragraph to the Manual about @EXTRA_ARGS@. [skip ci]
2018-02-22 04:40:06 +05:30
Iñigo Martínez
5dc32b4af1
Users.md: Add GVfs
...
Add GVfs to the meson users list
2018-02-21 19:06:55 +02:00
Felipe Borges
926d6ca7e8
Users.md: Add GNOME Boxes and GNOME Usage
...
[skip ci]
2018-02-21 19:06:21 +02:00
Aleksey Filippov
79865474c7
Add references to CI and recommendation to disable them for doc only changes [skip ci]
2018-02-20 21:21:18 +05:30
Nirbheek Chauhan
a374eb08e9
Users.md: lightdm-webkit2-greeter no longer uses meson [skip ci]
2018-02-20 21:07:38 +05:30
Nirbheek Chauhan
86e8d587cb
docs: Add subproject warning for source_root and build_root [skip ci]
2018-02-20 16:45:27 +05:30
Nirbheek Chauhan
bc3a26d759
Users.md: Add libzim, which only uses meson
...
[skip ci]
2018-02-20 14:21:01 +05:30
Nirbheek Chauhan
93e983a49a
Users.md: Update some old/broken URLs
...
[skip ci]
2018-02-20 00:22:53 +05:30
Eric Engestrom
8a2d9e0ad4
docs: fix missing backtick
2018-02-19 23:46:34 +05:30
Nirbheek Chauhan
e6c9923b47
Users.md: link to github page for easy editing
...
Also mention that software on the list will be tested for regressions.
2018-02-19 23:15:39 +05:30
Jussi Pakkanen
55a7c265c1
Merge pull request #2863 from jon-turney/exit-status-on-exception
...
Verify that failing tests are failing with an error, not a python exception
2018-02-18 13:54:50 +02:00
Aleksey Filippov
8baaa7b866
Add python3 dependency documentation and link it from python3 module
...
Closes #3009
2018-02-18 13:50:33 +02:00
David Fort
8c12c2acc3
doc: fix typo in icestorm documentation
2018-02-17 13:32:46 +02:00
Jussi Pakkanen
6d7a8a0ea4
Merge pull request #2999 from peteruithoven/patch-1
...
Localisation documentation alternative
2018-02-16 00:11:39 +02:00
Martin Ejdestig
b06a4901cb
Document how to set options in subprojects
2018-02-16 00:08:28 +02:00
Jussi Pakkanen
2c18e4eb25
Updated docs to do "meson wrap" instead of "wraptool".
2018-02-15 23:41:57 +02:00
Jon Turney
2a64ed855e
Verify that failing tests are failing with an error, not a python exception
...
PR #2527 suggests "making failing tests more strict about failing
gracefully".
To achive this, make meson exit with distinct exit statuses for meson errors
and python exceptions, and check the exit status is as expected for failing
tests.
I can't see how to write a test for this, within the current framework.
You can test this change by reverting the fix (but not the test) from commit
1a159db8
and verifying that 'test cases/failing/66 string as link target'
fails.
2018-02-15 12:51:24 +00:00
Amit D
abd6db24f9
Update Users.md ( #3063 )
2018-02-14 20:14:15 +02:00
Daniel Foré
a99ae81043
Add an example for gresource
2018-02-13 21:26:43 +02:00
Amit D
74306a9301
Update Users.md
2018-02-13 21:18:59 +02:00
Jussi Pakkanen
c4892fb386
Space fix.
2018-02-12 22:32:39 +02:00
Jussi Pakkanen
262eeb7e9e
Clarify that int options are available since 0.45.0.
2018-02-12 21:36:03 +02:00
Amit D
e0ec5491a0
Update Users.md ( #3050 )
2018-02-12 21:42:43 +05:30
Andrea G
030c39f33e
Use the same name for the conf_data variable
...
Before, each example used a different variable name making them more difficult to understand for a novice.
2018-02-12 19:48:57 +05:30
Andrea G
d589cc26c7
Add missing closed parenthesis
2018-02-12 19:48:30 +05:30