diff options
author | Brad King <brad.king@kitware.com> | 2015-09-02 19:57:41 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-09-03 10:52:36 (GMT) |
commit | b9856862fe46b04b25d99c3488899d6b12bd6e1a (patch) | |
tree | 04fbf701141d6deebb7685f59457dedb1f32312e /Tests/RunCMake/set_property/RunCMakeTest.cmake | |
parent | 407ff47eca85c6d73c9cefee0d1b0afef41e0b19 (diff) | |
download | CMake-b9856862fe46b04b25d99c3488899d6b12bd6e1a.zip CMake-b9856862fe46b04b25d99c3488899d6b12bd6e1a.tar.gz CMake-b9856862fe46b04b25d99c3488899d6b12bd6e1a.tar.bz2 |
Tests: Cover set_property for buildsystem target properties
Extend the RunCMake.set_property test with cases covering buildsystem
target properties:
* COMPILE_DEFINITIONS
* COMPILE_FEATURES
* COMPILE_OPTIONS
* INCLUDE_DIRECTORIES
* LINK_LIBRARIES
* SOURCES
Also test a non-buildsystem property to document the current difference
in behavior. Refactor the existing LINK_LIBRARIES case to the same
more-extensive test as the rest. Use the output generated by CMake 3.3
as the expected output for each test case.
Diffstat (limited to 'Tests/RunCMake/set_property/RunCMakeTest.cmake')
-rw-r--r-- | Tests/RunCMake/set_property/RunCMakeTest.cmake | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/RunCMake/set_property/RunCMakeTest.cmake b/Tests/RunCMake/set_property/RunCMakeTest.cmake index 54e63f7..37c7124 100644 --- a/Tests/RunCMake/set_property/RunCMakeTest.cmake +++ b/Tests/RunCMake/set_property/RunCMakeTest.cmake @@ -1,3 +1,9 @@ include(RunCMake) +run_cmake(COMPILE_DEFINITIONS) +run_cmake(COMPILE_FEATURES) +run_cmake(COMPILE_OPTIONS) +run_cmake(INCLUDE_DIRECTORIES) run_cmake(LINK_LIBRARIES) +run_cmake(SOURCES) +run_cmake(USER_PROP) |