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
Andrea G
bfc18017f1
Add missing code block
2018-02-12 19:48:09 +05:30
Amit D
32ff169880
Update Users.md
2018-02-11 22:09:32 +05:30
Sami Kerola
70a7cf30a1
Re-link remaining github wiki urls to mesonbuild.com site
2018-02-11 13:39:46 +02:00
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...
2018-02-08 23:51:06 +02:00
Martin Dagarin
a9654c8533
Fixed typo
...
Fixed typo in section Other install commands, typo was in extension of data file
2018-02-08 23:50:19 +02:00
Amit D
aaee113ee2
Update Users.md
2018-02-08 23:49:51 +02:00
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
2018-02-08 00:35:38 +02:00
Amit D
2b0973acd9
Add wlroots to Users.md
2018-02-08 00:34:28 +02:00
Jussi Pakkanen
0cc90ae234
Add style guide documentation.
2018-02-08 00:33:44 +02:00
Jussi Pakkanen
54d7817087
User options can "yield to" a user option of the same name in superproject. Closes ##2853.
2018-02-08 00:33:44 +02:00
Jussi Pakkanen
0204895143
Expose integer options to build option files.
2018-02-07 22:10:04 +02:00
Jussi Pakkanen
66b14e20cc
Merge pull request #3010 from sarum9in/elide_directory
...
Add strip_directory keyword for install_subdir() function
2018-02-05 22:34:09 +02:00
Jussi Pakkanen
a288b524bc
Add support for hex int literals.
2018-02-05 22:33:48 +02:00
Aleksey Filippov
f5917d261c
Use text keyword for directory example code blocks
2018-02-05 01:28:07 +00:00
Aleksey Filippov
65afa967d0
Add strip_directory=true example for multi-component path
2018-02-05 01:28:07 +00:00
Aleksey Filippov
79d8f2adbf
Fix misprint in strip_directory example
2018-02-05 01:28:07 +00:00
Aleksey Filippov
13f91840e3
Clarify multi-component source directory behavior of install_subdir()
2018-02-05 01:28:07 +00:00
Aleksey Filippov
549f9a41e5
Rename install_subdir() option elide_directory to strip_directory
2018-02-05 01:28:07 +00:00
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 .
2018-02-05 01:28:07 +00:00
Jussi Pakkanen
4637cf4e95
Fix run target documentation. Closes #1793 .
2018-02-04 19:06:02 +02:00
Jussi Pakkanen
bfa6c8d074
Merge pull request #2938 from acfoltzer/rust-cross-merge
...
Add cross-compilation support for `rustc`
2018-02-04 00:44:09 +02:00
Jussi Pakkanen
f25070ec08
Merge pull request #2228 from mesonbuild/icestorm
...
IceStorm FPGA experiment
2018-02-02 23:54:12 +02:00
Jussi Pakkanen
d59d371d77
Added dpdk to the list of users.
2018-02-02 20:56:09 +02:00
Jussi Pakkanen
80ac62c1a5
Added documentation to IceStorm module.
2018-02-02 20:30:14 +02:00
Jussi Pakkanen
0025cb03d2
Updated the video page.
2018-02-02 17:05:12 +02:00
Martin Kelly
36aca4cd3c
add meson.project_license() builtin
...
This Fixes #2941 .
2018-01-31 23:54:28 +02:00
Jussi Pakkanen
b62d670fb2
Add PipeWire to the list of users. Closes #2986 .
2018-01-31 23:50:22 +02:00
Adam Jackson
64ed9656f0
docs: Fix some HTML that leaked into the markdown
...
Signed-off-by: Adam Jackson <ajax@redhat.com>
2018-01-31 20:59:00 +02:00
Adam C. Foltzer
1d81efb03d
Add cross-compilation support for `rustc`
...
This patch is largely modeled on the relatively-straightforward code
for Fortran cross-compilation, so there might be some intricacies
missing.
2018-01-29 15:47:05 -08:00
Sami Kerola
26b16e74a9
docs: Add 'outlier' to users
...
This is a very small hello world style project, that I hope is useful
example for people who are getting started with meson.
2018-01-30 06:47:50 +11:00
Dylan Baker
bcc3cbb93e
dependencies: Allow setting config-tool binaries in cross file
...
This allows for much easier cross compiler configuration for tools like
LLVM. This patch does honor the 'native' keyword, and falls back to
searching PATH if the binary name is not specified.
I'd be fine with either removing the fallback behavior, or marking it as
deprecated and removing it later.
Fixes #2921
2018-01-30 06:45:58 +11:00
Andrei Alexeyev
5d68681c62
Taisei Project uses Meson
2018-01-30 06:27:05 +11:00
xknight
7049958de9
Fix typo in reference tables
...
The possessive form of "its" does not contain an apostrophe.
2018-01-27 19:52:34 +00:00
Stefan Seering
42554d5666
Typo.
2018-01-22 00:02:24 +02:00
Edward Betts
bdfcecd2c6
Correct spelling mistakes.
2018-01-19 15:53:00 +02:00
Dylan Baker
eec8721227
docs: Add Mesa, Libdrm, and IGT as meson users
2018-01-18 20:33:32 +02:00
Jussi Pakkanen
59d0434039
Removed two deprecations from 2016.
2018-01-17 22:12:43 +02:00
Raphael Salamon
b06b8c6452
docs: Document the `main` keyword of the `gtest` framework dependency
2018-01-17 21:00:45 +02:00
Jussi Pakkanen
6c2d40ac28
Move version info away from header.
2018-01-14 20:45:37 +02:00
Jussi Pakkanen
a5b2b90309
Merge pull request #2815 from taisei-project/fix_windows_compile_resources
...
[windows] make compile_resources use custom targets instead of generators
2018-01-13 19:38:48 +02:00
Jussi Pakkanen
d6bed2a77d
Merge pull request #2764 from mesonbuild/generatorpath
...
Generator outputs can have path segments
2018-01-13 19:00:38 +02:00