summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMP0040/CMP0040-WARN-missing-target-stderr.txt
diff options
context:
space:
mode:
authorNils Gladitz <nilsgladitz@gmail.com>2013-11-20 08:53:06 (GMT)
committerBrad King <brad.king@kitware.com>2013-11-21 14:24:08 (GMT)
commita02f3d2de00a16a68e8948db3c0de507e569f8a3 (patch)
tree065ce76b2c29a27325a0d36a8869856dbfb6dbe9 /Tests/RunCMake/CMP0040/CMP0040-WARN-missing-target-stderr.txt
parenta61025135b1c1ceea9634973b983bd3e47be8bdd (diff)
downloadCMake-a02f3d2de00a16a68e8948db3c0de507e569f8a3.zip
CMake-a02f3d2de00a16a68e8948db3c0de507e569f8a3.tar.gz
CMake-a02f3d2de00a16a68e8948db3c0de507e569f8a3.tar.bz2
Add policy CMP0040 to disallow custom commands on missing targets
Diffstat (limited to 'Tests/RunCMake/CMP0040/CMP0040-WARN-missing-target-stderr.txt')
-rw-r--r--Tests/RunCMake/CMP0040/CMP0040-WARN-missing-target-stderr.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMP0040/CMP0040-WARN-missing-target-stderr.txt b/Tests/RunCMake/CMP0040/CMP0040-WARN-missing-target-stderr.txt
new file mode 100644
index 0000000..e791f0a
--- /dev/null
+++ b/Tests/RunCMake/CMP0040/CMP0040-WARN-missing-target-stderr.txt
@@ -0,0 +1,10 @@
+CMake Warning \(dev\) at CMP0040-WARN-missing-target.cmake:2 \(add_custom_command\):
+ Policy CMP0040 is not set: The target in the TARGET signature of
+ add_custom_command\(\) must exist. Run "cmake --help-policy CMP0040" for
+ policy details. Use the cmake_policy command to set the policy and
+ suppress this warning.
++
+ The target name "foobar" is unknown in this context.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
+This warning is for project developers. Use -Wno-dev to suppress it.