Commit Graph

2224 Commits

Author SHA1 Message Date
Jussi Pakkanen 06ce41b525 Merge pull request #601 from Ippytraxx/master
Add custom_install_dir to ld path in pkgconfig module
2016-06-18 19:55:54 +03:00
ippytraxx f64c978695 Add myself to authors.txt 2016-06-18 15:23:42 +02:00
Nirbheek Chauhan b1077dded7 vs backends: Translate unix link and compile flags (#603) 2016-06-17 22:24:43 +03:00
Nirbheek Chauhan 9e5a2c5e26 Use add_target() for adding targets returned from module functions
Without this, the target isn't added to self.coredata.target_guids and
the VS backends fail to parse the list of targets
2016-06-17 16:46:57 +05:30
Ippytraxx 8ea17322e4 Add custom_install_dir to ld path in pkgconfig module 2016-06-17 10:08:59 +02:00
Jussi Pakkanen 68dbbeb78f Octopus merged cross fixes and genetor custom because why not. 2016-06-16 21:03:57 +03:00
Noam Meltzer 981211e1f2 add myself to authors file 2016-06-16 20:52:19 +03:00
Noam Meltzer 913f9c1986 gitignore - /.idea - pycharm's project dir 2016-06-16 20:52:04 +03:00
Noam Meltzer 3a2334be1b be more resilient for identifying gcc compilers 2016-06-16 20:52:03 +03:00
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
2016-06-16 20:52:03 +03:00
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
2016-06-16 20:46:31 +03:00
Nirbheek Chauhan b2fb4f9d66 scripts: Use destdir_join fix for all DESTDIR prefixing (#598) 2016-06-16 20:43:23 +03:00
Jussi Pakkanen 217e0593ca Merge pull request #594 from ssssam/sam/vala-target-name
Use target name to decide generated Vala .h & .vapi filenames
2016-06-16 20:42:37 +03:00
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
2016-06-16 18:56:16 +05:30
Sam Thursfield c76837a3d7 Add myself to authors.txt 2016-06-15 15:16:11 +01:00
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.
2016-06-15 15:15:58 +01:00
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.
2016-06-15 13:13:06 +05:30
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++
2016-06-15 11:03:28 +05:30
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
Jussi Pakkanen 475175f4b5 Can use generator outputs in custom targets. Closes #587. 2016-06-13 21:17:13 +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 f0626e6cc1 Created failing test for using generated outputs in a custom target. 2016-06-13 00:06:05 +03: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