diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-11-05 16:32:30 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2013-11-07 10:06:39 (GMT) |
commit | 05f5fde0eb83c0e49aab3214f28a098861aa3313 (patch) | |
tree | bf2a838e3b1489805abed701703df62224572702 /Tests/RunCMake/CMP0037/CMP0037-NEW.cmake | |
parent | 18985f6c2926725b08f5941205fe21c344c4b3ea (diff) | |
download | CMake-05f5fde0eb83c0e49aab3214f28a098861aa3313.zip CMake-05f5fde0eb83c0e49aab3214f28a098861aa3313.tar.gz CMake-05f5fde0eb83c0e49aab3214f28a098861aa3313.tar.bz2 |
Disallow invalid target names (#13140)
Exclude Borland and NMake from the CMP0037 test. They do not accept
the colon in a target name.
Diffstat (limited to 'Tests/RunCMake/CMP0037/CMP0037-NEW.cmake')
-rw-r--r-- | Tests/RunCMake/CMP0037/CMP0037-NEW.cmake | 7 |
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) |