Daniel Mensinger
36749a1625
cmake: Make output_target_map more robust ( fixes #6208 )
...
This PR refactors the old output_target_map, which was a
raw dict, into it's own class. This makes the access to
the map more uniform and robust (at the cost of more lines
of code).
Additionally relative paths to the build directory are
now also tracked for outputs. This is neccessary to
corretcly distingluish files with the same name, that are
in different directories.
5 years ago
Daniel Mensinger
b2b9c102b5
cmake: Some minor fixup
5 years ago
Xavier Claessens
8efbcb1e80
cmake: Add unit test for add_custom_target() and add_dependency()
...
Also test commands with args separated by ';'
5 years ago
Daniel Mensinger
560c4f7f96
cmake: Uniform target name handling
5 years ago
Daniel Mensinger
b4af3328a4
cmake: Skip system include dir test for msvc
5 years ago
Daniel Mensinger
3e1435a968
cmake: Handle CMake system include dirs ( closes #6079 )
5 years ago
Michael Hirsch, Ph.D
83b4e981c4
Use strict function prototypes
5 years ago
Daniel Mensinger
30a668d0bb
cmake: Blacklist more compiler warning flags
5 years ago
Daniel Mensinger
b0d35ec349
cmake: Add test case for #5992
5 years ago
Jussi Pakkanen
f39600647d
Condense test directory names.
5 years ago
Daniel Mensinger
07f48851d0
cmake: added generator expression test case
5 years ago
Daniel Mensinger
497fbf0ce0
cmake: Added interface libraries test case
5 years ago
Michael Hirsch, Ph.D
b7a5d6b384
add cross-platform test for cmake_module_path
...
This test tolerates CMake >= 3.7, and checks that
dependency(..., cmake_module_path=...) works on any OS with CMake.
5 years ago
Thibault Saunier
6813ef1e24
cmake: Handle disabling subprojects
5 years ago
Daniel Mensinger
71a5ff718a
cmake: Skip ARGS key in COMMAND
6 years ago
Daniel Mensinger
647d80f34c
cmake: Added custom_target test case
6 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
3d7c50d109
cmake: Added option for additional CMake args
6 years ago
Daniel Mensinger
1041c71eb0
cmake: support object libraries
6 years ago
Daniel Mensinger
f73b36c2f3
cmake: Added test for configure_file
6 years ago
Daniel Mensinger
d9481f2359
cmake: Added Code generation test
6 years ago
Daniel Mensinger
bf81aac465
cmake: Added project tests
6 years ago
Daniel Mensinger
5089eb356b
cmake: extract the codemodel
6 years ago
Daniel Mensinger
8d3bd6eea8
cmake: Server handshake
6 years ago