Daniel Mensinger
ca40dda146
cmake: Add rule relaxations for CMake subprojects
...
fixes #10566
2 years ago
Simon McVittie
65ea833d58
Require CMake 3.14 for all tests that use the cmake module
...
Older versions are not supported by the cmake module since 0.62.
This avoids having to hard-code the linux-bionic-gcc CI job as being
unable to run these tests, which leaves other older environments like
Debian 10 still trying to run them (and failing).
Signed-off-by: Simon McVittie <smcv@collabora.com>
3 years ago
Daniel Mensinger
0d0f2cdafd
cmake: Only use the `cm_` prefix when it is actually required ( fixes #8955 )
3 years ago
Daniel Mensinger
5cbc8f866c
cmake: fix -framework dependencies ( fixes #8045 )
4 years ago
Daniel Mensinger
b27af7e465
cmake: Add cross tests
4 years ago
Daniel Mensinger
77b5c82d07
cmake: switch to pathlib ( fixes #7322 )
4 years ago
Nirbheek Chauhan
804cefc94c
ci: Remove PostgreSQL from PATH
...
It's one of the causes of the cmake test failures, and it's also
plaguing the VS2019 jobs now because of the image update.
5 years ago
Daniel Mensinger
a44dc67cb7
ci: Use test.json to skip VS2017 azure tests
...
See also #7307 #7314 #7316
cc @nirbheek
5 years ago
Nirbheek Chauhan
e121942fcd
Disable failing cmake jobs on VS2017
...
These only fail when building with msvc/clang-cl on the VS2017-Win2016
image. See: https://github.com/mesonbuild/meson/issues/7307
5 years ago
Daniel Mensinger
a252a17e6e
cmake: always split property lists ( fixes #7228 )
5 years ago
Dylan Baker
29ef4478df
compilers/d: Add b_ndebug support
...
D lang compilers have an option -release (or similar) which turns off
asserts, contracts, and other runtime type checking. This patch wires
that up to the b_ndebug flag.
Fixes #7082
5 years ago
Daniel Mensinger
4a1f197743
tests: Add support for specifying tool requirements
...
Adds the `tools` section to `tests.json` to specify requirements
for the tools in the environment. All tests that fail at least
one tool requirements check are skipped.
5 years ago
Daniel Mensinger
8e60b8c146
test: merge installed_files.txt into test.json
5 years ago
Daniel Mensinger
4f6453bc32
cmake: Use trace for missing link flags ( fixes #6386 )
...
This is neccessary for static libraries, since the
CMake file API does not add link flags here.
5 years ago
Daniel Mensinger
560c4f7f96
cmake: Uniform target name handling
5 years ago
Michael Hirsch, Ph.D
83b4e981c4
Use strict function prototypes
5 years ago
Daniel Mensinger
b0d35ec349
cmake: Add test case for #5992
5 years ago
Daniel Mensinger
44b9421071
cmake: Fix missing include_directories in some CMakeLists.txt
6 years ago
Daniel Mensinger
2f998cd8d5
cmake: Updated test cases
6 years ago
Daniel Mensinger
cb57847c30
cmake: fixed installed_files.txt
6 years ago
Daniel Mensinger
7c4f46b65c
cmake: Fixed test cases for windows
6 years ago
Daniel Mensinger
f73b36c2f3
cmake: Added test for configure_file
6 years ago
Daniel Mensinger
bf81aac465
cmake: Added project tests
6 years ago
Daniel Mensinger
5089eb356b
cmake: extract the codemodel
6 years ago