Jon Turney
d78f88160a
Skip test cases/frameworks/13 yelp if itstool isn't found
7 years ago
Jon Turney
d5b8f18f17
Skip test cases/frameworks/12 multiple gir if g-ir-scanner not found
7 years ago
Jon Turney
1d36df3d40
Skip test cases/frameworks/11 gir subproject if prereqs not found
...
Skip test cases/frameworks/11 gir subproject if g-ir-scanner or python3-gi
not found
7 years ago
Jon Turney
90cbe48968
Skip test cases/frameworks/10 gtk-doc if gtkdoc not found
7 years ago
Jon Turney
b5edf78204
Skip test cases/frameworks/8 flex if flex or bison not found
7 years ago
Jon Turney
68a5b8d9fc
Skip test cases/frameworks/7 gnome if prereqs not found
...
Skip test cases/frameworks/7 gnome if glib or python3-gi not found
7 years ago
Jon Turney
5ff84e4f50
Skip test cases/frameworks/6 gettext if prereqs not found
...
Skip test cases/frameworks/6 gettext if gettext or libintl not found
7 years ago
Jon Turney
7d974cd962
Skip test cases/frameworks/4 qt if Qt5 not found
7 years ago
Jon Turney
e4b4911410
Skip test cases/frameworks/1 boost if boost not found
7 years ago
Nirbheek Chauhan
8842839bb4
pkgconfig deps: Warn when a static library isn't found
...
A hard error makes this feature useless in most cases since a static
library usually won't be found for every library, particularly system
libraries like -lm. Instead, warn so the user can provide the static
library if they wish.
This feature will be expanded and made more extensible and more usable
in the future.
Closes https://github.com/mesonbuild/meson/issues/2785
7 years ago
Nirbheek Chauhan
0c1c387703
gnome: Fix depend_files listing for compile_resources
...
Also add a unit test that will test all codepaths for old Glib tools
versions.
Closes https://github.com/mesonbuild/meson/issues/2860
7 years ago
Nirbheek Chauhan
b2007217e0
vala: Fix path of C file with generated Vala files
...
We missed one particular edge-case in #2413 : when the generated vala
file is inside --basedir, the path is not just the basename.c
Since this case can never happen in a project test, this includes a unit
test for the same.
Closes https://github.com/mesonbuild/meson/issues/815
7 years ago
Hemmo Nieminen
ff1146bc8c
Fix subproject prefix handling when checking subproject option validity.
7 years ago
Jon Turney
56286fd2b8
Fix test cases/failing/52 inconsistent comparison
...
Since PR #2884 , this is failing with an exception
Keep the behaviour we have had since PR #1810 (0.41.0), that ordering
comparisons of different types fail with an InterpreterException.
Also warn about equality comparisons of different types, which will one day
become an error, as per PR #2884 .
7 years ago
Jon Turney
b78a01bced
Add a test case for python exception exit status
7 years ago
Dylan Baker
d3d0d4affb
tests/15 mixed pch: Add a test using only the headers
...
Which is supposed to work for GCC and Clang.
7 years ago
Dylan Baker
1270af4b9a
tests/15 mixed pch: Use current style
7 years ago
Matthias Klumpp
b57b82eaf9
Add test for subprojects in subdirectories
7 years ago
Tim-Philipp Müller
47508e217f
tests: add test to make sure include_directories() order is maintained
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
Jussi Pakkanen
54d7817087
User options can "yield to" a user option of the same name in superproject. Closes ##2853.
7 years ago
Jussi Pakkanen
0204895143
Expose integer options to build option files.
7 years ago
Jussi Pakkanen
a288b524bc
Add support for hex int literals.
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
Jon Turney
86ee89b400
Fix boost test on cygwin
...
With the headers from cygwin-devel-2.10.0-1, getpagesize() is not prototyped
unless an appropriate feature test macro is defined.
Future work: investigate if this needs to be defined by
BoostDependency.get_compile_args() or in Boost.
7 years ago
Adam C. Foltzer
281294286e
Fix Rust shared polyglot test case for cross-compilation
...
The crate-type in this case should have been `cdylib` since it's
linking via C, rather than the default `dylib` that is meant for
linking via `rustc`.
7 years ago
Jussi Pakkanen
2601cbe8a8
Created an unstable module for IceStorm projects.
7 years ago
Jussi Pakkanen
2dfd790f4f
Created sample project for IceStorm FPGA development.
7 years ago
Jussi Pakkanen
6cd7372e26
Comparing objects of different type prints a warning. Closes #2870 .
7 years ago
Jon Turney
227ad7605b
Same for libwmf
7 years ago
Martin Kelly
36aca4cd3c
add meson.project_license() builtin
...
This Fixes #2941 .
7 years ago
Alexis Jeandet
4e6630690a
Added failing test case
...
When having Qt resources in a meson subdir, meson prepends twice
the subdir name in resource file dependencies.
Here it will set 'subfolder/subfolder/resources/thing.png' as dependencie
for stuff3.qrc.
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
7 years ago
Xavier Claessens
6e2e94c645
pkgconfig: Also ignore not found deps passed directly to pc generator
...
Currently only not found deps implicitly pulled from a Library object
are ignored. We should also ignore not found deps passed directly to
generate() method.
This makes the unit testing more complicated because libfoo pkgconfig
dependency cannot be found when generated from the within the same
meson.build.
7 years ago
Edward Betts
bdfcecd2c6
Correct spelling mistakes.
7 years ago
Jussi Pakkanen
5e4538fe63
Add external dependencies to pc files only if found. Closes #2911 .
7 years ago
Jussi Pakkanen
714ac85d22
Renamed test dir to avoid duplicated numbers.
7 years ago
Jussi Pakkanen
59d0434039
Removed two deprecations from 2016.
7 years ago
Hemmo Nieminen
fc8912384c
Fix a SideCI issue about an unused import in a unit test.
7 years ago
Hemmo Nieminen
7cf9c0a644
Rename a test to avoid duplicate numbering.
7 years ago
Jon Turney
cdf241420c
Same for cups
7 years ago
Jon Turney
638095125d
Same for pcap
7 years ago
Jon Turney
57cb597871
Same for Vulkan
7 years ago
Jon Turney
3748f5465a
Same for SDL2
7 years ago
Jon Turney
bd128bc301
Test case for GL pkgconfig dependency
...
Test that the GL pkgconfig dependency is actually a pkgconfig dependency
7 years ago
Andrei Alexeyev
46f5d7a31c
Fix test cases/windows/13 resources with custom targets
...
Analogous to #2851
7 years ago
Andrei Alexeyev
f8bd1c5ff2
windows.compile_resources: fix compiling multiple resources within one project
7 years ago
Andrei Alexeyev
ef7cb9f280
[windows] make compile_resources use custom targets instead of generators
7 years ago
Nikita Churaev
de8018a17d
Add `export_dynamic` argument to `executable`. ( #2662 )
7 years ago
Dylan Baker
62fc6e7412
tests: fix "140 get define" on NetBSD
...
NetBSD's zlib is older (1.2.3), and doesn't have ZLIB_VER_MAJOR.
7 years ago