Noam Meltzer
3a2334be1b
be more resilient for identifying gcc compilers
9 years ago
Noam Meltzer
038e575d78
determine_linker(): choose static cross linker for cross compiling
...
somewhere after 0.29.0 a bug was introduced where the LINK_ARGS of the
native static linker were used instead of the cross static linker
9 years ago
Jussi Pakkanen
24f2a6bf02
Merge pull request #586 from centricular/c_args-compiler_checks
...
Use cross-info c_args, c_link_args, etc for compiler checks
9 years ago
Nirbheek Chauhan
b2fb4f9d66
scripts: Use destdir_join fix for all DESTDIR prefixing ( #598 )
9 years ago
Jussi Pakkanen
217e0593ca
Merge pull request #594 from ssssam/sam/vala-target-name
...
Use target name to decide generated Vala .h & .vapi filenames
9 years ago
Nirbheek Chauhan
c631cac04c
tests: Fix 103 manygen when both cl and gcc are available
...
Meson uses the 'CC' environment variable, so manygen.py should too
9 years ago
Sam Thursfield
c76837a3d7
Add myself to authors.txt
9 years ago
Sam Thursfield
a661708b54
Use target name to decide generated Vala .h & .vapi filenames
...
Previously Meson would use the name of the first .vala source file. This
doesn't work for some projects. Tracker is one example: it has
several libraries that mix Vala and C code. In such cases, none of the
.vala files tend to bear the name of the library we actually want to
generate.
9 years ago
Nirbheek Chauhan
abf81aab77
Use cross-info c_args, c_link_args, etc for all compiler checks
...
This allows the user to specify custom arguments to the compiler to be used
while performing cross-compiler checks. For example, passing a GCC specs file as
c_link_args so that a "prefix" filled with libraries that are to be compiled
against can be found with cc.find_library, or an `-mcpu` c_arg that is required
for compilation.
Also ensure that unix_link_flags_to_native() and unix_compile_flags_to_native()
always return a copy of the original arguments and not a reference to the
original arguments. We never want to modify the original arguments.
9 years ago
Nirbheek Chauhan
777c1e9c19
compilers: Fix usage of cross tools args in sanity checks
...
The cross-extra-flags were being overwritten and ignored. Also, we don't
link while doing a cross-compiled sanity check even with ObjC++
9 years ago
Jussi Pakkanen
f7eef79c0d
Merge pull request #591 from textshell/ninja-quote
...
ninjabackend: Add missing ninja_quote for cross compilation rule.
9 years ago
Jussi Pakkanen
ddc4accca2
Merge pull request #590 from textshell/compiler-sanity-cross
...
compiler: Use cross tools args in sanity check.
9 years ago
Martin Hostettler
48f990aa85
Add myself to the authors file.
9 years ago
Jussi Pakkanen
80d677eee3
Show appveyor badge on readme.
9 years ago
Jussi Pakkanen
15ab984d8e
Finish appveyor integration by moving static library in a subdir to avoid clashes.
9 years ago
Jussi Pakkanen
cb64cb34c0
Explicitly add python dir to path so it is found.
9 years ago
Jussi Pakkanen
1e9e91f25a
Print full log when failures happen under Appveyor.
9 years ago
Jussi Pakkanen
60d33f0ad7
Call setenv so hopefully Visual Studio tools will be in path.
9 years ago
Jussi Pakkanen
0da3107d36
More random appveyor poking.
9 years ago
Jussi Pakkanen
0f349923e3
Random debugging command thingy.
9 years ago
Jussi Pakkanen
c74cd96fe9
Copy ninja.exe to Python dir so it hopefully appears in path.
9 years ago
Jussi Pakkanen
539e44677e
Added Appveyor config file.
9 years ago
Martin Hostettler
4979b4c84f
compiler: Use cross tools args in sanity check.
9 years ago
Martin Hostettler
7bd424fea6
ninjabackend: Add missing ninja_quote for cross compilation rule.
9 years ago
Jussi Pakkanen
5384a203f3
Merge pull request #585 from mesonbuild/hasarg
...
Added functionality to check for supported compiler arguments.
9 years ago
Jussi Pakkanen
d4adf0983b
Add special casing for VS which ignores unknown arguments.
9 years ago
Jussi Pakkanen
1d70940021
Merge pull request #582 from trhd/master
...
Valgrind fixes
9 years ago
Jussi Pakkanen
f9910d2c11
Ensure cargs and libs variables always exist. Closes #581 .
9 years ago
Jussi Pakkanen
beef7cb291
Added functionality to pick the first supported argument from a list. Closes #583 .
9 years ago
Jussi Pakkanen
d8d989d9b8
Add a has_arg method to compiler to check whether it supports a given argument.
9 years ago
Hemmo Nieminen
1f76b76a84
Add support for running specific test suites with valgrind.
9 years ago
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).
9 years ago
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.
9 years ago
Jussi Pakkanen
50609054ec
Bump version number for new development.
9 years ago
Jussi Pakkanen
3d1c1b84e2
Update version number for release.
9 years ago
Jussi Pakkanen
de73d85ad8
Removed vs nomod test because it fails at compile time but the framework needs it to fail at configure time.
9 years ago
Jussi Pakkanen
f17b76e8de
Put emergency wraptool in source zip. Just in case.
9 years ago
Jussi Pakkanen
205037047f
Try to delete target files before installing. Closes #578 .
9 years ago
Jussi Pakkanen
bcec44b93b
Merge pull request #573 from centricular/dependency-versions
...
Several fixes to how versioned dependencies are handled + tests
9 years ago
Jussi Pakkanen
0bc0056064
Merge pull request #577 from nioncode/vs2015
...
Implement vs2015 backend
9 years ago
Jussi Pakkanen
177e286b3c
Can generate config headers without an input file. Closes #549 .
9 years ago
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
9 years ago
Jussi Pakkanen
0482635c12
Handle case of install_subdirring a subdir.
9 years ago
Nicolas Schneider
fba749fcb7
extract vs2015backend into own file
9 years ago
Nicolas Schneider
d34d85b0f5
vs2015: fix object generators
9 years ago
Nicolas Schneider
3bedca0257
add vs2015 backend
9 years ago
Jussi Pakkanen
8e734a8c9f
Set Gnu fortran type based on platform.
9 years ago
Jussi Pakkanen
37c5d45d07
Print all of the things when CI fails.
9 years ago
Jussi Pakkanen
432f515bc0
Use ninja backend on OSX CI builds.
9 years ago
Jussi Pakkanen
bda06cee12
Added OSX support for Travis.
9 years ago