summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMP0037/CMP0037-NEW.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-11-08 15:33:14 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-11-08 15:33:14 (GMT)
commit2053e0cd51810d434ec4563186d5e2792d1c9cab (patch)
tree9941a15086825e24aac3d8b436ba5cd0398b83ec /Tests/RunCMake/CMP0037/CMP0037-NEW.cmake
parent064e6d32728a73edcf44d6b52572dbec19e0c90d (diff)
parent596b2a8c0820bed8195e2377927a18cf2d76727c (diff)
downloadCMake-2053e0cd51810d434ec4563186d5e2792d1c9cab.zip
CMake-2053e0cd51810d434ec4563186d5e2792d1c9cab.tar.gz
CMake-2053e0cd51810d434ec4563186d5e2792d1c9cab.tar.bz2
Merge topic 'tll-target-policies'
596b2a8 Disallow linking to utility targets (#13902). 301bb5c Disallow link-to-self (#13947). 05f5fde Disallow invalid target names (#13140)
Diffstat (limited to 'Tests/RunCMake/CMP0037/CMP0037-NEW.cmake')
-rw-r--r--Tests/RunCMake/CMP0037/CMP0037-NEW.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMP0037/CMP0037-NEW.cmake b/Tests/RunCMake/CMP0037/CMP0037-NEW.cmake
new file mode 100644
index 0000000..a6ffc59
--- /dev/null
+++ b/Tests/RunCMake/CMP0037/CMP0037-NEW.cmake
@@ -0,0 +1,7 @@
+
+cmake_policy(SET CMP0037 NEW)
+
+add_library("lib with spaces" empty.cpp)
+add_executable("exe with spaces" empty.cpp)
+add_library("lib:colon" empty.cpp)
+add_executable("exe:colon" empty.cpp)