aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-01-17Removed two deprecations from 2016.Jussi Pakkanen5-17/+19
2018-01-17docs: Document the `main` keyword of the `gtest` framework dependencyRaphael Salamon1-0/+7
2018-01-17Add `main` argument to `dependency` (#2828)Raphael Salamon1-1/+1
`GTest` uses this keyword for conditional linking of it's main(). Fixes issue #2828
2018-01-17Warn about using non-existent pkgconfig variablesJon Turney1-0/+9
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.
2018-01-17Log instead of raise if Boost library not found (#2924)Jan Niklas Hasse1-7/+6
2018-01-16A few small improvements to meson.elJon Turney1-6/+5
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]
2018-01-16Fix a SideCI issue about an unused import in a unit test.Hemmo Nieminen1-1/+0
2018-01-16Rename a test to avoid duplicate numbering.Hemmo Nieminen5-0/+0
2018-01-15Same for cupsJon Turney2-26/+27
2018-01-15Same for pcapJon Turney2-20/+27
2018-01-15Same for VulkanJon Turney2-14/+17
2018-01-15Same for SDL2Jon Turney2-25/+27
2018-01-15Create GL dependency objects via a factory functionJon Turney2-27/+36
Create GL dependency objects via a factory function, so they can be the correct type of object (e.g. a PkgConfigDependency when it's found by pkg-config) Factor out method: kwarg processing, so it can be used by the factory before the dependency object is constructed
2018-01-15Fix unpickling of dynamic subclasses of ConfigToolDependencyJon Turney1-3/+6
This code isn't used as present: the actual objects we use and which get pickled are either static subclasses of ConfigToolDependency, or special purpos subclasses of Dependency which get attributes copied from an instance of a dynamic subclass of ConfigToolDependency which is then discarded. This is fortunate, as it doesn't work: the pickled reduction is a call to the dynamic subclass's constructor, but the superclass constructors rely on the environment object being fully initialized, which hasn't happened yet during unpickling. Avoid this by having a pickled reduction which is just a call to create the dynamic subclass object, and relying on the default __setstate__ behavior to unpickle the object's __dict__.
2018-01-15Make Dependency.get_methods() a static methodJon Turney3-11/+22
Since this is only consulted while constructing the Dependency object, it's result doesn't depend on the instance (and it would make no sense if it did)
2018-01-15Test case for GL pkgconfig dependencyJon Turney1-0/+6
Test that the GL pkgconfig dependency is actually a pkgconfig dependency
2018-01-15Fix typosJon Turney2-2/+2
2018-01-14Move version info away from header.Jussi Pakkanen1-1/+3
2018-01-14Avoid worrying about encodings when capturing child program outputIlia Mirkin1-5/+9
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.
2018-01-13Merge pull request #2815 from taisei-project/fix_windows_compile_resourcesJussi Pakkanen9-5/+153
[windows] make compile_resources use custom targets instead of generators
2018-01-13Merge pull request #2800 from lantw44/masterJussi Pakkanen2-4/+24
Fix -L order, LDFLAGS, LD_LIBRARY_PATH issues in GNOME module
2018-01-13Merge pull request #2764 from mesonbuild/generatorpathJussi Pakkanen20-20/+231
Generator outputs can have path segments
2018-01-12Add a release note snippet for the windows.compile_resources() changeAndrei Alexeyev1-0/+3
2018-01-12Fix test cases/windows/13 resources with custom targetsAndrei Alexeyev1-1/+1
Analogous to #2851
2018-01-12windows.compile_resources: fix compiling multiple resources within one projectAndrei Alexeyev7-25/+57
2018-01-12[windows] make compile_resources use custom targets instead of generatorsAndrei Alexeyev9-5/+118
2018-01-11Change handling of not found external programsChristophe Gouiran3-2/+13
2018-01-09Merge pull request #2803 from dcbaker/wip/freebsd-fixesJussi Pakkanen22-36/+144
various BSD fixes
2018-01-09Add `export_dynamic` argument to `executable`. (#2662)Nikita Churaev7-20/+46
2018-01-09Don't fail if we find an optional dependency but not the required ↵Nikita Churaev1-5/+16
information (#2652)
2018-01-09Only run Boost tests on osx if it is actually installed.Jussi Pakkanen1-1/+5
2018-01-08Merge pull request #2885 from BeChris/fix_vs_pchJussi Pakkanen2-15/+23
Fix MSVC backend crashes when `c_pch` or `cpp_pch` is not an array
2018-01-08Merge pull request #2890 from ximion/subproject_path_fixJussi Pakkanen1-2/+6
Allow subproject dirs in subdirectories in the source tree again
2018-01-08Print deprecation warning also for wraptool.Jussi Pakkanen1-1/+4
2018-01-07Ensure subproject_dir is a string and doesn't contain ".." segmentsMatthias Klumpp1-0/+4
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.
2018-01-07Modify exception raised when msvc pch is badly specifiedChristophe Gouiran2-2/+2
2018-01-07d: Detect recent DMD compilersMatthias Klumpp1-1/+1
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).
2018-01-07Merge pull request #2840 from alyst/fix_detect_locationJussi Pakkanen1-18/+29
Fix meson location detection from other meson tools
2018-01-07Merge pull request #2880 from jon-turney/gir-cygwinJussi Pakkanen15-22/+74
Fix and run gobject-introspection tests on cygwin
2018-01-07Allow subproject dirs in subdirectories in the source tree againMatthias Klumpp1-2/+2
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
2018-01-07Print problem text in error message. Closes #2882.Jussi Pakkanen1-2/+6
2018-01-06tests: fix "140 get define" on NetBSDDylan Baker1-2/+10
NetBSD's zlib is older (1.2.3), and doesn't have ZLIB_VER_MAJOR.
2018-01-06tests: fix "135 generated assembly" test on NetBSDDylan Baker3-3/+3
Which has GCC and uses GAS.
2018-01-06LLVM: work around FreeBSD specific static linking problemsDylan Baker1-0/+18
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.
2018-01-06LLVM: use DragonFly BSD workaround on FreeBSD as wellDylan Baker2-7/+10
2018-01-06tests: use GAS style assembly for FreeBSD as wellDylan Baker3-3/+3
2018-01-06LLVM: work around bug in dragonfly bsd llvm-config for shared libsDylan Baker1-0/+10
Of course there are OS specific bugs for llvm-config as well, so work around those too.
2018-01-06dependencies/dev: remove unused importsDylan Baker1-2/+1
flake8 complains about them, and I prefer to have a clean error log in vim.
2018-01-06tests: don't try to build llvm test if dep is unfoundDylan Baker1-11/+13
dragonfly BSD doesn't ship dynamic modules for LLVM so static linking is required.
2018-01-06tests: skip mpi test if mpi not installedDylan Baker1-1/+4