Raphael Salamon
b06b8c6452
docs: Document the `main` keyword of the `gtest` framework dependency
7 years ago
Raphael Salamon
4cae553cb1
Add `main` argument to `dependency` ( #2828 )
...
`GTest` uses this keyword for conditional linking of it's main().
Fixes issue #2828
7 years ago
Jon Turney
22a1596a97
Warn about using non-existent pkgconfig variables
...
I'm not sure this is a good idea, but at the moment it seems a bit too easy
to write something like dep.get_pkgconfig_variable('inculdedir:') (sic) and
not notice it's not doing anything useful.
7 years ago
Jan Niklas Hasse
b37706737c
Log instead of raise if Boost library not found ( #2924 )
7 years ago
Jon Turney
7eb6a29180
A few small improvements to meson.el
...
Add some missing statements to list of keywords
Derive from prog-mode, so any prog-mode hooks are run
Automatically use this mode for meson.build files
[ci skip]
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
Jussi Pakkanen
6c2d40ac28
Move version info away from header.
7 years ago
Ilia Mirkin
d8967054d1
Avoid worrying about encodings when capturing child program output
...
The output may be a binary data stream, not subject to any locale
encoding. This avoids any encoding errors that might arise as a result.
Also fixes github issue #2868 .
7 years ago
Jussi Pakkanen
a5b2b90309
Merge pull request #2815 from taisei-project/fix_windows_compile_resources
...
[windows] make compile_resources use custom targets instead of generators
7 years ago
Jussi Pakkanen
933eaf6022
Merge pull request #2800 from lantw44/master
...
Fix -L order, LDFLAGS, LD_LIBRARY_PATH issues in GNOME module
7 years ago
Jussi Pakkanen
d6bed2a77d
Merge pull request #2764 from mesonbuild/generatorpath
...
Generator outputs can have path segments
7 years ago
Andrei Alexeyev
fd4236085b
Add a release note snippet for the windows.compile_resources() change
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
Christophe Gouiran
81100f0695
Change handling of not found external programs
7 years ago
Jussi Pakkanen
dfd368d405
Merge pull request #2803 from dcbaker/wip/freebsd-fixes
...
various BSD fixes
7 years ago
Nikita Churaev
de8018a17d
Add `export_dynamic` argument to `executable`. ( #2662 )
7 years ago
Nikita Churaev
398aed6e49
Don't fail if we find an optional dependency but not the required information ( #2652 )
7 years ago
Jussi Pakkanen
70902cefc3
Only run Boost tests on osx if it is actually installed.
7 years ago
Jussi Pakkanen
4f948ccf45
Merge pull request #2885 from BeChris/fix_vs_pch
...
Fix MSVC backend crashes when `c_pch` or `cpp_pch` is not an array
7 years ago
Jussi Pakkanen
ca2db0f482
Merge pull request #2890 from ximion/subproject_path_fix
...
Allow subproject dirs in subdirectories in the source tree again
7 years ago
Jussi Pakkanen
76be016644
Print deprecation warning also for wraptool.
7 years ago
Matthias Klumpp
894ff1e629
Ensure subproject_dir is a string and doesn't contain ".." segments
...
This is important so people can not trick Meson to select a
subproject_dir that is not in the project's source directory.
It also ensures a string is used for the path.
7 years ago
Christophe Gouiran
412315f8ae
Modify exception raised when msvc pch is badly specified
7 years ago
Matthias Klumpp
5133d8650f
d: Detect recent DMD compilers
...
They now are published by the D Language Foundation, and not Digital
Mars. Therefore, their signature has changed slightly.
(We can not check for 'DMD', because that string appears in every
compiler version output to denote the frontend version used by the
compiler).
7 years ago
Jussi Pakkanen
392b3d8bc7
Merge pull request #2840 from alyst/fix_detect_location
...
Fix meson location detection from other meson tools
7 years ago
Jussi Pakkanen
8ac6ab3756
Merge pull request #2880 from jon-turney/gir-cygwin
...
Fix and run gobject-introspection tests on cygwin
7 years ago
Matthias Klumpp
0da6d891ac
Allow subproject dirs in subdirectories in the source tree again
...
The previous change disallowed any subdirectories for subproject dirs,
and therefore broke a couple of projects making use of that.
This change still prevents people from setting subproject dirs that are
not in the project's source tree, while allowing to specify any path
within the project's directory again.
Resolves : #2719
7 years ago
Jussi Pakkanen
17c435869c
Print problem text in error message. Closes #2882 .
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
Dylan Baker
997b66d3ed
tests: fix "135 generated assembly" test on NetBSD
...
Which has GCC and uses GAS.
7 years ago
Dylan Baker
a9210c57e1
LLVM: work around FreeBSD specific static linking problems
...
Because FreeBSD's llvm-config adds -l/usr/lib/libexecinfo.so when asked
for system-libs, which is bogus. We'll remove the leading -l from any
argument that also ends with .so.
7 years ago
Dylan Baker
660dee1e10
LLVM: use DragonFly BSD workaround on FreeBSD as well
7 years ago
Dylan Baker
4cea88c2bb
tests: use GAS style assembly for FreeBSD as well
7 years ago
Dylan Baker
448ba5b6f3
LLVM: work around bug in dragonfly bsd llvm-config for shared libs
...
Of course there are OS specific bugs for llvm-config as well, so work
around those too.
7 years ago
Dylan Baker
3a0f8ab0cf
dependencies/dev: remove unused imports
...
flake8 complains about them, and I prefer to have a clean error log in
vim.
7 years ago
Dylan Baker
19a274c051
tests: don't try to build llvm test if dep is unfound
...
dragonfly BSD doesn't ship dynamic modules for LLVM so static linking is
required.
7 years ago
Dylan Baker
ddb244f2ba
tests: skip mpi test if mpi not installed
7 years ago
Dylan Baker
c61da9f4a9
tests: skip vulkan test if vulkan not found
7 years ago
Dylan Baker
f5458edff6
tests: skip gmock test if gtest or gmock not installed
7 years ago
Dylan Baker
cece4472f6
tests: skip gtest test if gtest not installed
7 years ago
Dylan Baker
0ec7dd5ac5
tests: Split objc and objc++ tests
...
This allows platforms that can compile one or the other (but not both)
to run the tests that they can.
7 years ago
Dylan Baker
87742fd9f0
run_project_tests: correctly search for objcpp compiler
...
Instead of looking for an objc compiler. Fixes objc++ tests on
DragonFlyBSD (which has an objc but not an objc++ compiler)
Really though, the objc and objc++ tests need to be untangled so that
the objc tests can run even if an objc++ compiler is unavilable.
7 years ago
Dylan Baker
97d2a9d84c
tests: skip objc nsstring test if gnustep is not installed
7 years ago
Dylan Baker
ae4bd83493
tests: Fix 135 generated assembly on DragonFly BSD
...
Which uses a modern version of GCC and Clang, which supports gas.
Tested with x86_64, but I assume that x86 and arm have the same problem.
7 years ago
Dylan Baker
4620bdd8b4
tests: fix rpath_uses_ORIGIN on dragonflybsd
...
Which always seems to prepend /usr/lib/gcc50 (or whatever version) to
the rpath, and $ORIGIN after that.
7 years ago
Dylan Baker
10a560a411
compilers: fix unittest "16 prebuilt shared" on dragonfly bsd
7 years ago
Dylan Baker
3b8e65911c
docs: Add netbsd to the reference table
7 years ago