diff options
author | Brad King <brad.king@kitware.com> | 2014-01-09 14:37:20 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2014-01-09 14:37:20 (GMT) |
commit | 15562c11efa3c3a9e0f28f9ad52b71623c254b05 (patch) | |
tree | 24dfd93e75c0fb8bf618394d379d45cf2f458c49 /Tests/RunCMake/CMP0043/CMP0043-NEW.cmake | |
parent | 69c366a28178027a5cf2629c0240d1709ae9ab55 (diff) | |
parent | 73e93400e2efab2096618ff58a5ad68236cd04aa (diff) | |
download | CMake-15562c11efa3c3a9e0f28f9ad52b71623c254b05.zip CMake-15562c11efa3c3a9e0f28f9ad52b71623c254b05.tar.gz CMake-15562c11efa3c3a9e0f28f9ad52b71623c254b05.tar.bz2 |
Merge topic 'policies'
73e9340 get_target_property: Error on non-existent target.
ab9f58f FindQt4: Ensure target exists before calling get_target_property.
37ebeb9 FindQt4: Fix use of get_target_property to use actual target name.
6aabb6a Genex: Use case-sensitive comparison for COMPILER_ID.
5bb53f6 cmTarget: Deprecate COMPILE_DEFINITIONS_ properties with a policy.
Diffstat (limited to 'Tests/RunCMake/CMP0043/CMP0043-NEW.cmake')
-rw-r--r-- | Tests/RunCMake/CMP0043/CMP0043-NEW.cmake | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMP0043/CMP0043-NEW.cmake b/Tests/RunCMake/CMP0043/CMP0043-NEW.cmake new file mode 100644 index 0000000..857153d --- /dev/null +++ b/Tests/RunCMake/CMP0043/CMP0043-NEW.cmake @@ -0,0 +1,7 @@ + +cmake_policy(SET CMP0043 NEW) + +add_library(foo empty.cpp) +set_property(TARGET foo + PROPERTY COMPILE_DEFINITIONS_DEBUG "DEBUG_MODE" +) |