Jussi Pakkanen
b6e8809f25
Added minsize build type that optimizes for binary size.
9 years ago
Jussi Pakkanen
436eab9b85
Print full mesonlog on failed tests when run under CI.
9 years ago
Jussi Pakkanen
ba4f26f8bf
Merge pull request #610 from centricular/version-check-not-found-dep
...
dependency: Fix version check for a not-found dependency
9 years ago
Nirbheek Chauhan
a927380098
Add a test for the broken cached version compare
...
https://github.com/mesonbuild/meson/pull/610
9 years ago
Nirbheek Chauhan
fe52feb47d
dependency: Fix version check for a not-found dependency
...
The check was wrong, and we were passing 'none' as the 'found' version
to the version compare if the cached dep was a not-found dependency
9 years ago
Nirbheek Chauhan
c03870b798
compilers: Copy extra_args whenever we modify it
...
Otherwise the changes ripple upstream and modify extra_args in the callee
9 years ago
Jussi Pakkanen
10f6295ca8
Do not use [] as a function default argument as the variable persists over multiple invocations.
9 years ago
Jussi Pakkanen
642b4ddf71
Merge pull request #607 from centricular/subdir-include-order
...
Add subdir includes before external dep includes
9 years ago
Nirbheek Chauhan
cd509043e0
wxwidgets: Don't error out if dependency is not required ( #606 )
9 years ago
Nirbheek Chauhan
7c90beefde
find_library: Also accept extra_dirs as a single string argument
9 years ago
Nirbheek Chauhan
0623f71e36
Add a linuxlike test case for subdir include order
...
Needs glib-2.0 as a pkg-config dependency
9 years ago
Nirbheek Chauhan
50fef89218
ninjabackend: Add subdir includes before external dep includes
...
Fixes https://github.com/mesonbuild/meson/issues/604
9 years ago
Jussi Pakkanen
06ce41b525
Merge pull request #601 from Ippytraxx/master
...
Add custom_install_dir to ld path in pkgconfig module
9 years ago
ippytraxx
f64c978695
Add myself to authors.txt
9 years ago
Nirbheek Chauhan
b1077dded7
vs backends: Translate unix link and compile flags ( #603 )
9 years ago
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
9 years ago
Ippytraxx
8ea17322e4
Add custom_install_dir to ld path in pkgconfig module
9 years ago
Jussi Pakkanen
68dbbeb78f
Octopus merged cross fixes and genetor custom because why not.
9 years ago
Noam Meltzer
981211e1f2
add myself to authors file
9 years ago
Noam Meltzer
913f9c1986
gitignore - /.idea - pycharm's project dir
9 years ago
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
Jussi Pakkanen
475175f4b5
Can use generator outputs in custom targets. Closes #587 .
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
f0626e6cc1
Created failing test for using generated outputs in a custom target.
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