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-NEW-Test10-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-NEW-Test10-stderr.txt')
-rw-r--r-- | Tests/RunCMake/CMP0118/CMP0118-NEW-Test10-stderr.txt | 94 |
1 files changed, 44 insertions, 50 deletions
diff --git a/Tests/RunCMake/CMP0118/CMP0118-NEW-Test10-stderr.txt b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test10-stderr.txt index 024d263..cee4516 100644 --- a/Tests/RunCMake/CMP0118/CMP0118-NEW-Test10-stderr.txt +++ b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test10-stderr.txt @@ -1,55 +1,49 @@ -^Generated_source0\.cpp: # 1a # GENERATED = `1` -Generated_source0\.cpp: # 1b # GENERATED = `1` -Generated_source0\.cpp: # 2a # GENERATED = `1` -Generated_source0\.cpp: # 2b # GENERATED = `1` -Generated_source0\.cpp: # 3a # GENERATED = `0` -Generated_source0\.cpp: # 3b # GENERATED = `0` -Generated_source1\.cpp: # 1a # GENERATED = `1` -Generated_source1\.cpp: # 1b # GENERATED = `1` -Generated_source1\.cpp: # 2a # GENERATED = `1` -Generated_source1\.cpp: # 2b # GENERATED = `1` -Generated_source1\.cpp: # 3a # GENERATED = `0` -Generated_source1\.cpp: # 3b # GENERATED = `0` -Generated_source2\.cpp: # 1a # GENERATED = `1` -Generated_source2\.cpp: # 1b # GENERATED = `1` -Generated_source2\.cpp: # 2a # GENERATED = `1` -Generated_source2\.cpp: # 2b # GENERATED = `1` -Generated_source2\.cpp: # 3a # GENERATED = `0` -Generated_source2\.cpp: # 3b # GENERATED = `0` -Generated_source3\.cpp: # 1a # GENERATED = `1` -Generated_source3\.cpp: # 1b # GENERATED = `1` -Generated_source3\.cpp: # 2a # GENERATED = `1` -Generated_source3\.cpp: # 2b # GENERATED = `1` -Generated_source3\.cpp: # 3a # GENERATED = `0` -Generated_source3\.cpp: # 3b # GENERATED = `0` -Generated_source4\.cpp: # 1a # GENERATED = `0` -Generated_source4\.cpp: # 1b # GENERATED = `0` -Generated_source4\.cpp: # 2a # GENERATED = `0` -Generated_source4\.cpp: # 2b # GENERATED = `0` -Generated_source4\.cpp: # 3a # GENERATED = `0` -Generated_source4\.cpp: # 3b # GENERATED = `0` -Generated_source5\.cpp: # 1a # GENERATED = `1` -Generated_source5\.cpp: # 1b # GENERATED = `1` -Generated_source5\.cpp: # 2a # GENERATED = `1` -Generated_source5\.cpp: # 2b # GENERATED = `1` -Generated_source5\.cpp: # 3a # GENERATED = `0` -Generated_source5\.cpp: # 3b # GENERATED = `0` -Generated_source6\.cpp: # 1a # GENERATED = `1` -Generated_source6\.cpp: # 1b # GENERATED = `1` -Generated_source6\.cpp: # 2a # GENERATED = `1` -Generated_source6\.cpp: # 2b # GENERATED = `1` -Generated_source6\.cpp: # 3a # GENERATED = `0` -Generated_source6\.cpp: # 3b # GENERATED = `0` -CMake Error at CMP0118-Common-Test10\.cmake:[0-9]+ \(add_executable\): +^Generated_source0\.txt: # 1a # GENERATED = `1` +Generated_source0\.txt: # 1b # GENERATED = `1` +Generated_source0\.txt: # 2a # GENERATED = `1` +Generated_source0\.txt: # 2b # GENERATED = `1` +Generated_source0\.txt: # 3a # GENERATED = `0` +Generated_source0\.txt: # 3b # GENERATED = `0` +Generated_source1\.txt: # 1a # GENERATED = `1` +Generated_source1\.txt: # 1b # GENERATED = `1` +Generated_source1\.txt: # 2a # GENERATED = `1` +Generated_source1\.txt: # 2b # GENERATED = `1` +Generated_source1\.txt: # 3a # GENERATED = `0` +Generated_source1\.txt: # 3b # GENERATED = `0` +Generated_source2\.txt: # 1a # GENERATED = `1` +Generated_source2\.txt: # 1b # GENERATED = `1` +Generated_source2\.txt: # 2a # GENERATED = `1` +Generated_source2\.txt: # 2b # GENERATED = `1` +Generated_source2\.txt: # 3a # GENERATED = `0` +Generated_source2\.txt: # 3b # GENERATED = `0` +Generated_source3\.txt: # 1a # GENERATED = `1` +Generated_source3\.txt: # 1b # GENERATED = `1` +Generated_source3\.txt: # 2a # GENERATED = `1` +Generated_source3\.txt: # 2b # GENERATED = `1` +Generated_source3\.txt: # 3a # GENERATED = `0` +Generated_source3\.txt: # 3b # GENERATED = `0` +Generated_source4\.txt: # 1a # GENERATED = `0` +Generated_source4\.txt: # 1b # GENERATED = `0` +Generated_source4\.txt: # 2a # GENERATED = `0` +Generated_source4\.txt: # 2b # GENERATED = `0` +Generated_source4\.txt: # 3a # GENERATED = `0` +Generated_source4\.txt: # 3b # GENERATED = `0` +Generated_source5\.txt: # 1a # GENERATED = `1` +Generated_source5\.txt: # 1b # GENERATED = `1` +Generated_source5\.txt: # 2a # GENERATED = `1` +Generated_source5\.txt: # 2b # GENERATED = `1` +Generated_source5\.txt: # 3a # GENERATED = `0` +Generated_source5\.txt: # 3b # GENERATED = `0` +Generated_source6\.txt: # 1a # GENERATED = `1` +Generated_source6\.txt: # 1b # GENERATED = `1` +Generated_source6\.txt: # 2a # GENERATED = `1` +Generated_source6\.txt: # 2b # GENERATED = `1` +Generated_source6\.txt: # 3a # GENERATED = `0` +Generated_source6\.txt: # 3b # GENERATED = `0` +CMake Error at CMP0118-Common-Test10\.cmake:[0-9]+ \(add_custom_target\): Cannot find source file: -[ \t]*.*Tests/RunCMake/CMP0118/CMP0118-NEW-Test10-build/Generated_source4\.cpp -Call Stack \(most recent call first\): - CMP0118-NEW-Test10\.cmake:[0-9]+ \(include\) - CMakeLists\.txt:[0-9]+ \(include\) -+ -CMake Error at CMP0118-Common-Test10\.cmake:[0-9]+ \(add_executable\): - No SOURCES given to target: executable4 +[ \t]*.*Tests/RunCMake/CMP0118/CMP0118-NEW-Test10-build/Generated_source4\.txt Call Stack \(most recent call first\): CMP0118-NEW-Test10\.cmake:[0-9]+ \(include\) CMakeLists\.txt:[0-9]+ \(include\) |