summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMP0118/CMP0118-NEW-Test5-stderr.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-12-03 21:08:59 (GMT)
committerBrad King <brad.king@kitware.com>2020-12-03 21:32:09 (GMT)
commit43506037d2d79434e9a710f0c597d265fcf2463b (patch)
treefd35393fe28241bd2795a7f9f1af6e94d15834b2 /Tests/RunCMake/CMP0118/CMP0118-NEW-Test5-stderr.txt
parent8bdde2b161979ba61f41bfce2bdba1bb38cdcb04 (diff)
downloadCMake-43506037d2d79434e9a710f0c597d265fcf2463b.zip
CMake-43506037d2d79434e9a710f0c597d265fcf2463b.tar.gz
CMake-43506037d2d79434e9a710f0c597d265fcf2463b.tar.bz2
Tests: Avoid unnecessary use of toolchain in RunCMake.CMP0118
The semantics of the `GENERATED` property do not depend on the kind of target to which the sources are attached. Convert the tests to use custom targets instead of executables so that we do not have to enable the CXX language and initialize support of its toolchain for every case. This significantly reduces the time the test takes to run.
Diffstat (limited to 'Tests/RunCMake/CMP0118/CMP0118-NEW-Test5-stderr.txt')
-rw-r--r--Tests/RunCMake/CMP0118/CMP0118-NEW-Test5-stderr.txt142
1 files changed, 68 insertions, 74 deletions
diff --git a/Tests/RunCMake/CMP0118/CMP0118-NEW-Test5-stderr.txt b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test5-stderr.txt
index 0d26a57..e268a7a 100644
--- a/Tests/RunCMake/CMP0118/CMP0118-NEW-Test5-stderr.txt
+++ b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test5-stderr.txt
@@ -1,9 +1,9 @@
-^Generated_with_full_path1\.cpp: # 1a # GENERATED = `1`
-Generated_with_full_path1\.cpp: # 1b # GENERATED = `1`
-Generated_with_full_path1\.cpp: # 2a # GENERATED = `1`
-Generated_with_full_path1\.cpp: # 2b # GENERATED = `1`
-Generated_with_full_path1\.cpp: # 3a # GENERATED = `0`
-Generated_with_full_path1\.cpp: # 3b # GENERATED = `0`
+^Generated_with_full_path1\.txt: # 1a # GENERATED = `1`
+Generated_with_full_path1\.txt: # 1b # GENERATED = `1`
+Generated_with_full_path1\.txt: # 2a # GENERATED = `1`
+Generated_with_full_path1\.txt: # 2b # GENERATED = `1`
+Generated_with_full_path1\.txt: # 3a # GENERATED = `0`
+Generated_with_full_path1\.txt: # 3b # GENERATED = `0`
CMake Warning \(dev\) at CMP0118-Common-Test5\.cmake:[0-9]+ \(set_property\):
Unsetting the 'GENERATED' property is not allowed under CMP0118!
@@ -12,12 +12,12 @@ Call Stack \(most recent call first\):
CMakeLists\.txt:[0-9]+ \(include\)
This warning is for project developers\. Use -Wno-dev to suppress it\.
+
-Generated_with_full_path2\.cpp: # 1a # GENERATED = `0`
-Generated_with_full_path2\.cpp: # 1b # GENERATED = `0`
-Generated_with_full_path2\.cpp: # 2a # GENERATED = `0`
-Generated_with_full_path2\.cpp: # 2b # GENERATED = `0`
-Generated_with_full_path2\.cpp: # 3a # GENERATED = `0`
-Generated_with_full_path2\.cpp: # 3b # GENERATED = `0`
+Generated_with_full_path2\.txt: # 1a # GENERATED = `0`
+Generated_with_full_path2\.txt: # 1b # GENERATED = `0`
+Generated_with_full_path2\.txt: # 2a # GENERATED = `0`
+Generated_with_full_path2\.txt: # 2b # GENERATED = `0`
+Generated_with_full_path2\.txt: # 3a # GENERATED = `0`
+Generated_with_full_path2\.txt: # 3b # GENERATED = `0`
CMake Warning \(dev\) at CMP0118-Common-Test5\.cmake:[0-9]+ \(set_property\):
Policy CMP0118 is set to NEW and the following non-boolean value given for
property 'GENERATED' is therefore not allowed:
@@ -31,18 +31,18 @@ Call Stack \(most recent call first\):
CMakeLists\.txt:[0-9]+ \(include\)
This warning is for project developers\. Use -Wno-dev to suppress it\.
+
-Generated_with_full_path3\.cpp: # 1a # GENERATED = `0`
-Generated_with_full_path3\.cpp: # 1b # GENERATED = `0`
-Generated_with_full_path3\.cpp: # 2a # GENERATED = `0`
-Generated_with_full_path3\.cpp: # 2b # GENERATED = `0`
-Generated_with_full_path3\.cpp: # 3a # GENERATED = `0`
-Generated_with_full_path3\.cpp: # 3b # GENERATED = `0`
-Generated_with_relative_path1\.cpp: # 1a # GENERATED = `1`
-Generated_with_relative_path1\.cpp: # 1b # GENERATED = `1`
-Generated_with_relative_path1\.cpp: # 2a # GENERATED = `1`
-Generated_with_relative_path1\.cpp: # 2b # GENERATED = `1`
-Generated_with_relative_path1\.cpp: # 3a # GENERATED = `0`
-Generated_with_relative_path1\.cpp: # 3b # GENERATED = `0`
+Generated_with_full_path3\.txt: # 1a # GENERATED = `0`
+Generated_with_full_path3\.txt: # 1b # GENERATED = `0`
+Generated_with_full_path3\.txt: # 2a # GENERATED = `0`
+Generated_with_full_path3\.txt: # 2b # GENERATED = `0`
+Generated_with_full_path3\.txt: # 3a # GENERATED = `0`
+Generated_with_full_path3\.txt: # 3b # GENERATED = `0`
+Generated_with_relative_path1\.txt: # 1a # GENERATED = `1`
+Generated_with_relative_path1\.txt: # 1b # GENERATED = `1`
+Generated_with_relative_path1\.txt: # 2a # GENERATED = `1`
+Generated_with_relative_path1\.txt: # 2b # GENERATED = `1`
+Generated_with_relative_path1\.txt: # 3a # GENERATED = `0`
+Generated_with_relative_path1\.txt: # 3b # GENERATED = `0`
CMake Warning \(dev\) at CMP0118-Common-Test5\.cmake:[0-9]+ \(set_property\):
Unsetting the 'GENERATED' property is not allowed under CMP0118!
@@ -51,12 +51,12 @@ Call Stack \(most recent call first\):
CMakeLists\.txt:[0-9]+ \(include\)
This warning is for project developers\. Use -Wno-dev to suppress it\.
+
-Generated_with_relative_path2\.cpp: # 1a # GENERATED = `0`
-Generated_with_relative_path2\.cpp: # 1b # GENERATED = `0`
-Generated_with_relative_path2\.cpp: # 2a # GENERATED = `0`
-Generated_with_relative_path2\.cpp: # 2b # GENERATED = `0`
-Generated_with_relative_path2\.cpp: # 3a # GENERATED = `0`
-Generated_with_relative_path2\.cpp: # 3b # GENERATED = `0`
+Generated_with_relative_path2\.txt: # 1a # GENERATED = `0`
+Generated_with_relative_path2\.txt: # 1b # GENERATED = `0`
+Generated_with_relative_path2\.txt: # 2a # GENERATED = `0`
+Generated_with_relative_path2\.txt: # 2b # GENERATED = `0`
+Generated_with_relative_path2\.txt: # 3a # GENERATED = `0`
+Generated_with_relative_path2\.txt: # 3b # GENERATED = `0`
CMake Warning \(dev\) at CMP0118-Common-Test5\.cmake:[0-9]+ \(set_property\):
Policy CMP0118 is set to NEW and the following non-boolean value given for
property 'GENERATED' is therefore not allowed:
@@ -70,18 +70,18 @@ Call Stack \(most recent call first\):
CMakeLists\.txt:[0-9]+ \(include\)
This warning is for project developers\. Use -Wno-dev to suppress it\.
+
-Generated_with_relative_path3\.cpp: # 1a # GENERATED = `0`
-Generated_with_relative_path3\.cpp: # 1b # GENERATED = `0`
-Generated_with_relative_path3\.cpp: # 2a # GENERATED = `0`
-Generated_with_relative_path3\.cpp: # 2b # GENERATED = `0`
-Generated_with_relative_path3\.cpp: # 3a # GENERATED = `0`
-Generated_with_relative_path3\.cpp: # 3b # GENERATED = `0`
-Generated_with_full_source_path1\.cpp: # 1a # GENERATED = `1`
-Generated_with_full_source_path1\.cpp: # 1b # GENERATED = `1`
-Generated_with_full_source_path1\.cpp: # 2a # GENERATED = `1`
-Generated_with_full_source_path1\.cpp: # 2b # GENERATED = `1`
-Generated_with_full_source_path1\.cpp: # 3a # GENERATED = `0`
-Generated_with_full_source_path1\.cpp: # 3b # GENERATED = `0`
+Generated_with_relative_path3\.txt: # 1a # GENERATED = `0`
+Generated_with_relative_path3\.txt: # 1b # GENERATED = `0`
+Generated_with_relative_path3\.txt: # 2a # GENERATED = `0`
+Generated_with_relative_path3\.txt: # 2b # GENERATED = `0`
+Generated_with_relative_path3\.txt: # 3a # GENERATED = `0`
+Generated_with_relative_path3\.txt: # 3b # GENERATED = `0`
+Generated_with_full_source_path1\.txt: # 1a # GENERATED = `1`
+Generated_with_full_source_path1\.txt: # 1b # GENERATED = `1`
+Generated_with_full_source_path1\.txt: # 2a # GENERATED = `1`
+Generated_with_full_source_path1\.txt: # 2b # GENERATED = `1`
+Generated_with_full_source_path1\.txt: # 3a # GENERATED = `0`
+Generated_with_full_source_path1\.txt: # 3b # GENERATED = `0`
CMake Warning \(dev\) at CMP0118-Common-Test5\.cmake:[0-9]+ \(set_property\):
Unsetting the 'GENERATED' property is not allowed under CMP0118!
@@ -90,12 +90,12 @@ Call Stack \(most recent call first\):
CMakeLists\.txt:[0-9]+ \(include\)
This warning is for project developers\. Use -Wno-dev to suppress it\.
+
-Generated_with_full_source_path2\.cpp: # 1a # GENERATED = `0`
-Generated_with_full_source_path2\.cpp: # 1b # GENERATED = `0`
-Generated_with_full_source_path2\.cpp: # 2a # GENERATED = `0`
-Generated_with_full_source_path2\.cpp: # 2b # GENERATED = `0`
-Generated_with_full_source_path2\.cpp: # 3a # GENERATED = `0`
-Generated_with_full_source_path2\.cpp: # 3b # GENERATED = `0`
+Generated_with_full_source_path2\.txt: # 1a # GENERATED = `0`
+Generated_with_full_source_path2\.txt: # 1b # GENERATED = `0`
+Generated_with_full_source_path2\.txt: # 2a # GENERATED = `0`
+Generated_with_full_source_path2\.txt: # 2b # GENERATED = `0`
+Generated_with_full_source_path2\.txt: # 3a # GENERATED = `0`
+Generated_with_full_source_path2\.txt: # 3b # GENERATED = `0`
CMake Warning \(dev\) at CMP0118-Common-Test5\.cmake:[0-9]+ \(set_property\):
Policy CMP0118 is set to NEW and the following non-boolean value given for
property 'GENERATED' is therefore not allowed:
@@ -109,72 +109,66 @@ Call Stack \(most recent call first\):
CMakeLists\.txt:[0-9]+ \(include\)
This warning is for project developers\. Use -Wno-dev to suppress it\.
+
-Generated_with_full_source_path3\.cpp: # 1a # GENERATED = `0`
-Generated_with_full_source_path3\.cpp: # 1b # GENERATED = `0`
-Generated_with_full_source_path3\.cpp: # 2a # GENERATED = `0`
-Generated_with_full_source_path3\.cpp: # 2b # GENERATED = `0`
-Generated_with_full_source_path3\.cpp: # 3a # GENERATED = `0`
-Generated_with_full_source_path3\.cpp: # 3b # GENERATED = `0`
-CMake Error at CMP0118-Common-Test5\.cmake:[0-9]+ \(add_executable\):
+Generated_with_full_source_path3\.txt: # 1a # GENERATED = `0`
+Generated_with_full_source_path3\.txt: # 1b # GENERATED = `0`
+Generated_with_full_source_path3\.txt: # 2a # GENERATED = `0`
+Generated_with_full_source_path3\.txt: # 2b # GENERATED = `0`
+Generated_with_full_source_path3\.txt: # 3a # GENERATED = `0`
+Generated_with_full_source_path3\.txt: # 3b # GENERATED = `0`
+CMake Error at CMP0118-Common-Test5\.cmake:[0-9]+ \(add_custom_target\):
Cannot find source file:
-[ \t]*.*Tests/RunCMake/CMP0118/(Generated_with_full_source_path[1-3]\.cpp|CMP0118-NEW-Test5-build/Generated_with_relative_path[2-3]\.cpp|CMP0118-NEW-Test5-build/Generated_with_full_path[2-3]\.cpp)
+[ \t]*.*Tests/RunCMake/CMP0118/(Generated_with_full_source_path[1-3]\.txt|CMP0118-NEW-Test5-build/Generated_with_relative_path[2-3]\.txt|CMP0118-NEW-Test5-build/Generated_with_full_path[2-3]\.txt)
Call Stack \(most recent call first\):
CMP0118-NEW-Test5\.cmake:[0-9]+ \(include\)
CMakeLists\.txt:[0-9]+ \(include\)
+
-CMake Error at CMP0118-Common-Test5\.cmake:[0-9]+ \(add_executable\):
+CMake Error at CMP0118-Common-Test5\.cmake:[0-9]+ \(add_custom_target\):
Cannot find source file:
-[ \t]*.*Tests/RunCMake/CMP0118/(Generated_with_full_source_path[1-3]\.cpp|CMP0118-NEW-Test5-build/Generated_with_relative_path[2-3]\.cpp|CMP0118-NEW-Test5-build/Generated_with_full_path[2-3]\.cpp)
+[ \t]*.*Tests/RunCMake/CMP0118/(Generated_with_full_source_path[1-3]\.txt|CMP0118-NEW-Test5-build/Generated_with_relative_path[2-3]\.txt|CMP0118-NEW-Test5-build/Generated_with_full_path[2-3]\.txt)
Call Stack \(most recent call first\):
CMP0118-NEW-Test5\.cmake:[0-9]+ \(include\)
CMakeLists\.txt:[0-9]+ \(include\)
+
-CMake Error at CMP0118-Common-Test5\.cmake:[0-9]+ \(add_executable\):
+CMake Error at CMP0118-Common-Test5\.cmake:[0-9]+ \(add_custom_target\):
Cannot find source file:
-[ \t]*.*Tests/RunCMake/CMP0118/(Generated_with_full_source_path[1-3]\.cpp|CMP0118-NEW-Test5-build/Generated_with_relative_path[2-3]\.cpp|CMP0118-NEW-Test5-build/Generated_with_full_path[2-3]\.cpp)
+[ \t]*.*Tests/RunCMake/CMP0118/(Generated_with_full_source_path[1-3]\.txt|CMP0118-NEW-Test5-build/Generated_with_relative_path[2-3]\.txt|CMP0118-NEW-Test5-build/Generated_with_full_path[2-3]\.txt)
Call Stack \(most recent call first\):
CMP0118-NEW-Test5\.cmake:[0-9]+ \(include\)
CMakeLists\.txt:[0-9]+ \(include\)
+
-CMake Error at CMP0118-Common-Test5\.cmake:[0-9]+ \(add_executable\):
+CMake Error at CMP0118-Common-Test5\.cmake:[0-9]+ \(add_custom_target\):
Cannot find source file:
-[ \t]*.*Tests/RunCMake/CMP0118/(Generated_with_full_source_path[1-3]\.cpp|CMP0118-NEW-Test5-build/Generated_with_relative_path[2-3]\.cpp|CMP0118-NEW-Test5-build/Generated_with_full_path[2-3]\.cpp)
+[ \t]*.*Tests/RunCMake/CMP0118/(Generated_with_full_source_path[1-3]\.txt|CMP0118-NEW-Test5-build/Generated_with_relative_path[2-3]\.txt|CMP0118-NEW-Test5-build/Generated_with_full_path[2-3]\.txt)
Call Stack \(most recent call first\):
CMP0118-NEW-Test5\.cmake:[0-9]+ \(include\)
CMakeLists\.txt:[0-9]+ \(include\)
+
-CMake Error at CMP0118-Common-Test5\.cmake:[0-9]+ \(add_executable\):
+CMake Error at CMP0118-Common-Test5\.cmake:[0-9]+ \(add_custom_target\):
Cannot find source file:
-[ \t]*.*Tests/RunCMake/CMP0118/(Generated_with_full_source_path[1-3]\.cpp|CMP0118-NEW-Test5-build/Generated_with_relative_path[2-3]\.cpp|CMP0118-NEW-Test5-build/Generated_with_full_path[2-3]\.cpp)
+[ \t]*.*Tests/RunCMake/CMP0118/(Generated_with_full_source_path[1-3]\.txt|CMP0118-NEW-Test5-build/Generated_with_relative_path[2-3]\.txt|CMP0118-NEW-Test5-build/Generated_with_full_path[2-3]\.txt)
Call Stack \(most recent call first\):
CMP0118-NEW-Test5\.cmake:[0-9]+ \(include\)
CMakeLists\.txt:[0-9]+ \(include\)
+
-CMake Error at CMP0118-Common-Test5\.cmake:[0-9]+ \(add_executable\):
+CMake Error at CMP0118-Common-Test5\.cmake:[0-9]+ \(add_custom_target\):
Cannot find source file:
-[ \t]*.*Tests/RunCMake/CMP0118/(Generated_with_full_source_path[1-3]\.cpp|CMP0118-NEW-Test5-build/Generated_with_relative_path[2-3]\.cpp|CMP0118-NEW-Test5-build/Generated_with_full_path[2-3]\.cpp)
+[ \t]*.*Tests/RunCMake/CMP0118/(Generated_with_full_source_path[1-3]\.txt|CMP0118-NEW-Test5-build/Generated_with_relative_path[2-3]\.txt|CMP0118-NEW-Test5-build/Generated_with_full_path[2-3]\.txt)
Call Stack \(most recent call first\):
CMP0118-NEW-Test5\.cmake:[0-9]+ \(include\)
CMakeLists\.txt:[0-9]+ \(include\)
+
-CMake Error at CMP0118-Common-Test5\.cmake:[0-9]+ \(add_executable\):
+CMake Error at CMP0118-Common-Test5\.cmake:[0-9]+ \(add_custom_target\):
Cannot find source file:
-[ \t]*.*Tests/RunCMake/CMP0118/(Generated_with_full_source_path[1-3]\.cpp|CMP0118-NEW-Test5-build/Generated_with_relative_path[2-3]\.cpp|CMP0118-NEW-Test5-build/Generated_with_full_path[2-3]\.cpp)
+[ \t]*.*Tests/RunCMake/CMP0118/(Generated_with_full_source_path[1-3]\.txt|CMP0118-NEW-Test5-build/Generated_with_relative_path[2-3]\.txt|CMP0118-NEW-Test5-build/Generated_with_full_path[2-3]\.txt)
Call Stack \(most recent call first\):
CMP0118-NEW-Test5\.cmake:[0-9]+ \(include\)
CMakeLists\.txt:[0-9]+ \(include\)
+
-(CMake Error at CMP0118-Common-Test5\.cmake:[0-9]+ \(add_executable\):
- No SOURCES given to target: executable[235-9]
-Call Stack \(most recent call first\):
- CMP0118-NEW-Test5\.cmake:[0-9]+ \(include\)
- CMakeLists\.txt:[0-9]+ \(include\)
-+)+
CMake Generate step failed\. Build files cannot be regenerated correctly\.$