summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMP0043/RunCMakeTest.cmake
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-12-30 12:33:02 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-01-08 15:41:34 (GMT)
commit5bb53f6b731228e4592066329e8992987289a986 (patch)
tree77176fe26f9f2d658094d5964d56a9abd52d551d /Tests/RunCMake/CMP0043/RunCMakeTest.cmake
parent855e8759fdf20a209f19f02e8dc5d203f4713a6a (diff)
downloadCMake-5bb53f6b731228e4592066329e8992987289a986.zip
CMake-5bb53f6b731228e4592066329e8992987289a986.tar.gz
CMake-5bb53f6b731228e4592066329e8992987289a986.tar.bz2
cmTarget: Deprecate COMPILE_DEFINITIONS_ properties with a policy.
Diffstat (limited to 'Tests/RunCMake/CMP0043/RunCMakeTest.cmake')
-rw-r--r--Tests/RunCMake/CMP0043/RunCMakeTest.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMP0043/RunCMakeTest.cmake b/Tests/RunCMake/CMP0043/RunCMakeTest.cmake
new file mode 100644
index 0000000..7f9572e
--- /dev/null
+++ b/Tests/RunCMake/CMP0043/RunCMakeTest.cmake
@@ -0,0 +1,7 @@
+include(RunCMake)
+
+list(APPEND RunCMake_TEST_OPTIONS -DCMAKE_BUILD_TYPE=Debug)
+
+run_cmake(CMP0043-OLD)
+run_cmake(CMP0043-NEW)
+run_cmake(CMP0043-WARN)