diff options
author | Nils Gladitz <nilsgladitz@gmail.com> | 2013-11-20 08:53:06 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-11-21 14:24:08 (GMT) |
commit | a02f3d2de00a16a68e8948db3c0de507e569f8a3 (patch) | |
tree | 065ce76b2c29a27325a0d36a8869856dbfb6dbe9 /Tests/RunCMake/CMP0040/CMP0040-WARN-missing-target-stderr.txt | |
parent | a61025135b1c1ceea9634973b983bd3e47be8bdd (diff) | |
download | CMake-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.txt | 10 |
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. |