summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMP0057/CMP0057-NEW-stderr.txt
diff options
context:
space:
mode:
authorNils Gladitz <nilsgladitz@gmail.com>2015-03-09 11:12:13 (GMT)
committerNils Gladitz <nilsgladitz@gmail.com>2015-03-09 11:45:38 (GMT)
commit242c396656783b1b3d542b14bc62710a46a87518 (patch)
tree8d460b76a2b377433b774815b1914d9b4b86043a /Tests/RunCMake/CMP0057/CMP0057-NEW-stderr.txt
parentbdb00b36133c64a36fbba7fd6c648725062b6732 (diff)
downloadCMake-242c396656783b1b3d542b14bc62710a46a87518.zip
CMake-242c396656783b1b3d542b14bc62710a46a87518.tar.gz
CMake-242c396656783b1b3d542b14bc62710a46a87518.tar.bz2
add_custom_command: Diagnose MAIN_DEPENDENCY limitation.
The new policy CMP0057 diagnoses reuse of the same MAIN_DEPENDENCY across multiple custom commands.
Diffstat (limited to 'Tests/RunCMake/CMP0057/CMP0057-NEW-stderr.txt')
-rw-r--r--Tests/RunCMake/CMP0057/CMP0057-NEW-stderr.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMP0057/CMP0057-NEW-stderr.txt b/Tests/RunCMake/CMP0057/CMP0057-NEW-stderr.txt
new file mode 100644
index 0000000..9607d54
--- /dev/null
+++ b/Tests/RunCMake/CMP0057/CMP0057-NEW-stderr.txt
@@ -0,0 +1,4 @@
+CMake Error at CMP0057-NEW.cmake:8 \(add_custom_command\):
+ "input.txt" can only be specified as a custom command MAIN_DEPENDENCY once.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)