Dylan Baker
|
4e18483ff3
|
tests: fix option in case 140
Which fails after the next patch because it provides an invalid kwarg.
|
7 years ago |
Nirbheek Chauhan
|
2b8196a1c8
|
tests/common/140: Add a test for PR #1738
The bug is only encountered with headers in the default compiler
search path, so use zlib.h since that is commonly available.
See: https://github.com/mesonbuild/meson/issues/1726
|
8 years ago |
Nirbheek Chauhan
|
42267f2afa
|
Always pass cross-file {lang}_args to compiler checks
Includes a test for this that will only run on the CI.
Closes https://github.com/mesonbuild/meson/issues/1665
|
8 years ago |
Jon Turney
|
b4b55c3022
|
Teach test cases/common/140 of the existence of Cygwin
|
8 years ago |
Nirbheek Chauhan
|
6042e21e25
|
Use CPPFLAGS for pre-processor compiler checks
Also don't add CFLAGS twice for links() checks
Includes a test for this.
|
8 years ago |
Nirbheek Chauhan
|
de47541e6c
|
New compiler function: cc.get_define()
Runs the pre-processor and fetches the value of the define.
Can find any arbitrary value and returns it as a string.
|
8 years ago |