Jussi Pakkanen
35eb8c7b9a
Added version info to sdl2dep. Closes #616 .
9 years ago
Jussi Pakkanen
ea4fe8e417
Run_target can run binaries obtained with find_program.
9 years ago
Nirbheek Chauhan
4934e70092
Don't pass pdb flags while linking inside compiler tests ( #614 )
...
This causes intermittent build failures in the MSVC CI because of a race
with the default anti-virus that ships with Windows while writing the
.pdb file: https://ci.appveyor.com/project/jpakkane/meson/build/1.0.58
There's a separate fix for that in the works that will fix this in the
general case, but for compiler tests we don't need to generate the pdb
file at all. So, just fetch the CRT flag (/MDd) if needed instead.
This has the side-effect of making compiler tests that use self.links
and self.run faster.
9 years ago
Jussi Pakkanen
06a5853fde
Thank you ever so much Git.
9 years ago
Nirbheek Chauhan
d61656d43c
Fix typo argument order to TestRunner ( #615 )
9 years ago
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