summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMP0037/CMP0037-WARN-space-stderr.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-11-08 16:44:55 (GMT)
committerBrad King <brad.king@kitware.com>2013-11-11 12:27:02 (GMT)
commit8c6c1f16c94318630a547425637fdbc34f86f1fc (patch)
tree1adff3d94208c97f97ea5e1740358553d6321b6c /Tests/RunCMake/CMP0037/CMP0037-WARN-space-stderr.txt
parent596b2a8c0820bed8195e2377927a18cf2d76727c (diff)
downloadCMake-8c6c1f16c94318630a547425637fdbc34f86f1fc.zip
CMake-8c6c1f16c94318630a547425637fdbc34f86f1fc.tar.gz
CMake-8c6c1f16c94318630a547425637fdbc34f86f1fc.tar.bz2
Enable RunCMake.CMP0037 test everywhere
Split the test cases covering spaces and colons into separate units. Run the space cases everywhere. Disable the colon cases where they are known to fail. This approach increases platform coverage for the test and makes the known-failure logic as local as possible. No Makefile generator on Windows can generate targets with ':' in their name because the CMakeFiles/<target>.dir directory cannot be created. Skip this part of the test on all Windows Make tools.
Diffstat (limited to 'Tests/RunCMake/CMP0037/CMP0037-WARN-space-stderr.txt')
-rw-r--r--Tests/RunCMake/CMP0037/CMP0037-WARN-space-stderr.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMP0037/CMP0037-WARN-space-stderr.txt b/Tests/RunCMake/CMP0037/CMP0037-WARN-space-stderr.txt
new file mode 100644
index 0000000..b29aad5
--- /dev/null
+++ b/Tests/RunCMake/CMP0037/CMP0037-WARN-space-stderr.txt
@@ -0,0 +1,21 @@
+CMake Warning \(dev\) at CMP0037-WARN-space.cmake:2 \(add_library\):
+ Policy CMP0037 is not set: Target names should match a validity pattern.
+ Run "cmake --help-policy CMP0037" for policy details. Use the cmake_policy
+ command to set the policy and suppress this warning.
+
+ The target name "lib with spaces" is not valid for certain CMake features,
+ such as generator expressions, and may result in undefined behavior.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
+This warning is for project developers. Use -Wno-dev to suppress it.
++
+CMake Warning \(dev\) at CMP0037-WARN-space.cmake:3 \(add_executable\):
+ Policy CMP0037 is not set: Target names should match a validity pattern.
+ Run "cmake --help-policy CMP0037" for policy details. Use the cmake_policy
+ command to set the policy and suppress this warning.
+
+ The target name "exe with spaces" is not valid for certain CMake features,
+ such as generator expressions, and may result in undefined behavior.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
+This warning is for project developers. Use -Wno-dev to suppress it.