summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/export/Repeat-CMP0103-WARN-stderr.txt
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2020-03-20 14:21:32 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2020-03-26 12:20:45 (GMT)
commit0cd20e8f62328b6e3ae750dc253473cf00e05adb (patch)
treeaafff71c6dbaab8a05a0ab84459117142b557b18 /Tests/RunCMake/export/Repeat-CMP0103-WARN-stderr.txt
parent66e0b312c0985493adeeda63d1dc7815cc0fe364 (diff)
downloadCMake-0cd20e8f62328b6e3ae750dc253473cf00e05adb.zip
CMake-0cd20e8f62328b6e3ae750dc253473cf00e05adb.tar.gz
CMake-0cd20e8f62328b6e3ae750dc253473cf00e05adb.tar.bz2
export(): raise an error on multiple calls with same FILE
Fixes: 20472
Diffstat (limited to 'Tests/RunCMake/export/Repeat-CMP0103-WARN-stderr.txt')
-rw-r--r--Tests/RunCMake/export/Repeat-CMP0103-WARN-stderr.txt26
1 files changed, 26 insertions, 0 deletions
diff --git a/Tests/RunCMake/export/Repeat-CMP0103-WARN-stderr.txt b/Tests/RunCMake/export/Repeat-CMP0103-WARN-stderr.txt
new file mode 100644
index 0000000..3104df4
--- /dev/null
+++ b/Tests/RunCMake/export/Repeat-CMP0103-WARN-stderr.txt
@@ -0,0 +1,26 @@
+CMake Warning \(dev\) at Repeat.cmake:[0-9]+ \(export\):
+ Policy CMP0103 is not set: multiple export\(\) with same FILE without APPEND
+ is not allowed. Run "cmake --help-policy CMP0103" for policy details. Use
+ the cmake_policy command to set the policy and suppress this warning.
+
+ export\(\) command already specified for the file
+
+ foo.cmake
+
+ Did you miss 'APPEND' keyword\?
+Call Stack \(most recent call first\):
+ Repeat-CMP0103-WARN.cmake:[0-9]+ \(include\)
+ CMakeLists.txt:[0-9]+ \(include\)
+This warning is for project developers. Use -Wno-dev to suppress it.
+
+CMake Warning \(dev\) at Repeat/CMakeLists.txt:[0-9]+ \(export\):
+ Policy CMP0103 is not set: multiple export\(\) with same FILE without APPEND
+ is not allowed. Run "cmake --help-policy CMP0103" for policy details. Use
+ the cmake_policy command to set the policy and suppress this warning.
+
+ export\(\) command already specified for the file
+
+ .+/foo.cmake
+
+ Did you miss 'APPEND' keyword\?
+This warning is for project developers. Use -Wno-dev to suppress it.