Commit Graph

2204 Commits

Author SHA1 Message Date
Jussi Pakkanen f7eef79c0d Merge pull request #591 from textshell/ninja-quote
ninjabackend: Add missing ninja_quote for cross compilation rule.
2016-06-14 22:40:12 +03:00
Jussi Pakkanen ddc4accca2 Merge pull request #590 from textshell/compiler-sanity-cross
compiler: Use cross tools args in sanity check.
2016-06-14 22:39:08 +03:00
Martin Hostettler 48f990aa85 Add myself to the authors file. 2016-06-14 21:34:09 +02:00
Jussi Pakkanen 80d677eee3 Show appveyor badge on readme. 2016-06-14 00:16:31 +03:00
Jussi Pakkanen 15ab984d8e Finish appveyor integration by moving static library in a subdir to avoid clashes. 2016-06-13 22:50:47 +03:00
Jussi Pakkanen cb64cb34c0 Explicitly add python dir to path so it is found. 2016-06-13 22:35:43 +03:00
Jussi Pakkanen 1e9e91f25a Print full log when failures happen under Appveyor. 2016-06-13 22:27:12 +03:00
Jussi Pakkanen 60d33f0ad7 Call setenv so hopefully Visual Studio tools will be in path. 2016-06-13 22:21:46 +03:00
Jussi Pakkanen 0da3107d36 More random appveyor poking. 2016-06-13 22:10:33 +03:00
Jussi Pakkanen 0f349923e3 Random debugging command thingy. 2016-06-13 22:06:29 +03:00
Jussi Pakkanen c74cd96fe9 Copy ninja.exe to Python dir so it hopefully appears in path. 2016-06-13 21:58:59 +03:00
Jussi Pakkanen 539e44677e Added Appveyor config file. 2016-06-13 21:53:36 +03:00
Martin Hostettler 4979b4c84f compiler: Use cross tools args in sanity check. 2016-06-13 00:41:19 +02:00
Martin Hostettler 7bd424fea6 ninjabackend: Add missing ninja_quote for cross compilation rule. 2016-06-13 00:12:15 +02:00
Jussi Pakkanen 5384a203f3 Merge pull request #585 from mesonbuild/hasarg
Added functionality to check for supported compiler arguments.
2016-06-11 23:14:30 +03:00
Jussi Pakkanen d4adf0983b Add special casing for VS which ignores unknown arguments. 2016-06-11 13:27:04 +03:00
Jussi Pakkanen 1d70940021 Merge pull request #582 from trhd/master
Valgrind fixes
2016-06-09 23:18:10 +03:00
Jussi Pakkanen f9910d2c11 Ensure cargs and libs variables always exist. Closes #581. 2016-06-09 21:48:27 +03:00
Jussi Pakkanen beef7cb291 Added functionality to pick the first supported argument from a list. Closes #583. 2016-06-09 21:36:58 +03:00
Jussi Pakkanen d8d989d9b8 Add a has_arg method to compiler to check whether it supports a given argument. 2016-06-09 21:19:58 +03:00
Hemmo Nieminen 1f76b76a84 Add support for running specific test suites with valgrind. 2016-06-06 10:28:00 +03:00
Hemmo Nieminen fac6f869e0 Change test suite separator character from '-' to ':'.
This allows defining test suites for test-valgrind target without the risk
of e.g. being unable to differentiate the targets test-valgrind (testing
with valgrind) from test-valgrind (testing the valgrind subproject).
2016-06-06 10:28:00 +03:00
Hemmo Nieminen 30bbcded23 meson_test: Fix a bug in valgrind argument handling.
Do not modify the wrap command argument from the calling function.
Appending the valgrind arguments to the wrap list argument will cause all
the valgrind arguments to cumulate from all the tests to the wrapper
command itself.
2016-06-06 10:28:00 +03:00
Jussi Pakkanen 50609054ec Bump version number for new development. 2016-06-05 23:13:25 +03:00
Jussi Pakkanen 3d1c1b84e2 Update version number for release. 2016-06-05 20:48:49 +03:00
Jussi Pakkanen de73d85ad8 Removed vs nomod test because it fails at compile time but the framework needs it to fail at configure time. 2016-06-05 20:35:45 +03:00
Jussi Pakkanen f17b76e8de Put emergency wraptool in source zip. Just in case. 2016-06-05 14:53:38 +03:00
Jussi Pakkanen 205037047f Try to delete target files before installing. Closes #578. 2016-06-05 14:16:01 +03:00
Jussi Pakkanen bcec44b93b Merge pull request #573 from centricular/dependency-versions
Several fixes to how versioned dependencies are handled + tests
2016-06-05 13:51:03 +03:00
Jussi Pakkanen 0bc0056064 Merge pull request #577 from nioncode/vs2015
Implement vs2015 backend
2016-06-05 13:00:57 +03:00
Jussi Pakkanen 177e286b3c Can generate config headers without an input file. Closes #549. 2016-06-01 20:25:14 +03:00
Nirbheek Chauhan fdc95c2ea4 Add various tests for versioned dependency checking
Both pkg-config and subproject-based dependencies

Linux-like because we need zlib for the tests to work
2016-06-01 13:06:23 +05:30
Jussi Pakkanen 0482635c12 Handle case of install_subdirring a subdir. 2016-05-30 23:08:24 +03:00
Nicolas Schneider fba749fcb7 extract vs2015backend into own file 2016-05-30 22:00:20 +02:00
Nicolas Schneider d34d85b0f5 vs2015: fix object generators 2016-05-30 21:49:37 +02:00
Nicolas Schneider 3bedca0257 add vs2015 backend 2016-05-30 21:49:35 +02:00
Jussi Pakkanen 8e734a8c9f Set Gnu fortran type based on platform. 2016-05-30 22:42:11 +03:00
Jussi Pakkanen 37c5d45d07 Print all of the things when CI fails. 2016-05-30 22:29:27 +03:00
Jussi Pakkanen 432f515bc0 Use ninja backend on OSX CI builds. 2016-05-30 22:13:23 +03:00
Jussi Pakkanen bda06cee12 Added OSX support for Travis. 2016-05-30 22:08:35 +03:00
Nirbheek Chauhan 71f18226d1 Remove unmaintained and broken PyQt5 GUI (#574) 2016-05-30 21:58:26 +03:00
Nirbheek Chauhan 9f4d963bd9 compilers: Add the buildtype args for checks that perform linking (#543)
This is required for checking for compiler checks that involve linking
to a static library with MSVC. Without this, MSVC errors out since no
CRT is specified.
2016-05-30 21:57:58 +03:00
Jussi Pakkanen beb6827413 Installing subdirs now merges with existing files in the target dir. 2016-05-30 21:48:03 +03:00
Jussi Pakkanen 144565fabf Added method to get current project name. 2016-05-30 20:29:35 +03:00
Jussi Pakkanen 16e032c289 Fix installing manpages from subdirs. 2016-05-30 20:26:31 +03:00
Jussi Pakkanen a6712b7f20 Can haz next revision of C++ standard. 2016-05-30 20:13:56 +03:00
Jussi Pakkanen 92dfc4eb0b Pch disabling works now. 2016-05-30 20:11:36 +03:00
Nirbheek Chauhan 8c34ea645d interpreter: Compare the version of a cached dependency() before using it
Without this, checks with incompatible versions but the same library would
return true. Example:

dependency('zlib', version : '>=1.2')
dependency('zlib', version : '<1.0') # this will return the same dep again!

Example: https://github.com/mesonbuild/meson/issues/568
2016-05-30 03:40:30 +05:30
Nirbheek Chauhan 0096c51035 interpretor: Correctly check the version of a fallback dependency
Previously the check was always done with the project version--which is wrong.
It should always check against the version of the dependency requested.
2016-05-30 03:40:18 +05:30
Nirbheek Chauhan acdd4bd523 interpreter: Set declare_dependency version from the project version if missing
This simply sets the default version to be the same as the project version.
Useful for dependency version checks when using fallback subproject internal
dependencies.
2016-05-30 03:40:08 +05:30