diff options
author | Brad King <brad.king@kitware.com> | 2020-12-03 21:08:59 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-12-03 21:32:09 (GMT) |
commit | 43506037d2d79434e9a710f0c597d265fcf2463b (patch) | |
tree | fd35393fe28241bd2795a7f9f1af6e94d15834b2 /Tests/RunCMake/CMP0118/CMP0118-WARN-Test4-stderr.txt | |
parent | 8bdde2b161979ba61f41bfce2bdba1bb38cdcb04 (diff) | |
download | CMake-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-WARN-Test4-stderr.txt')
-rw-r--r-- | Tests/RunCMake/CMP0118/CMP0118-WARN-Test4-stderr.txt | 134 |
1 files changed, 64 insertions, 70 deletions
diff --git a/Tests/RunCMake/CMP0118/CMP0118-WARN-Test4-stderr.txt b/Tests/RunCMake/CMP0118/CMP0118-WARN-Test4-stderr.txt index 5e8ecf5..ceeb570 100644 --- a/Tests/RunCMake/CMP0118/CMP0118-WARN-Test4-stderr.txt +++ b/Tests/RunCMake/CMP0118/CMP0118-WARN-Test4-stderr.txt @@ -11,12 +11,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_path1\.cpp: # 1a # GENERATED = `0` -Generated_with_full_path1\.cpp: # 1b # GENERATED = `0` -Generated_with_full_path1\.cpp: # 2a # GENERATED = `0` -Generated_with_full_path1\.cpp: # 2b # GENERATED = `0` -Generated_with_full_path1\.cpp: # 3a # GENERATED = `0` -Generated_with_full_path1\.cpp: # 3b # GENERATED = `0` +Generated_with_full_path1\.txt: # 1a # GENERATED = `0` +Generated_with_full_path1\.txt: # 1b # GENERATED = `0` +Generated_with_full_path1\.txt: # 2a # GENERATED = `0` +Generated_with_full_path1\.txt: # 2b # GENERATED = `0` +Generated_with_full_path1\.txt: # 3a # GENERATED = `0` +Generated_with_full_path1\.txt: # 3b # GENERATED = `0` CMake Warning \(dev\) at CMP0118-Common-Test4\.cmake:[0-9]+ \(set_property\): Policy CMP0118 is not set: The GENERATED source file property is now visible in all directories\. Run "cmake --help-policy CMP0118" for policy @@ -30,12 +30,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-Test4\.cmake:[0-9]+ \(set_property\): Policy CMP0118 is not set: The GENERATED source file property is now visible in all directories\. Run "cmake --help-policy CMP0118" for policy @@ -49,12 +49,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_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_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` CMake Warning \(dev\) at CMP0118-Common-Test4\.cmake:[0-9]+ \(set_property\): Policy CMP0118 is not set: The GENERATED source file property is now visible in all directories\. Run "cmake --help-policy CMP0118" for policy @@ -68,12 +68,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_path1\.cpp: # 1a # GENERATED = `0` -Generated_with_relative_path1\.cpp: # 1b # GENERATED = `0` -Generated_with_relative_path1\.cpp: # 2a # GENERATED = `0` -Generated_with_relative_path1\.cpp: # 2b # GENERATED = `0` -Generated_with_relative_path1\.cpp: # 3a # GENERATED = `0` -Generated_with_relative_path1\.cpp: # 3b # GENERATED = `0` +Generated_with_relative_path1\.txt: # 1a # GENERATED = `0` +Generated_with_relative_path1\.txt: # 1b # GENERATED = `0` +Generated_with_relative_path1\.txt: # 2a # GENERATED = `0` +Generated_with_relative_path1\.txt: # 2b # GENERATED = `0` +Generated_with_relative_path1\.txt: # 3a # GENERATED = `0` +Generated_with_relative_path1\.txt: # 3b # GENERATED = `0` CMake Warning \(dev\) at CMP0118-Common-Test4\.cmake:[0-9]+ \(set_property\): Policy CMP0118 is not set: The GENERATED source file property is now visible in all directories\. Run "cmake --help-policy CMP0118" for policy @@ -87,12 +87,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-Test4\.cmake:[0-9]+ \(set_property\): Policy CMP0118 is not set: The GENERATED source file property is now visible in all directories\. Run "cmake --help-policy CMP0118" for policy @@ -106,12 +106,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_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_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` CMake Warning \(dev\) at CMP0118-Common-Test4\.cmake:[0-9]+ \(set_property\): Policy CMP0118 is not set: The GENERATED source file property is now visible in all directories\. Run "cmake --help-policy CMP0118" for policy @@ -125,12 +125,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_path1\.cpp: # 1a # GENERATED = `0` -Generated_with_full_source_path1\.cpp: # 1b # GENERATED = `0` -Generated_with_full_source_path1\.cpp: # 2a # GENERATED = `0` -Generated_with_full_source_path1\.cpp: # 2b # GENERATED = `0` -Generated_with_full_source_path1\.cpp: # 3a # GENERATED = `0` -Generated_with_full_source_path1\.cpp: # 3b # GENERATED = `0` +Generated_with_full_source_path1\.txt: # 1a # GENERATED = `0` +Generated_with_full_source_path1\.txt: # 1b # GENERATED = `0` +Generated_with_full_source_path1\.txt: # 2a # GENERATED = `0` +Generated_with_full_source_path1\.txt: # 2b # GENERATED = `0` +Generated_with_full_source_path1\.txt: # 3a # GENERATED = `0` +Generated_with_full_source_path1\.txt: # 3b # GENERATED = `0` CMake Warning \(dev\) at CMP0118-Common-Test4\.cmake:[0-9]+ \(set_property\): Policy CMP0118 is not set: The GENERATED source file property is now visible in all directories\. Run "cmake --help-policy CMP0118" for policy @@ -144,12 +144,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-Test4\.cmake:[0-9]+ \(set_property\): Policy CMP0118 is not set: The GENERATED source file property is now visible in all directories\. Run "cmake --help-policy CMP0118" for policy @@ -163,56 +163,50 @@ 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-Test4\.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-Test4\.cmake:[0-9]+ \(add_custom_target\): Cannot find source file: -[ \t]*.*Tests/RunCMake/CMP0118/(Generated_with_full_source_path[1-3]\.cpp|CMP0118-WARN-Test4-build/Generated_with_full_path1\.cpp|CMP0118-WARN-Test4-build/Generated_with_relative_path1\.cpp) +[ \t]*.*Tests/RunCMake/CMP0118/(Generated_with_full_source_path[1-3]\.txt|CMP0118-WARN-Test4-build/Generated_with_full_path1\.txt|CMP0118-WARN-Test4-build/Generated_with_relative_path1\.txt) Call Stack \(most recent call first\): CMP0118-WARN-Test4\.cmake:[0-9]+ \(include\) CMakeLists\.txt:[0-9]+ \(include\) + -CMake Error at CMP0118-Common-Test4\.cmake:[0-9]+ \(add_executable\): +CMake Error at CMP0118-Common-Test4\.cmake:[0-9]+ \(add_custom_target\): Cannot find source file: -[ \t]*.*Tests/RunCMake/CMP0118/(Generated_with_full_source_path[1-3]\.cpp|CMP0118-WARN-Test4-build/Generated_with_full_path1\.cpp|CMP0118-WARN-Test4-build/Generated_with_relative_path1\.cpp) +[ \t]*.*Tests/RunCMake/CMP0118/(Generated_with_full_source_path[1-3]\.txt|CMP0118-WARN-Test4-build/Generated_with_full_path1\.txt|CMP0118-WARN-Test4-build/Generated_with_relative_path1\.txt) Call Stack \(most recent call first\): CMP0118-WARN-Test4\.cmake:[0-9]+ \(include\) CMakeLists\.txt:[0-9]+ \(include\) + -CMake Error at CMP0118-Common-Test4\.cmake:[0-9]+ \(add_executable\): +CMake Error at CMP0118-Common-Test4\.cmake:[0-9]+ \(add_custom_target\): Cannot find source file: -[ \t]*.*Tests/RunCMake/CMP0118/(Generated_with_full_source_path[1-3]\.cpp|CMP0118-WARN-Test4-build/Generated_with_full_path1\.cpp|CMP0118-WARN-Test4-build/Generated_with_relative_path1\.cpp) +[ \t]*.*Tests/RunCMake/CMP0118/(Generated_with_full_source_path[1-3]\.txt|CMP0118-WARN-Test4-build/Generated_with_full_path1\.txt|CMP0118-WARN-Test4-build/Generated_with_relative_path1\.txt) Call Stack \(most recent call first\): CMP0118-WARN-Test4\.cmake:[0-9]+ \(include\) CMakeLists\.txt:[0-9]+ \(include\) + -CMake Error at CMP0118-Common-Test4\.cmake:[0-9]+ \(add_executable\): +CMake Error at CMP0118-Common-Test4\.cmake:[0-9]+ \(add_custom_target\): Cannot find source file: -[ \t]*.*Tests/RunCMake/CMP0118/(Generated_with_full_source_path[1-3]\.cpp|CMP0118-WARN-Test4-build/Generated_with_full_path1\.cpp|CMP0118-WARN-Test4-build/Generated_with_relative_path1\.cpp) +[ \t]*.*Tests/RunCMake/CMP0118/(Generated_with_full_source_path[1-3]\.txt|CMP0118-WARN-Test4-build/Generated_with_full_path1\.txt|CMP0118-WARN-Test4-build/Generated_with_relative_path1\.txt) Call Stack \(most recent call first\): CMP0118-WARN-Test4\.cmake:[0-9]+ \(include\) CMakeLists\.txt:[0-9]+ \(include\) + -CMake Error at CMP0118-Common-Test4\.cmake:[0-9]+ \(add_executable\): +CMake Error at CMP0118-Common-Test4\.cmake:[0-9]+ \(add_custom_target\): Cannot find source file: -[ \t]*.*Tests/RunCMake/CMP0118/(Generated_with_full_source_path[1-3]\.cpp|CMP0118-WARN-Test4-build/Generated_with_full_path1\.cpp|CMP0118-WARN-Test4-build/Generated_with_relative_path1\.cpp) +[ \t]*.*Tests/RunCMake/CMP0118/(Generated_with_full_source_path[1-3]\.txt|CMP0118-WARN-Test4-build/Generated_with_full_path1\.txt|CMP0118-WARN-Test4-build/Generated_with_relative_path1\.txt) Call Stack \(most recent call first\): CMP0118-WARN-Test4\.cmake:[0-9]+ \(include\) CMakeLists\.txt:[0-9]+ \(include\) + -(CMake Error at CMP0118-Common-Test4\.cmake:[0-9]+ \(add_executable\): - No SOURCES given to target: executable[1-5] -Call Stack \(most recent call first\): - CMP0118-WARN-Test4\.cmake:[0-9]+ \(include\) - CMakeLists\.txt:[0-9]+ \(include\) -+)+ CMake Generate step failed\. Build files cannot be regenerated correctly\.$ |