diff options
author | Deniz Bahadir <dbahadir@benocs.com> | 2020-11-09 00:06:51 (GMT) |
---|---|---|
committer | Deniz Bahadir <dbahadir@benocs.com> | 2020-11-24 17:16:51 (GMT) |
commit | 6624b65b3f478574512a23a7220abff4ed590011 (patch) | |
tree | 41a239c43b3a223ea8f27beac5b12d299d39c62c /Tests/RunCMake/CMP0118 | |
parent | b14fe704f8fad5785f10f0d56c5b49a8e0e0e94c (diff) | |
download | CMake-6624b65b3f478574512a23a7220abff4ed590011.zip CMake-6624b65b3f478574512a23a7220abff4ed590011.tar.gz CMake-6624b65b3f478574512a23a7220abff4ed590011.tar.bz2 |
GENERATED prop: Add implementation for policy CMP0118 being set to NEW
* Adding implementation for policy CMP0118 being set to `NEW`.
* Adding new tests for policy CMP0118 being set to `NEW`.
* Checking the `GENERATED` property with `get_source_file_property` or
`get_property` now always returns exactly `1` or `0`. No other values
will be returned. Note, that this is a backwards-incompatible change,
even when policy CMP0118 is unset or set to `OLD`.
* Additionally, as `get_source_file_property` and `get_property` now
always check if a source-file was marked globally visible, even when
CMP0118 is unset or set to `OLD`, they possibly return `1` where they
might have returned `0` before the changes introduced by this commit.
Note, that this is a backwards-incompatible change, even when policy
CMP0118 is unset or set to `OLD`.
* As a consequence, the tests for policy CMP0118 being unset or set to
`OLD` got slightly adjusted, too, to reflect these changes in
behavior.
Diffstat (limited to 'Tests/RunCMake/CMP0118')
83 files changed, 2202 insertions, 806 deletions
diff --git a/Tests/RunCMake/CMP0118/CMP0118-NEW-Test1-result.txt b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test1-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test1-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/CMP0118/CMP0118-NEW-Test1-stderr.txt b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test1-stderr.txt new file mode 100644 index 0000000..85ff65c --- /dev/null +++ b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test1-stderr.txt @@ -0,0 +1,16 @@ +^prop: `0` +CMake Error at CMP0118-Common-Test1\.cmake:[0-9]+ \(add_executable\): + Cannot find source file: + +[ \t]*.*Tests/RunCMake/CMP0118/CMP0118-NEW-Test1-build/GeneratedMain\.cpp +Call Stack \(most recent call first\): + CMP0118-NEW-Test1\.cmake:[0-9]+ \(include\) + CMakeLists\.txt:[0-9]+ \(include\) ++ +CMake Error at CMP0118-Common-Test1\.cmake:[0-9]+ \(add_executable\): + No SOURCES given to target: executable +Call Stack \(most recent call first\): + CMP0118-NEW-Test1\.cmake:[0-9]+ \(include\) + CMakeLists\.txt:[0-9]+ \(include\) ++ +CMake Generate step failed\. Build files cannot be regenerated correctly\.$ diff --git a/Tests/RunCMake/CMP0118/CMP0118-NEW-Test1.cmake b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test1.cmake new file mode 100644 index 0000000..bbbee43 --- /dev/null +++ b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test1.cmake @@ -0,0 +1,2 @@ +cmake_policy(SET CMP0118 NEW) +include(CMP0118-Common-Test1.cmake) diff --git a/Tests/RunCMake/CMP0118/CMP0118-NEW-Test10-result.txt b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test10-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test10-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/CMP0118/CMP0118-NEW-Test10-stderr.txt b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test10-stderr.txt new file mode 100644 index 0000000..024d263 --- /dev/null +++ b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test10-stderr.txt @@ -0,0 +1,57 @@ +^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\): + 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 +Call Stack \(most recent call first\): + CMP0118-NEW-Test10\.cmake:[0-9]+ \(include\) + CMakeLists\.txt:[0-9]+ \(include\) ++ +CMake Generate step failed\. Build files cannot be regenerated correctly\.$ diff --git a/Tests/RunCMake/CMP0118/CMP0118-NEW-Test10.cmake b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test10.cmake new file mode 100644 index 0000000..15a7178 --- /dev/null +++ b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test10.cmake @@ -0,0 +1,2 @@ +cmake_policy(SET CMP0118 NEW) +include(CMP0118-Common-Test10.cmake) diff --git a/Tests/RunCMake/CMP0118/CMP0118-NEW-Test11-result.txt b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test11-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test11-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/CMP0118/CMP0118-NEW-Test11-stderr.txt b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test11-stderr.txt new file mode 100644 index 0000000..7e660ad --- /dev/null +++ b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test11-stderr.txt @@ -0,0 +1,86 @@ +^(CMake Warning \(dev\) at subdir-Common-Test11/CMakeLists\.txt:[0-9]+ \(set_property\): + Unsetting the 'GENERATED' property is not allowed under CMP0118! + +This warning is for project developers\. Use -Wno-dev to suppress it\. ++ +(CMake Warning \(dev\) at CMP0118-Common-Test11\.cmake:[0-9]+ \(add_subdirectory\): + Unsetting the 'GENERATED' property is not allowed under CMP0118! + +Call Stack \(most recent call first\): + CMP0118-NEW-Test11\.cmake:[0-9]+ \(include\) + CMakeLists\.txt:[0-9]+ \(include\) +This warning is for project developers\. Use -Wno-dev to suppress it\. ++)+)+ +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 = `0` +Generated_source5\.cpp: # 1b # GENERATED = `0` +Generated_source5\.cpp: # 2a # GENERATED = `0` +Generated_source5\.cpp: # 2b # GENERATED = `0` +Generated_source5\.cpp: # 3a # GENERATED = `0` +Generated_source5\.cpp: # 3b # GENERATED = `0` +Generated_source6\.cpp: # 1a # GENERATED = `0` +Generated_source6\.cpp: # 1b # GENERATED = `0` +Generated_source6\.cpp: # 2a # GENERATED = `0` +Generated_source6\.cpp: # 2b # GENERATED = `0` +Generated_source6\.cpp: # 3a # GENERATED = `0` +Generated_source6\.cpp: # 3b # GENERATED = `0` +CMake Error at CMP0118-Common-Test11\.cmake:[0-9]+ \(add_executable\): + Cannot find source file: + +[ \t]*.*Tests/RunCMake/CMP0118/CMP0118-NEW-Test11-build/Generated_source[4-6]\.cpp +Call Stack \(most recent call first\): + CMP0118-NEW-Test11\.cmake:[0-9]+ \(include\) + CMakeLists\.txt:[0-9]+ \(include\) ++ +CMake Error at CMP0118-Common-Test11\.cmake:[0-9]+ \(add_executable\): + Cannot find source file: + +[ \t]*.*Tests/RunCMake/CMP0118/CMP0118-NEW-Test11-build/Generated_source[4-6]\.cpp +Call Stack \(most recent call first\): + CMP0118-NEW-Test11\.cmake:[0-9]+ \(include\) + CMakeLists\.txt:[0-9]+ \(include\) ++ +CMake Error at CMP0118-Common-Test11\.cmake:[0-9]+ \(add_executable\): + Cannot find source file: + +[ \t]*.*Tests/RunCMake/CMP0118/CMP0118-NEW-Test11-build/Generated_source[4-6]\.cpp +Call Stack \(most recent call first\): + CMP0118-NEW-Test11\.cmake:[0-9]+ \(include\) + CMakeLists\.txt:[0-9]+ \(include\) ++ +(CMake Error at CMP0118-Common-Test11\.cmake:[0-9]+ \(add_executable\): + No SOURCES given to target: executable[4-6] +Call Stack \(most recent call first\): + CMP0118-NEW-Test11\.cmake:[0-9]+ \(include\) + CMakeLists\.txt:[0-9]+ \(include\) ++)+ +CMake Generate step failed\. Build files cannot be regenerated correctly\.$ diff --git a/Tests/RunCMake/CMP0118/CMP0118-NEW-Test11.cmake b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test11.cmake new file mode 100644 index 0000000..cb87a86 --- /dev/null +++ b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test11.cmake @@ -0,0 +1,2 @@ +cmake_policy(SET CMP0118 NEW) +include(CMP0118-Common-Test11.cmake) diff --git a/Tests/RunCMake/CMP0118/CMP0118-NEW-Test12-result.txt b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test12-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test12-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/CMP0118/CMP0118-NEW-Test12-stderr.txt b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test12-stderr.txt new file mode 100644 index 0000000..404787c --- /dev/null +++ b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test12-stderr.txt @@ -0,0 +1,51 @@ +^CMake Error at subdir-Common-Test12/CMakeLists\.txt:[0-9]+ \(add_custom_command\): + TARGET 'executable[4-6]' was not created in this directory\. ++ +CMake Error at subdir-Common-Test12/CMakeLists\.txt:[0-9]+ \(add_custom_command\): + TARGET 'executable[4-6]' was not created in this directory\. ++ +CMake Error at subdir-Common-Test12/CMakeLists\.txt:[0-9]+ \(add_custom_command\): + TARGET 'executable[4-6]' was not created in this directory\. ++ +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`$ diff --git a/Tests/RunCMake/CMP0118/CMP0118-NEW-Test12.cmake b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test12.cmake new file mode 100644 index 0000000..61bf977 --- /dev/null +++ b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test12.cmake @@ -0,0 +1,2 @@ +cmake_policy(SET CMP0118 NEW) +include(CMP0118-Common-Test12.cmake) diff --git a/Tests/RunCMake/CMP0118/CMP0118-NEW-Test13-result.txt b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test13-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test13-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/CMP0118/CMP0118-NEW-Test13-stderr.txt b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test13-stderr.txt new file mode 100644 index 0000000..92ac33e --- /dev/null +++ b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test13-stderr.txt @@ -0,0 +1,64 @@ +^CMake Error at subdir-Common-Test13/CMakeLists\.txt:[0-9]+ \(add_custom_command\): + TARGET 'executable[4-6]' was not created in this directory\. ++ +CMake Error at subdir-Common-Test13/CMakeLists\.txt:[0-9]+ \(add_custom_command\): + TARGET 'executable[4-6]' was not created in this directory\. ++ +CMake Error at subdir-Common-Test13/CMakeLists\.txt:[0-9]+ \(add_custom_command\): + TARGET 'executable[4-6]' was not created in this directory\. ++ +(CMake Warning \(dev\) at subdir-Common-Test13/CMakeLists\.txt:[0-9]+ \(set_property\): + Unsetting the 'GENERATED' property is not allowed under CMP0118! + +This warning is for project developers\. Use -Wno-dev to suppress it\. ++ +(CMake Warning \(dev\) at CMP0118-Common-Test13\.cmake:[0-9]+ \(add_subdirectory\): + Unsetting the 'GENERATED' property is not allowed under CMP0118! + +Call Stack \(most recent call first\): + CMP0118-NEW-Test13\.cmake:[0-9]+ \(include\) + CMakeLists\.txt:[0-9]+ \(include\) +This warning is for project developers\. Use -Wno-dev to suppress it\. ++)+)+ +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 = `0` +Generated_source5\.cpp: # 1b # GENERATED = `0` +Generated_source5\.cpp: # 2a # GENERATED = `0` +Generated_source5\.cpp: # 2b # GENERATED = `0` +Generated_source5\.cpp: # 3a # GENERATED = `0` +Generated_source5\.cpp: # 3b # GENERATED = `0` +Generated_source6\.cpp: # 1a # GENERATED = `0` +Generated_source6\.cpp: # 1b # GENERATED = `0` +Generated_source6\.cpp: # 2a # GENERATED = `0` +Generated_source6\.cpp: # 2b # GENERATED = `0` +Generated_source6\.cpp: # 3a # GENERATED = `0` +Generated_source6\.cpp: # 3b # GENERATED = `0`$ diff --git a/Tests/RunCMake/CMP0118/CMP0118-NEW-Test13.cmake b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test13.cmake new file mode 100644 index 0000000..569e4c6 --- /dev/null +++ b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test13.cmake @@ -0,0 +1,2 @@ +cmake_policy(SET CMP0118 NEW) +include(CMP0118-Common-Test13.cmake) diff --git a/Tests/RunCMake/CMP0118/CMP0118-NEW-Test14-result.txt b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test14-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test14-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/CMP0118/CMP0118-NEW-Test14-stderr.txt b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test14-stderr.txt new file mode 100644 index 0000000..cd14945 --- /dev/null +++ b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test14-stderr.txt @@ -0,0 +1,57 @@ +^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-Test14\.cmake:[0-9]+ \(add_executable\): + Cannot find source file: + +[ \t]*.*Tests/RunCMake/CMP0118/CMP0118-NEW-Test14-build/Generated_source4\.cpp +Call Stack \(most recent call first\): + CMP0118-NEW-Test14\.cmake:[0-9]+ \(include\) + CMakeLists\.txt:[0-9]+ \(include\) ++ +CMake Error at CMP0118-Common-Test14\.cmake:[0-9]+ \(add_executable\): + No SOURCES given to target: executable4 +Call Stack \(most recent call first\): + CMP0118-NEW-Test14\.cmake:[0-9]+ \(include\) + CMakeLists\.txt:[0-9]+ \(include\) ++ +CMake Generate step failed\. Build files cannot be regenerated correctly\.$ diff --git a/Tests/RunCMake/CMP0118/CMP0118-NEW-Test14.cmake b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test14.cmake new file mode 100644 index 0000000..e7d8d77 --- /dev/null +++ b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test14.cmake @@ -0,0 +1,2 @@ +cmake_policy(SET CMP0118 NEW) +include(CMP0118-Common-Test14.cmake) diff --git a/Tests/RunCMake/CMP0118/CMP0118-NEW-Test15-result.txt b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test15-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test15-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/CMP0118/CMP0118-NEW-Test15-stderr.txt b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test15-stderr.txt new file mode 100644 index 0000000..6c66392 --- /dev/null +++ b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test15-stderr.txt @@ -0,0 +1,86 @@ +^(CMake Warning \(dev\) at subdir-Common-Test15/CMakeLists\.txt:[0-9]+ \(set_property\): + Unsetting the 'GENERATED' property is not allowed under CMP0118! + +This warning is for project developers\. Use -Wno-dev to suppress it\. ++ +(CMake Warning \(dev\) at CMP0118-Common-Test15\.cmake:[0-9]+ \(add_subdirectory\): + Unsetting the 'GENERATED' property is not allowed under CMP0118! + +Call Stack \(most recent call first\): + CMP0118-NEW-Test15\.cmake:[0-9]+ \(include\) + CMakeLists\.txt:[0-9]+ \(include\) +This warning is for project developers\. Use -Wno-dev to suppress it\. ++)+)+ +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 = `0` +Generated_source5\.cpp: # 1b # GENERATED = `0` +Generated_source5\.cpp: # 2a # GENERATED = `0` +Generated_source5\.cpp: # 2b # GENERATED = `0` +Generated_source5\.cpp: # 3a # GENERATED = `0` +Generated_source5\.cpp: # 3b # GENERATED = `0` +Generated_source6\.cpp: # 1a # GENERATED = `0` +Generated_source6\.cpp: # 1b # GENERATED = `0` +Generated_source6\.cpp: # 2a # GENERATED = `0` +Generated_source6\.cpp: # 2b # GENERATED = `0` +Generated_source6\.cpp: # 3a # GENERATED = `0` +Generated_source6\.cpp: # 3b # GENERATED = `0` +CMake Error at CMP0118-Common-Test15\.cmake:[0-9]+ \(add_executable\): + Cannot find source file: + +[ \t]*.*Tests/RunCMake/CMP0118/CMP0118-NEW-Test15-build/Generated_source[4-6]\.cpp +Call Stack \(most recent call first\): + CMP0118-NEW-Test15\.cmake:[0-9]+ \(include\) + CMakeLists\.txt:[0-9]+ \(include\) ++ +CMake Error at CMP0118-Common-Test15\.cmake:[0-9]+ \(add_executable\): + Cannot find source file: + +[ \t]*.*Tests/RunCMake/CMP0118/CMP0118-NEW-Test15-build/Generated_source[4-6]\.cpp +Call Stack \(most recent call first\): + CMP0118-NEW-Test15\.cmake:[0-9]+ \(include\) + CMakeLists\.txt:[0-9]+ \(include\) ++ +CMake Error at CMP0118-Common-Test15\.cmake:[0-9]+ \(add_executable\): + Cannot find source file: + +[ \t]*.*Tests/RunCMake/CMP0118/CMP0118-NEW-Test15-build/Generated_source[4-6]\.cpp +Call Stack \(most recent call first\): + CMP0118-NEW-Test15\.cmake:[0-9]+ \(include\) + CMakeLists\.txt:[0-9]+ \(include\) ++ +(CMake Error at CMP0118-Common-Test15\.cmake:[0-9]+ \(add_executable\): + No SOURCES given to target: executable[4-6] +Call Stack \(most recent call first\): + CMP0118-NEW-Test15\.cmake:[0-9]+ \(include\) + CMakeLists\.txt:[0-9]+ \(include\) ++)+ +CMake Generate step failed\. Build files cannot be regenerated correctly\.$ diff --git a/Tests/RunCMake/CMP0118/CMP0118-NEW-Test15.cmake b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test15.cmake new file mode 100644 index 0000000..93513ae --- /dev/null +++ b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test15.cmake @@ -0,0 +1,2 @@ +cmake_policy(SET CMP0118 NEW) +include(CMP0118-Common-Test15.cmake) diff --git a/Tests/RunCMake/CMP0118/CMP0118-NEW-Test2-stderr.txt b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test2-stderr.txt new file mode 100644 index 0000000..403ce5a --- /dev/null +++ b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test2-stderr.txt @@ -0,0 +1 @@ +^prop: `1`$ diff --git a/Tests/RunCMake/CMP0118/CMP0118-NEW-Test2.cmake b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test2.cmake new file mode 100644 index 0000000..ee8233d --- /dev/null +++ b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test2.cmake @@ -0,0 +1,2 @@ +cmake_policy(SET CMP0118 NEW) +include(CMP0118-Common-Test2.cmake) diff --git a/Tests/RunCMake/CMP0118/CMP0118-NEW-Test3-result.txt b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test3-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test3-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/CMP0118/CMP0118-NEW-Test3-stderr.txt b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test3-stderr.txt new file mode 100644 index 0000000..4002989 --- /dev/null +++ b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test3-stderr.txt @@ -0,0 +1,93 @@ +^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_path2\.cpp: # 1a # GENERATED = `1` +Generated_with_full_path2\.cpp: # 1b # GENERATED = `1` +Generated_with_full_path2\.cpp: # 2a # GENERATED = `1` +Generated_with_full_path2\.cpp: # 2b # GENERATED = `1` +Generated_with_full_path2\.cpp: # 3a # GENERATED = `0` +Generated_with_full_path2\.cpp: # 3b # GENERATED = `0` +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_relative_path2\.cpp: # 1a # GENERATED = `1` +Generated_with_relative_path2\.cpp: # 1b # GENERATED = `1` +Generated_with_relative_path2\.cpp: # 2a # GENERATED = `1` +Generated_with_relative_path2\.cpp: # 2b # GENERATED = `1` +Generated_with_relative_path2\.cpp: # 3a # GENERATED = `0` +Generated_with_relative_path2\.cpp: # 3b # GENERATED = `0` +Generated_with_relative_path3\.cpp: # 1a # GENERATED = `0` +Generated_with_relative_path3\.cpp: # 1b # GENERATED = `0` +Generated_with_relative_path3\.cpp: # 2a # GENERATED = `1` +Generated_with_relative_path3\.cpp: # 2b # GENERATED = `1` +Generated_with_relative_path3\.cpp: # 3a # GENERATED = `1` +Generated_with_relative_path3\.cpp: # 3b # GENERATED = `1` +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_full_source_path2\.cpp: # 1a # GENERATED = `1` +Generated_with_full_source_path2\.cpp: # 1b # GENERATED = `1` +Generated_with_full_source_path2\.cpp: # 2a # GENERATED = `1` +Generated_with_full_source_path2\.cpp: # 2b # GENERATED = `1` +Generated_with_full_source_path2\.cpp: # 3a # GENERATED = `0` +Generated_with_full_source_path2\.cpp: # 3b # GENERATED = `0` +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-Test3\.cmake:[0-9]+ \(add_executable\): + Cannot find source file: + +[ \t]*.*Tests/RunCMake/CMP0118/(Generated_with_full_source_path[1-3]\.cpp|CMP0118-NEW-Test3-build/Generated_with_full_path3\.cpp) +Call Stack \(most recent call first\): + CMP0118-NEW-Test3\.cmake:[0-9]+ \(include\) + CMakeLists\.txt:[0-9]+ \(include\) ++ +CMake Error at CMP0118-Common-Test3\.cmake:[0-9]+ \(add_executable\): + Cannot find source file: + +[ \t]*.*Tests/RunCMake/CMP0118/(Generated_with_full_source_path[1-3]\.cpp|CMP0118-NEW-Test3-build/Generated_with_full_path3\.cpp) +Call Stack \(most recent call first\): + CMP0118-NEW-Test3\.cmake:[0-9]+ \(include\) + CMakeLists\.txt:[0-9]+ \(include\) ++ +CMake Error at CMP0118-Common-Test3\.cmake:[0-9]+ \(add_executable\): + Cannot find source file: + +[ \t]*.*Tests/RunCMake/CMP0118/(Generated_with_full_source_path[1-3]\.cpp|CMP0118-NEW-Test3-build/Generated_with_full_path3\.cpp) +Call Stack \(most recent call first\): + CMP0118-NEW-Test3\.cmake:[0-9]+ \(include\) + CMakeLists\.txt:[0-9]+ \(include\) ++ +CMake Error at CMP0118-Common-Test3\.cmake:[0-9]+ \(add_executable\): + Cannot find source file: + +[ \t]*.*Tests/RunCMake/CMP0118/(Generated_with_full_source_path[1-3]\.cpp|CMP0118-NEW-Test3-build/Generated_with_full_path3\.cpp) +Call Stack \(most recent call first\): + CMP0118-NEW-Test3\.cmake:[0-9]+ \(include\) + CMakeLists\.txt:[0-9]+ \(include\) ++ +(CMake Error at CMP0118-Common-Test3\.cmake:[0-9]+ \(add_executable\): + No SOURCES given to target: executable[13-5] +Call Stack \(most recent call first\): + CMP0118-NEW-Test3\.cmake:[0-9]+ \(include\) + CMakeLists\.txt:[0-9]+ \(include\) ++)+ +CMake Generate step failed\. Build files cannot be regenerated correctly\.$ diff --git a/Tests/RunCMake/CMP0118/CMP0118-NEW-Test3.cmake b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test3.cmake new file mode 100644 index 0000000..b9533fd --- /dev/null +++ b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test3.cmake @@ -0,0 +1,2 @@ +cmake_policy(SET CMP0118 NEW) +include(CMP0118-Common-Test3.cmake) diff --git a/Tests/RunCMake/CMP0118/CMP0118-NEW-Test3b-result.txt b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test3b-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test3b-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/CMP0118/CMP0118-NEW-Test3b-stderr.txt b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test3b-stderr.txt new file mode 100644 index 0000000..21177bc --- /dev/null +++ b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test3b-stderr.txt @@ -0,0 +1,93 @@ +^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_path2\.cpp: # 1a # GENERATED = `1` +Generated_with_full_path2\.cpp: # 1b # GENERATED = `1` +Generated_with_full_path2\.cpp: # 2a # GENERATED = `1` +Generated_with_full_path2\.cpp: # 2b # GENERATED = `1` +Generated_with_full_path2\.cpp: # 3a # GENERATED = `0` +Generated_with_full_path2\.cpp: # 3b # GENERATED = `0` +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_relative_path2\.cpp: # 1a # GENERATED = `1` +Generated_with_relative_path2\.cpp: # 1b # GENERATED = `1` +Generated_with_relative_path2\.cpp: # 2a # GENERATED = `1` +Generated_with_relative_path2\.cpp: # 2b # GENERATED = `1` +Generated_with_relative_path2\.cpp: # 3a # GENERATED = `0` +Generated_with_relative_path2\.cpp: # 3b # GENERATED = `0` +Generated_with_relative_path3\.cpp: # 1a # GENERATED = `0` +Generated_with_relative_path3\.cpp: # 1b # GENERATED = `0` +Generated_with_relative_path3\.cpp: # 2a # GENERATED = `1` +Generated_with_relative_path3\.cpp: # 2b # GENERATED = `1` +Generated_with_relative_path3\.cpp: # 3a # GENERATED = `1` +Generated_with_relative_path3\.cpp: # 3b # GENERATED = `1` +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_full_source_path2\.cpp: # 1a # GENERATED = `1` +Generated_with_full_source_path2\.cpp: # 1b # GENERATED = `1` +Generated_with_full_source_path2\.cpp: # 2a # GENERATED = `1` +Generated_with_full_source_path2\.cpp: # 2b # GENERATED = `1` +Generated_with_full_source_path2\.cpp: # 3a # GENERATED = `0` +Generated_with_full_source_path2\.cpp: # 3b # GENERATED = `0` +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-Test3b\.cmake:[0-9]+ \(add_executable\): + Cannot find source file: + +[ \t]*.*Tests/RunCMake/CMP0118/(Generated_with_full_source_path[1-3]\.cpp|CMP0118-NEW-Test3b-build/Generated_with_full_path3\.cpp) +Call Stack \(most recent call first\): + CMP0118-NEW-Test3b\.cmake:[0-9]+ \(include\) + CMakeLists\.txt:[0-9]+ \(include\) ++ +CMake Error at CMP0118-Common-Test3b\.cmake:[0-9]+ \(add_executable\): + Cannot find source file: + +[ \t]*.*Tests/RunCMake/CMP0118/(Generated_with_full_source_path[1-3]\.cpp|CMP0118-NEW-Test3b-build/Generated_with_full_path3\.cpp) +Call Stack \(most recent call first\): + CMP0118-NEW-Test3b\.cmake:[0-9]+ \(include\) + CMakeLists\.txt:[0-9]+ \(include\) ++ +CMake Error at CMP0118-Common-Test3b\.cmake:[0-9]+ \(add_executable\): + Cannot find source file: + +[ \t]*.*Tests/RunCMake/CMP0118/(Generated_with_full_source_path[1-3]\.cpp|CMP0118-NEW-Test3b-build/Generated_with_full_path3\.cpp) +Call Stack \(most recent call first\): + CMP0118-NEW-Test3b\.cmake:[0-9]+ \(include\) + CMakeLists\.txt:[0-9]+ \(include\) ++ +CMake Error at CMP0118-Common-Test3b\.cmake:[0-9]+ \(add_executable\): + Cannot find source file: + +[ \t]*.*Tests/RunCMake/CMP0118/(Generated_with_full_source_path[1-3]\.cpp|CMP0118-NEW-Test3b-build/Generated_with_full_path3\.cpp) +Call Stack \(most recent call first\): + CMP0118-NEW-Test3b\.cmake:[0-9]+ \(include\) + CMakeLists\.txt:[0-9]+ \(include\) ++ +(CMake Error at CMP0118-Common-Test3b\.cmake:[0-9]+ \(add_executable\): + No SOURCES given to target: executable[13-5] +Call Stack \(most recent call first\): + CMP0118-NEW-Test3b\.cmake:[0-9]+ \(include\) + CMakeLists\.txt:[0-9]+ \(include\) ++)+ +CMake Generate step failed\. Build files cannot be regenerated correctly\.$ diff --git a/Tests/RunCMake/CMP0118/CMP0118-NEW-Test3b.cmake b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test3b.cmake new file mode 100644 index 0000000..79631e7 --- /dev/null +++ b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test3b.cmake @@ -0,0 +1,2 @@ +cmake_policy(SET CMP0118 NEW) +include(CMP0118-Common-Test3b.cmake) diff --git a/Tests/RunCMake/CMP0118/CMP0118-NEW-Test4-result.txt b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test4-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test4-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/CMP0118/CMP0118-NEW-Test4-stderr.txt b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test4-stderr.txt new file mode 100644 index 0000000..42c19a5 --- /dev/null +++ b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test4-stderr.txt @@ -0,0 +1,173 @@ +^CMake Warning \(dev\) at CMP0118-Common-Test4\.cmake:[0-9]+ \(set_property\): + Unsetting the 'GENERATED' property is not allowed under CMP0118! + +Call Stack \(most recent call first\): + CMP0118-NEW-Test4\.cmake:[0-9]+ \(include\) + 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` +CMake Warning \(dev\) at CMP0118-Common-Test4\.cmake:[0-9]+ \(set_property\): + Unsetting the 'GENERATED' property is not allowed under CMP0118! + +Call Stack \(most recent call first\): + CMP0118-NEW-Test4\.cmake:[0-9]+ \(include\) + 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` +CMake Warning \(dev\) at CMP0118-Common-Test4\.cmake:[0-9]+ \(set_property\): + Unsetting the 'GENERATED' property is not allowed under CMP0118! + +Call Stack \(most recent call first\): + CMP0118-NEW-Test4\.cmake:[0-9]+ \(include\) + 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` +CMake Warning \(dev\) at CMP0118-Common-Test4\.cmake:[0-9]+ \(set_property\): + Unsetting the 'GENERATED' property is not allowed under CMP0118! + +Call Stack \(most recent call first\): + CMP0118-NEW-Test4\.cmake:[0-9]+ \(include\) + 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` +CMake Warning \(dev\) at CMP0118-Common-Test4\.cmake:[0-9]+ \(set_property\): + Unsetting the 'GENERATED' property is not allowed under CMP0118! + +Call Stack \(most recent call first\): + CMP0118-NEW-Test4\.cmake:[0-9]+ \(include\) + 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` +CMake Warning \(dev\) at CMP0118-Common-Test4\.cmake:[0-9]+ \(set_property\): + Unsetting the 'GENERATED' property is not allowed under CMP0118! + +Call Stack \(most recent call first\): + CMP0118-NEW-Test4\.cmake:[0-9]+ \(include\) + 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` +CMake Warning \(dev\) at CMP0118-Common-Test4\.cmake:[0-9]+ \(set_property\): + Unsetting the 'GENERATED' property is not allowed under CMP0118! + +Call Stack \(most recent call first\): + CMP0118-NEW-Test4\.cmake:[0-9]+ \(include\) + 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` +CMake Warning \(dev\) at CMP0118-Common-Test4\.cmake:[0-9]+ \(set_property\): + Unsetting the 'GENERATED' property is not allowed under CMP0118! + +Call Stack \(most recent call first\): + CMP0118-NEW-Test4\.cmake:[0-9]+ \(include\) + 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` +CMake Warning \(dev\) at CMP0118-Common-Test4\.cmake:[0-9]+ \(set_property\): + Unsetting the 'GENERATED' property is not allowed under CMP0118! + +Call Stack \(most recent call first\): + CMP0118-NEW-Test4\.cmake:[0-9]+ \(include\) + 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\): + Cannot find source file: + +[ \t]*.*Tests/RunCMake/CMP0118/(Generated_with_full_source_path[1-3]\.cpp|CMP0118-NEW-Test4-build/Generated_with_full_path1\.cpp|CMP0118-NEW-Test4-build/Generated_with_relative_path1\.cpp) +Call Stack \(most recent call first\): + CMP0118-NEW-Test4\.cmake:[0-9]+ \(include\) + CMakeLists\.txt:[0-9]+ \(include\) ++ +CMake Error at CMP0118-Common-Test4\.cmake:[0-9]+ \(add_executable\): + Cannot find source file: + +[ \t]*.*Tests/RunCMake/CMP0118/(Generated_with_full_source_path[1-3]\.cpp|CMP0118-NEW-Test4-build/Generated_with_full_path1\.cpp|CMP0118-NEW-Test4-build/Generated_with_relative_path1\.cpp) +Call Stack \(most recent call first\): + CMP0118-NEW-Test4\.cmake:[0-9]+ \(include\) + CMakeLists\.txt:[0-9]+ \(include\) ++ +CMake Error at CMP0118-Common-Test4\.cmake:[0-9]+ \(add_executable\): + Cannot find source file: + +[ \t]*.*Tests/RunCMake/CMP0118/(Generated_with_full_source_path[1-3]\.cpp|CMP0118-NEW-Test4-build/Generated_with_full_path1\.cpp|CMP0118-NEW-Test4-build/Generated_with_relative_path1\.cpp) +Call Stack \(most recent call first\): + CMP0118-NEW-Test4\.cmake:[0-9]+ \(include\) + CMakeLists\.txt:[0-9]+ \(include\) ++ +CMake Error at CMP0118-Common-Test4\.cmake:[0-9]+ \(add_executable\): + Cannot find source file: + +[ \t]*.*Tests/RunCMake/CMP0118/(Generated_with_full_source_path[1-3]\.cpp|CMP0118-NEW-Test4-build/Generated_with_full_path1\.cpp|CMP0118-NEW-Test4-build/Generated_with_relative_path1\.cpp) +Call Stack \(most recent call first\): + CMP0118-NEW-Test4\.cmake:[0-9]+ \(include\) + CMakeLists\.txt:[0-9]+ \(include\) ++ +CMake Error at CMP0118-Common-Test4\.cmake:[0-9]+ \(add_executable\): + Cannot find source file: + +[ \t]*.*Tests/RunCMake/CMP0118/(Generated_with_full_source_path[1-3]\.cpp|CMP0118-NEW-Test4-build/Generated_with_full_path1\.cpp|CMP0118-NEW-Test4-build/Generated_with_relative_path1\.cpp) +Call Stack \(most recent call first\): + CMP0118-NEW-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-NEW-Test4\.cmake:[0-9]+ \(include\) + CMakeLists\.txt:[0-9]+ \(include\) ++)+ +CMake Generate step failed\. Build files cannot be regenerated correctly\.$ diff --git a/Tests/RunCMake/CMP0118/CMP0118-NEW-Test4.cmake b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test4.cmake new file mode 100644 index 0000000..8a7d35a --- /dev/null +++ b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test4.cmake @@ -0,0 +1,2 @@ +cmake_policy(SET CMP0118 NEW) +include(CMP0118-Common-Test4.cmake) diff --git a/Tests/RunCMake/CMP0118/CMP0118-NEW-Test4b-result.txt b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test4b-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test4b-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/CMP0118/CMP0118-NEW-Test4b-stderr.txt b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test4b-stderr.txt new file mode 100644 index 0000000..58f8d89 --- /dev/null +++ b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test4b-stderr.txt @@ -0,0 +1,173 @@ +^CMake Warning \(dev\) at CMP0118-Common-Test4b\.cmake:[0-9]+ \(set_property\): + Unsetting the 'GENERATED' property is not allowed under CMP0118! + +Call Stack \(most recent call first\): + CMP0118-NEW-Test4b\.cmake:[0-9]+ \(include\) + 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` +CMake Warning \(dev\) at CMP0118-Common-Test4b\.cmake:[0-9]+ \(set_property\): + Unsetting the 'GENERATED' property is not allowed under CMP0118! + +Call Stack \(most recent call first\): + CMP0118-NEW-Test4b\.cmake:[0-9]+ \(include\) + 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` +CMake Warning \(dev\) at CMP0118-Common-Test4b\.cmake:[0-9]+ \(set_property\): + Unsetting the 'GENERATED' property is not allowed under CMP0118! + +Call Stack \(most recent call first\): + CMP0118-NEW-Test4b\.cmake:[0-9]+ \(include\) + 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` +CMake Warning \(dev\) at CMP0118-Common-Test4b\.cmake:[0-9]+ \(set_property\): + Unsetting the 'GENERATED' property is not allowed under CMP0118! + +Call Stack \(most recent call first\): + CMP0118-NEW-Test4b\.cmake:[0-9]+ \(include\) + 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` +CMake Warning \(dev\) at CMP0118-Common-Test4b\.cmake:[0-9]+ \(set_property\): + Unsetting the 'GENERATED' property is not allowed under CMP0118! + +Call Stack \(most recent call first\): + CMP0118-NEW-Test4b\.cmake:[0-9]+ \(include\) + 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` +CMake Warning \(dev\) at CMP0118-Common-Test4b\.cmake:[0-9]+ \(set_property\): + Unsetting the 'GENERATED' property is not allowed under CMP0118! + +Call Stack \(most recent call first\): + CMP0118-NEW-Test4b\.cmake:[0-9]+ \(include\) + 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` +CMake Warning \(dev\) at CMP0118-Common-Test4b\.cmake:[0-9]+ \(set_property\): + Unsetting the 'GENERATED' property is not allowed under CMP0118! + +Call Stack \(most recent call first\): + CMP0118-NEW-Test4b\.cmake:[0-9]+ \(include\) + 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` +CMake Warning \(dev\) at CMP0118-Common-Test4b\.cmake:[0-9]+ \(set_property\): + Unsetting the 'GENERATED' property is not allowed under CMP0118! + +Call Stack \(most recent call first\): + CMP0118-NEW-Test4b\.cmake:[0-9]+ \(include\) + 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` +CMake Warning \(dev\) at CMP0118-Common-Test4b\.cmake:[0-9]+ \(set_property\): + Unsetting the 'GENERATED' property is not allowed under CMP0118! + +Call Stack \(most recent call first\): + CMP0118-NEW-Test4b\.cmake:[0-9]+ \(include\) + 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-Test4b\.cmake:[0-9]+ \(add_executable\): + Cannot find source file: + +[ \t]*.*Tests/RunCMake/CMP0118/(Generated_with_full_source_path[1-3]\.cpp|CMP0118-NEW-Test4b-build/Generated_with_full_path1\.cpp|CMP0118-NEW-Test4b-build/Generated_with_relative_path1\.cpp) +Call Stack \(most recent call first\): + CMP0118-NEW-Test4b\.cmake:[0-9]+ \(include\) + CMakeLists\.txt:[0-9]+ \(include\) ++ +CMake Error at CMP0118-Common-Test4b\.cmake:[0-9]+ \(add_executable\): + Cannot find source file: + +[ \t]*.*Tests/RunCMake/CMP0118/(Generated_with_full_source_path[1-3]\.cpp|CMP0118-NEW-Test4b-build/Generated_with_full_path1\.cpp|CMP0118-NEW-Test4b-build/Generated_with_relative_path1\.cpp) +Call Stack \(most recent call first\): + CMP0118-NEW-Test4b\.cmake:[0-9]+ \(include\) + CMakeLists\.txt:[0-9]+ \(include\) ++ +CMake Error at CMP0118-Common-Test4b\.cmake:[0-9]+ \(add_executable\): + Cannot find source file: + +[ \t]*.*Tests/RunCMake/CMP0118/(Generated_with_full_source_path[1-3]\.cpp|CMP0118-NEW-Test4b-build/Generated_with_full_path1\.cpp|CMP0118-NEW-Test4b-build/Generated_with_relative_path1\.cpp) +Call Stack \(most recent call first\): + CMP0118-NEW-Test4b\.cmake:[0-9]+ \(include\) + CMakeLists\.txt:[0-9]+ \(include\) ++ +CMake Error at CMP0118-Common-Test4b\.cmake:[0-9]+ \(add_executable\): + Cannot find source file: + +[ \t]*.*Tests/RunCMake/CMP0118/(Generated_with_full_source_path[1-3]\.cpp|CMP0118-NEW-Test4b-build/Generated_with_full_path1\.cpp|CMP0118-NEW-Test4b-build/Generated_with_relative_path1\.cpp) +Call Stack \(most recent call first\): + CMP0118-NEW-Test4b\.cmake:[0-9]+ \(include\) + CMakeLists\.txt:[0-9]+ \(include\) ++ +CMake Error at CMP0118-Common-Test4b\.cmake:[0-9]+ \(add_executable\): + Cannot find source file: + +[ \t]*.*Tests/RunCMake/CMP0118/(Generated_with_full_source_path[1-3]\.cpp|CMP0118-NEW-Test4b-build/Generated_with_full_path1\.cpp|CMP0118-NEW-Test4b-build/Generated_with_relative_path1\.cpp) +Call Stack \(most recent call first\): + CMP0118-NEW-Test4b\.cmake:[0-9]+ \(include\) + CMakeLists\.txt:[0-9]+ \(include\) ++ +(CMake Error at CMP0118-Common-Test4b\.cmake:[0-9]+ \(add_executable\): + No SOURCES given to target: executable[1-5] +Call Stack \(most recent call first\): + CMP0118-NEW-Test4b\.cmake:[0-9]+ \(include\) + CMakeLists\.txt:[0-9]+ \(include\) ++)+ +CMake Generate step failed\. Build files cannot be regenerated correctly\.$ diff --git a/Tests/RunCMake/CMP0118/CMP0118-NEW-Test4b.cmake b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test4b.cmake new file mode 100644 index 0000000..c03a39d --- /dev/null +++ b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test4b.cmake @@ -0,0 +1,2 @@ +cmake_policy(SET CMP0118 NEW) +include(CMP0118-Common-Test4b.cmake) diff --git a/Tests/RunCMake/CMP0118/CMP0118-NEW-Test5-result.txt b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test5-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test5-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/CMP0118/CMP0118-NEW-Test5-stderr.txt b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test5-stderr.txt new file mode 100644 index 0000000..0d26a57 --- /dev/null +++ b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test5-stderr.txt @@ -0,0 +1,180 @@ +^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` +CMake Warning \(dev\) at CMP0118-Common-Test5\.cmake:[0-9]+ \(set_property\): + Unsetting the 'GENERATED' property is not allowed under CMP0118! + +Call Stack \(most recent call first\): + CMP0118-NEW-Test5\.cmake:[0-9]+ \(include\) + 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` +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: + + Junk-value + + Replace it with a boolean value! + +Call Stack \(most recent call first\): + CMP0118-NEW-Test5\.cmake:[0-9]+ \(include\) + 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` +CMake Warning \(dev\) at CMP0118-Common-Test5\.cmake:[0-9]+ \(set_property\): + Unsetting the 'GENERATED' property is not allowed under CMP0118! + +Call Stack \(most recent call first\): + CMP0118-NEW-Test5\.cmake:[0-9]+ \(include\) + 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` +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: + + Junk-value + + Replace it with a boolean value! + +Call Stack \(most recent call first\): + CMP0118-NEW-Test5\.cmake:[0-9]+ \(include\) + 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` +CMake Warning \(dev\) at CMP0118-Common-Test5\.cmake:[0-9]+ \(set_property\): + Unsetting the 'GENERATED' property is not allowed under CMP0118! + +Call Stack \(most recent call first\): + CMP0118-NEW-Test5\.cmake:[0-9]+ \(include\) + 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` +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: + + Junk-value + + Replace it with a boolean value! + +Call Stack \(most recent call first\): + CMP0118-NEW-Test5\.cmake:[0-9]+ \(include\) + 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\): + 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) +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\): + 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) +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\): + 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) +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\): + 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) +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\): + 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) +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\): + 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) +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\): + 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) +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\.$ diff --git a/Tests/RunCMake/CMP0118/CMP0118-NEW-Test5.cmake b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test5.cmake new file mode 100644 index 0000000..691f94a --- /dev/null +++ b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test5.cmake @@ -0,0 +1,2 @@ +cmake_policy(SET CMP0118 NEW) +include(CMP0118-Common-Test5.cmake) diff --git a/Tests/RunCMake/CMP0118/CMP0118-NEW-Test6-result.txt b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test6-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test6-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/CMP0118/CMP0118-NEW-Test6-stderr.txt b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test6-stderr.txt new file mode 100644 index 0000000..c3fdd96 --- /dev/null +++ b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test6-stderr.txt @@ -0,0 +1,51 @@ +^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-Test6\.cmake:[0-9]+ \(add_executable\): + Cannot find source file: + +[ \t]*.*Tests/RunCMake/CMP0118/CMP0118-NEW-Test6-build/Generated_source4\.cpp +Call Stack \(most recent call first\): + CMP0118-NEW-Test6\.cmake:[0-9]+ \(include\) + CMakeLists\.txt:[0-9]+ \(include\) ++ +CMake Error at CMP0118-Common-Test6\.cmake:[0-9]+ \(add_executable\): + No SOURCES given to target: executable4 +Call Stack \(most recent call first\): + CMP0118-NEW-Test6\.cmake:[0-9]+ \(include\) + CMakeLists\.txt:[0-9]+ \(include\) ++ +CMake Generate step failed\. Build files cannot be regenerated correctly\.$ diff --git a/Tests/RunCMake/CMP0118/CMP0118-NEW-Test6.cmake b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test6.cmake new file mode 100644 index 0000000..09b87a5 --- /dev/null +++ b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test6.cmake @@ -0,0 +1,2 @@ +cmake_policy(SET CMP0118 NEW) +include(CMP0118-Common-Test6.cmake) diff --git a/Tests/RunCMake/CMP0118/CMP0118-NEW-Test7-result.txt b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test7-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test7-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/CMP0118/CMP0118-NEW-Test7-stderr.txt b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test7-stderr.txt new file mode 100644 index 0000000..4c2a2ae --- /dev/null +++ b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test7-stderr.txt @@ -0,0 +1,80 @@ +^(CMake Warning \(dev\) at subdir-Common-Test7/CMakeLists\.txt:[0-9]+ \(set_property\): + Unsetting the 'GENERATED' property is not allowed under CMP0118! + +This warning is for project developers\. Use -Wno-dev to suppress it\. ++ +(CMake Warning \(dev\) at CMP0118-Common-Test7\.cmake:[0-9]+ \(add_subdirectory\): + Unsetting the 'GENERATED' property is not allowed under CMP0118! + +Call Stack \(most recent call first\): + CMP0118-NEW-Test7\.cmake:[0-9]+ \(include\) + CMakeLists\.txt:[0-9]+ \(include\) +This warning is for project developers\. Use -Wno-dev to suppress it\. ++)+)+ +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 = `0` +Generated_source5\.cpp: # 1b # GENERATED = `0` +Generated_source5\.cpp: # 2a # GENERATED = `0` +Generated_source5\.cpp: # 2b # GENERATED = `0` +Generated_source5\.cpp: # 3a # GENERATED = `0` +Generated_source5\.cpp: # 3b # GENERATED = `0` +Generated_source6\.cpp: # 1a # GENERATED = `0` +Generated_source6\.cpp: # 1b # GENERATED = `0` +Generated_source6\.cpp: # 2a # GENERATED = `0` +Generated_source6\.cpp: # 2b # GENERATED = `0` +Generated_source6\.cpp: # 3a # GENERATED = `0` +Generated_source6\.cpp: # 3b # GENERATED = `0` +CMake Error at CMP0118-Common-Test7\.cmake:[0-9]+ \(add_executable\): + Cannot find source file: + +[ \t]*.*Tests/RunCMake/CMP0118/CMP0118-NEW-Test7-build/Generated_source[4-6]\.cpp +Call Stack \(most recent call first\): + CMP0118-NEW-Test7\.cmake:[0-9]+ \(include\) + CMakeLists\.txt:[0-9]+ \(include\) ++ +CMake Error at CMP0118-Common-Test7\.cmake:[0-9]+ \(add_executable\): + Cannot find source file: + +[ \t]*.*Tests/RunCMake/CMP0118/CMP0118-NEW-Test7-build/Generated_source[4-6]\.cpp +Call Stack \(most recent call first\): + CMP0118-NEW-Test7\.cmake:[0-9]+ \(include\) + CMakeLists\.txt:[0-9]+ \(include\) ++ +CMake Error at CMP0118-Common-Test7\.cmake:[0-9]+ \(add_executable\): + Cannot find source file: + +[ \t]*.*Tests/RunCMake/CMP0118/CMP0118-NEW-Test7-build/Generated_source[4-6]\.cpp +Call Stack \(most recent call first\): + CMP0118-NEW-Test7\.cmake:[0-9]+ \(include\) + CMakeLists\.txt:[0-9]+ \(include\) ++ +(CMake Error at CMP0118-Common-Test7\.cmake:[0-9]+ \(add_executable\): + No SOURCES given to target: executable[4-6] +Call Stack \(most recent call first\): + CMP0118-NEW-Test7\.cmake:[0-9]+ \(include\) + CMakeLists\.txt:[0-9]+ \(include\) ++)+ +CMake Generate step failed\. Build files cannot be regenerated correctly\.$ diff --git a/Tests/RunCMake/CMP0118/CMP0118-NEW-Test7.cmake b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test7.cmake new file mode 100644 index 0000000..ceb8beb --- /dev/null +++ b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test7.cmake @@ -0,0 +1,2 @@ +cmake_policy(SET CMP0118 NEW) +include(CMP0118-Common-Test7.cmake) diff --git a/Tests/RunCMake/CMP0118/CMP0118-NEW-Test8-result.txt b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test8-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test8-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/CMP0118/CMP0118-NEW-Test8-stderr.txt b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test8-stderr.txt new file mode 100644 index 0000000..44f94d4 --- /dev/null +++ b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test8-stderr.txt @@ -0,0 +1,51 @@ +^Generated_source1\.cpp: # 1a # GENERATED = `0` +Generated_source1\.cpp: # 1b # GENERATED = `0` +Generated_source1\.cpp: # 2a # GENERATED = `0` +Generated_source1\.cpp: # 2b # GENERATED = `0` +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-Test8\.cmake:[0-9]+ \(add_executable\): + Cannot find source file: + +[ \t]*.*Tests/RunCMake/CMP0118/CMP0118-NEW-Test8-build/Generated_source4\.cpp +Call Stack \(most recent call first\): + CMP0118-NEW-Test8\.cmake:[0-9]+ \(include\) + CMakeLists\.txt:[0-9]+ \(include\) ++ +CMake Error at CMP0118-Common-Test8\.cmake:[0-9]+ \(add_executable\): + No SOURCES given to target: executable4 +Call Stack \(most recent call first\): + CMP0118-NEW-Test8\.cmake:[0-9]+ \(include\) + CMakeLists\.txt:[0-9]+ \(include\) ++ +CMake Generate step failed\. Build files cannot be regenerated correctly\.$ diff --git a/Tests/RunCMake/CMP0118/CMP0118-NEW-Test8.cmake b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test8.cmake new file mode 100644 index 0000000..6878b94 --- /dev/null +++ b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test8.cmake @@ -0,0 +1,2 @@ +cmake_policy(SET CMP0118 NEW) +include(CMP0118-Common-Test8.cmake) diff --git a/Tests/RunCMake/CMP0118/CMP0118-NEW-Test9-result.txt b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test9-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test9-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/CMP0118/CMP0118-NEW-Test9-stderr.txt b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test9-stderr.txt new file mode 100644 index 0000000..53e1399 --- /dev/null +++ b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test9-stderr.txt @@ -0,0 +1,80 @@ +^(CMake Warning \(dev\) at subdir-Common-Test9/CMakeLists\.txt:[0-9]+ \(set_property\): + Unsetting the 'GENERATED' property is not allowed under CMP0118! + +This warning is for project developers\. Use -Wno-dev to suppress it\. ++ +(CMake Warning \(dev\) at CMP0118-Common-Test9\.cmake:[0-9]+ \(add_subdirectory\): + Unsetting the 'GENERATED' property is not allowed under CMP0118! + +Call Stack \(most recent call first\): + CMP0118-NEW-Test9\.cmake:[0-9]+ \(include\) + CMakeLists\.txt:[0-9]+ \(include\) +This warning is for project developers\. Use -Wno-dev to suppress it\. ++)+)+ +Generated_source1\.cpp: # 1a # GENERATED = `0` +Generated_source1\.cpp: # 1b # GENERATED = `0` +Generated_source1\.cpp: # 2a # GENERATED = `0` +Generated_source1\.cpp: # 2b # GENERATED = `0` +Generated_source1\.cpp: # 3a # GENERATED = `0` +Generated_source1\.cpp: # 3b # GENERATED = `0` +Generated_source2\.cpp: # 1a # GENERATED = `0` +Generated_source2\.cpp: # 1b # GENERATED = `0` +Generated_source2\.cpp: # 2a # GENERATED = `0` +Generated_source2\.cpp: # 2b # GENERATED = `0` +Generated_source2\.cpp: # 3a # GENERATED = `0` +Generated_source2\.cpp: # 3b # GENERATED = `0` +Generated_source3\.cpp: # 1a # GENERATED = `0` +Generated_source3\.cpp: # 1b # GENERATED = `0` +Generated_source3\.cpp: # 2a # GENERATED = `0` +Generated_source3\.cpp: # 2b # GENERATED = `0` +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 = `0` +Generated_source5\.cpp: # 1b # GENERATED = `0` +Generated_source5\.cpp: # 2a # GENERATED = `0` +Generated_source5\.cpp: # 2b # GENERATED = `0` +Generated_source5\.cpp: # 3a # GENERATED = `0` +Generated_source5\.cpp: # 3b # GENERATED = `0` +Generated_source6\.cpp: # 1a # GENERATED = `0` +Generated_source6\.cpp: # 1b # GENERATED = `0` +Generated_source6\.cpp: # 2a # GENERATED = `0` +Generated_source6\.cpp: # 2b # GENERATED = `0` +Generated_source6\.cpp: # 3a # GENERATED = `0` +Generated_source6\.cpp: # 3b # GENERATED = `0` +CMake Error at CMP0118-Common-Test9\.cmake:[0-9]+ \(add_executable\): + Cannot find source file: + +[ \t]*.*Tests/RunCMake/CMP0118/CMP0118-NEW-Test9-build/Generated_source[4-6]\.cpp +Call Stack \(most recent call first\): + CMP0118-NEW-Test9\.cmake:[0-9]+ \(include\) + CMakeLists\.txt:[0-9]+ \(include\) ++ +CMake Error at CMP0118-Common-Test9\.cmake:[0-9]+ \(add_executable\): + Cannot find source file: + +[ \t]*.*Tests/RunCMake/CMP0118/CMP0118-NEW-Test9-build/Generated_source[4-6]\.cpp +Call Stack \(most recent call first\): + CMP0118-NEW-Test9\.cmake:[0-9]+ \(include\) + CMakeLists\.txt:[0-9]+ \(include\) ++ +CMake Error at CMP0118-Common-Test9\.cmake:[0-9]+ \(add_executable\): + Cannot find source file: + +[ \t]*.*Tests/RunCMake/CMP0118/CMP0118-NEW-Test9-build/Generated_source[4-6]\.cpp +Call Stack \(most recent call first\): + CMP0118-NEW-Test9\.cmake:[0-9]+ \(include\) + CMakeLists\.txt:[0-9]+ \(include\) ++ +(CMake Error at CMP0118-Common-Test9\.cmake:[0-9]+ \(add_executable\): + No SOURCES given to target: executable[4-6] +Call Stack \(most recent call first\): + CMP0118-NEW-Test9\.cmake:[0-9]+ \(include\) + CMakeLists\.txt:[0-9]+ \(include\) ++)+ +CMake Generate step failed\. Build files cannot be regenerated correctly\.$ diff --git a/Tests/RunCMake/CMP0118/CMP0118-NEW-Test9.cmake b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test9.cmake new file mode 100644 index 0000000..00b05fd --- /dev/null +++ b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test9.cmake @@ -0,0 +1,2 @@ +cmake_policy(SET CMP0118 NEW) +include(CMP0118-Common-Test9.cmake) diff --git a/Tests/RunCMake/CMP0118/CMP0118-OLD-Test1-stderr.txt b/Tests/RunCMake/CMP0118/CMP0118-OLD-Test1-stderr.txt index 1bf5e86..491489d 100644 --- a/Tests/RunCMake/CMP0118/CMP0118-OLD-Test1-stderr.txt +++ b/Tests/RunCMake/CMP0118/CMP0118-OLD-Test1-stderr.txt @@ -1,4 +1,4 @@ -^prop: `` +^prop: `0` CMake Error at CMP0118-Common-Test1\.cmake:[0-9]+ \(add_executable\): Cannot find source file: diff --git a/Tests/RunCMake/CMP0118/CMP0118-OLD-Test10-stderr.txt b/Tests/RunCMake/CMP0118/CMP0118-OLD-Test10-stderr.txt index 72880aa..12dd48f 100644 --- a/Tests/RunCMake/CMP0118/CMP0118-OLD-Test10-stderr.txt +++ b/Tests/RunCMake/CMP0118/CMP0118-OLD-Test10-stderr.txt @@ -2,44 +2,44 @@ Generated_source0\.cpp: # 1b # GENERATED = `1` Generated_source0\.cpp: # 2a # GENERATED = `1` Generated_source0\.cpp: # 2b # GENERATED = `1` -Generated_source0\.cpp: # 3a # GENERATED = `` -Generated_source0\.cpp: # 3b # GENERATED = `NOTFOUND` +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 = `` -Generated_source1\.cpp: # 3b # GENERATED = `NOTFOUND` +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 = `` -Generated_source2\.cpp: # 3b # GENERATED = `NOTFOUND` +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 = `` -Generated_source3\.cpp: # 3b # GENERATED = `NOTFOUND` -Generated_source4\.cpp: # 1a # GENERATED = `` -Generated_source4\.cpp: # 1b # GENERATED = `NOTFOUND` -Generated_source4\.cpp: # 2a # GENERATED = `` -Generated_source4\.cpp: # 2b # GENERATED = `NOTFOUND` -Generated_source4\.cpp: # 3a # GENERATED = `` -Generated_source4\.cpp: # 3b # GENERATED = `NOTFOUND` +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 = `` -Generated_source5\.cpp: # 3b # GENERATED = `NOTFOUND` +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 = `` -Generated_source6\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_source6\.cpp: # 3a # GENERATED = `0` +Generated_source6\.cpp: # 3b # GENERATED = `0` CMake Error at CMP0118-Common-Test10\.cmake:[0-9]+ \(add_executable\): Cannot find source file: diff --git a/Tests/RunCMake/CMP0118/CMP0118-OLD-Test11-stderr.txt b/Tests/RunCMake/CMP0118/CMP0118-OLD-Test11-stderr.txt index ea278aa..91db26a 100644 --- a/Tests/RunCMake/CMP0118/CMP0118-OLD-Test11-stderr.txt +++ b/Tests/RunCMake/CMP0118/CMP0118-OLD-Test11-stderr.txt @@ -2,48 +2,48 @@ Generated_source0\.cpp: # 1b # GENERATED = `1` Generated_source0\.cpp: # 2a # GENERATED = `1` Generated_source0\.cpp: # 2b # GENERATED = `1` -Generated_source0\.cpp: # 3a # GENERATED = `` -Generated_source0\.cpp: # 3b # GENERATED = `NOTFOUND` +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 = `` -Generated_source1\.cpp: # 3b # GENERATED = `NOTFOUND` -Generated_source2\.cpp: # 1a # GENERATED = `0` -Generated_source2\.cpp: # 1b # GENERATED = `0` -Generated_source2\.cpp: # 2a # GENERATED = `0` -Generated_source2\.cpp: # 2b # GENERATED = `0` -Generated_source2\.cpp: # 3a # GENERATED = `` -Generated_source2\.cpp: # 3b # GENERATED = `NOTFOUND` -Generated_source3\.cpp: # 1a # GENERATED = `0` -Generated_source3\.cpp: # 1b # GENERATED = `0` -Generated_source3\.cpp: # 2a # GENERATED = `0` -Generated_source3\.cpp: # 2b # GENERATED = `0` -Generated_source3\.cpp: # 3a # GENERATED = `` -Generated_source3\.cpp: # 3b # GENERATED = `NOTFOUND` -Generated_source4\.cpp: # 1a # GENERATED = `` -Generated_source4\.cpp: # 1b # GENERATED = `NOTFOUND` -Generated_source4\.cpp: # 2a # GENERATED = `` -Generated_source4\.cpp: # 2b # GENERATED = `NOTFOUND` -Generated_source4\.cpp: # 3a # GENERATED = `` -Generated_source4\.cpp: # 3b # GENERATED = `NOTFOUND` +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 = `0` Generated_source5\.cpp: # 1b # GENERATED = `0` Generated_source5\.cpp: # 2a # GENERATED = `0` Generated_source5\.cpp: # 2b # GENERATED = `0` -Generated_source5\.cpp: # 3a # GENERATED = `` -Generated_source5\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_source5\.cpp: # 3a # GENERATED = `0` +Generated_source5\.cpp: # 3b # GENERATED = `0` Generated_source6\.cpp: # 1a # GENERATED = `0` Generated_source6\.cpp: # 1b # GENERATED = `0` Generated_source6\.cpp: # 2a # GENERATED = `0` Generated_source6\.cpp: # 2b # GENERATED = `0` -Generated_source6\.cpp: # 3a # GENERATED = `` -Generated_source6\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_source6\.cpp: # 3a # GENERATED = `0` +Generated_source6\.cpp: # 3b # GENERATED = `0` CMake Error at CMP0118-Common-Test11\.cmake:[0-9]+ \(add_executable\): Cannot find source file: -[ \t]*.*Tests/RunCMake/CMP0118/CMP0118-OLD-Test11-build/Generated_source[2-6]\.cpp +[ \t]*.*Tests/RunCMake/CMP0118/CMP0118-OLD-Test11-build/Generated_source[4-6]\.cpp Call Stack \(most recent call first\): CMP0118-OLD-Test11\.cmake:[0-9]+ \(include\) CMakeLists\.txt:[0-9]+ \(include\) @@ -51,7 +51,7 @@ Call Stack \(most recent call first\): CMake Error at CMP0118-Common-Test11\.cmake:[0-9]+ \(add_executable\): Cannot find source file: -[ \t]*.*Tests/RunCMake/CMP0118/CMP0118-OLD-Test11-build/Generated_source[2-6]\.cpp +[ \t]*.*Tests/RunCMake/CMP0118/CMP0118-OLD-Test11-build/Generated_source[4-6]\.cpp Call Stack \(most recent call first\): CMP0118-OLD-Test11\.cmake:[0-9]+ \(include\) CMakeLists\.txt:[0-9]+ \(include\) @@ -59,29 +59,13 @@ Call Stack \(most recent call first\): CMake Error at CMP0118-Common-Test11\.cmake:[0-9]+ \(add_executable\): Cannot find source file: -[ \t]*.*Tests/RunCMake/CMP0118/CMP0118-OLD-Test11-build/Generated_source[2-6]\.cpp -Call Stack \(most recent call first\): - CMP0118-OLD-Test11\.cmake:[0-9]+ \(include\) - CMakeLists\.txt:[0-9]+ \(include\) -+ -CMake Error at CMP0118-Common-Test11\.cmake:[0-9]+ \(add_executable\): - Cannot find source file: - -[ \t]*.*Tests/RunCMake/CMP0118/CMP0118-OLD-Test11-build/Generated_source[2-6]\.cpp -Call Stack \(most recent call first\): - CMP0118-OLD-Test11\.cmake:[0-9]+ \(include\) - CMakeLists\.txt:[0-9]+ \(include\) -+ -CMake Error at CMP0118-Common-Test11\.cmake:[0-9]+ \(add_executable\): - Cannot find source file: - -[ \t]*.*Tests/RunCMake/CMP0118/CMP0118-OLD-Test11-build/Generated_source[2-6]\.cpp +[ \t]*.*Tests/RunCMake/CMP0118/CMP0118-OLD-Test11-build/Generated_source[4-6]\.cpp Call Stack \(most recent call first\): CMP0118-OLD-Test11\.cmake:[0-9]+ \(include\) CMakeLists\.txt:[0-9]+ \(include\) + (CMake Error at CMP0118-Common-Test11\.cmake:[0-9]+ \(add_executable\): - No SOURCES given to target: executable[2-6] + No SOURCES given to target: executable[4-6] Call Stack \(most recent call first\): CMP0118-OLD-Test11\.cmake:[0-9]+ \(include\) CMakeLists\.txt:[0-9]+ \(include\) diff --git a/Tests/RunCMake/CMP0118/CMP0118-OLD-Test12-stderr.txt b/Tests/RunCMake/CMP0118/CMP0118-OLD-Test12-stderr.txt index 33b2c89..404787c 100644 --- a/Tests/RunCMake/CMP0118/CMP0118-OLD-Test12-stderr.txt +++ b/Tests/RunCMake/CMP0118/CMP0118-OLD-Test12-stderr.txt @@ -11,41 +11,41 @@ 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 = `` -Generated_source0\.cpp: # 3b # GENERATED = `NOTFOUND` +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 = `` -Generated_source1\.cpp: # 3b # GENERATED = `NOTFOUND` +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 = `` -Generated_source2\.cpp: # 3b # GENERATED = `NOTFOUND` +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 = `` -Generated_source3\.cpp: # 3b # GENERATED = `NOTFOUND` -Generated_source4\.cpp: # 1a # GENERATED = `` -Generated_source4\.cpp: # 1b # GENERATED = `NOTFOUND` -Generated_source4\.cpp: # 2a # GENERATED = `` -Generated_source4\.cpp: # 2b # GENERATED = `NOTFOUND` -Generated_source4\.cpp: # 3a # GENERATED = `` -Generated_source4\.cpp: # 3b # GENERATED = `NOTFOUND` +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 = `` -Generated_source5\.cpp: # 3b # GENERATED = `NOTFOUND` +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 = `` -Generated_source6\.cpp: # 3b # GENERATED = `NOTFOUND`$ +Generated_source6\.cpp: # 3a # GENERATED = `0` +Generated_source6\.cpp: # 3b # GENERATED = `0`$ diff --git a/Tests/RunCMake/CMP0118/CMP0118-OLD-Test13-stderr.txt b/Tests/RunCMake/CMP0118/CMP0118-OLD-Test13-stderr.txt index c8edad4..07f2f10 100644 --- a/Tests/RunCMake/CMP0118/CMP0118-OLD-Test13-stderr.txt +++ b/Tests/RunCMake/CMP0118/CMP0118-OLD-Test13-stderr.txt @@ -11,41 +11,41 @@ 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 = `` -Generated_source0\.cpp: # 3b # GENERATED = `NOTFOUND` +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 = `` -Generated_source1\.cpp: # 3b # GENERATED = `NOTFOUND` -Generated_source2\.cpp: # 1a # GENERATED = `0` -Generated_source2\.cpp: # 1b # GENERATED = `0` -Generated_source2\.cpp: # 2a # GENERATED = `0` -Generated_source2\.cpp: # 2b # GENERATED = `0` -Generated_source2\.cpp: # 3a # GENERATED = `` -Generated_source2\.cpp: # 3b # GENERATED = `NOTFOUND` -Generated_source3\.cpp: # 1a # GENERATED = `0` -Generated_source3\.cpp: # 1b # GENERATED = `0` -Generated_source3\.cpp: # 2a # GENERATED = `0` -Generated_source3\.cpp: # 2b # GENERATED = `0` -Generated_source3\.cpp: # 3a # GENERATED = `` -Generated_source3\.cpp: # 3b # GENERATED = `NOTFOUND` -Generated_source4\.cpp: # 1a # GENERATED = `` -Generated_source4\.cpp: # 1b # GENERATED = `NOTFOUND` -Generated_source4\.cpp: # 2a # GENERATED = `` -Generated_source4\.cpp: # 2b # GENERATED = `NOTFOUND` -Generated_source4\.cpp: # 3a # GENERATED = `` -Generated_source4\.cpp: # 3b # GENERATED = `NOTFOUND` +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 = `0` Generated_source5\.cpp: # 1b # GENERATED = `0` Generated_source5\.cpp: # 2a # GENERATED = `0` Generated_source5\.cpp: # 2b # GENERATED = `0` -Generated_source5\.cpp: # 3a # GENERATED = `` -Generated_source5\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_source5\.cpp: # 3a # GENERATED = `0` +Generated_source5\.cpp: # 3b # GENERATED = `0` Generated_source6\.cpp: # 1a # GENERATED = `0` Generated_source6\.cpp: # 1b # GENERATED = `0` Generated_source6\.cpp: # 2a # GENERATED = `0` Generated_source6\.cpp: # 2b # GENERATED = `0` -Generated_source6\.cpp: # 3a # GENERATED = `` -Generated_source6\.cpp: # 3b # GENERATED = `NOTFOUND`$ +Generated_source6\.cpp: # 3a # GENERATED = `0` +Generated_source6\.cpp: # 3b # GENERATED = `0`$ diff --git a/Tests/RunCMake/CMP0118/CMP0118-OLD-Test14-stderr.txt b/Tests/RunCMake/CMP0118/CMP0118-OLD-Test14-stderr.txt index 8fdee89..395637a 100644 --- a/Tests/RunCMake/CMP0118/CMP0118-OLD-Test14-stderr.txt +++ b/Tests/RunCMake/CMP0118/CMP0118-OLD-Test14-stderr.txt @@ -2,44 +2,44 @@ Generated_source0\.cpp: # 1b # GENERATED = `1` Generated_source0\.cpp: # 2a # GENERATED = `1` Generated_source0\.cpp: # 2b # GENERATED = `1` -Generated_source0\.cpp: # 3a # GENERATED = `` -Generated_source0\.cpp: # 3b # GENERATED = `NOTFOUND` +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 = `` -Generated_source1\.cpp: # 3b # GENERATED = `NOTFOUND` +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 = `` -Generated_source2\.cpp: # 3b # GENERATED = `NOTFOUND` +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 = `` -Generated_source3\.cpp: # 3b # GENERATED = `NOTFOUND` -Generated_source4\.cpp: # 1a # GENERATED = `` -Generated_source4\.cpp: # 1b # GENERATED = `NOTFOUND` -Generated_source4\.cpp: # 2a # GENERATED = `` -Generated_source4\.cpp: # 2b # GENERATED = `NOTFOUND` -Generated_source4\.cpp: # 3a # GENERATED = `` -Generated_source4\.cpp: # 3b # GENERATED = `NOTFOUND` +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 = `` -Generated_source5\.cpp: # 3b # GENERATED = `NOTFOUND` +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 = `` -Generated_source6\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_source6\.cpp: # 3a # GENERATED = `0` +Generated_source6\.cpp: # 3b # GENERATED = `0` CMake Error at CMP0118-Common-Test14\.cmake:[0-9]+ \(add_executable\): Cannot find source file: diff --git a/Tests/RunCMake/CMP0118/CMP0118-OLD-Test15-stderr.txt b/Tests/RunCMake/CMP0118/CMP0118-OLD-Test15-stderr.txt index 686678d..d6799b4 100644 --- a/Tests/RunCMake/CMP0118/CMP0118-OLD-Test15-stderr.txt +++ b/Tests/RunCMake/CMP0118/CMP0118-OLD-Test15-stderr.txt @@ -2,48 +2,48 @@ Generated_source0\.cpp: # 1b # GENERATED = `1` Generated_source0\.cpp: # 2a # GENERATED = `1` Generated_source0\.cpp: # 2b # GENERATED = `1` -Generated_source0\.cpp: # 3a # GENERATED = `` -Generated_source0\.cpp: # 3b # GENERATED = `NOTFOUND` +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 = `` -Generated_source1\.cpp: # 3b # GENERATED = `NOTFOUND` -Generated_source2\.cpp: # 1a # GENERATED = `0` -Generated_source2\.cpp: # 1b # GENERATED = `0` -Generated_source2\.cpp: # 2a # GENERATED = `0` -Generated_source2\.cpp: # 2b # GENERATED = `0` -Generated_source2\.cpp: # 3a # GENERATED = `` -Generated_source2\.cpp: # 3b # GENERATED = `NOTFOUND` -Generated_source3\.cpp: # 1a # GENERATED = `0` -Generated_source3\.cpp: # 1b # GENERATED = `0` -Generated_source3\.cpp: # 2a # GENERATED = `0` -Generated_source3\.cpp: # 2b # GENERATED = `0` -Generated_source3\.cpp: # 3a # GENERATED = `` -Generated_source3\.cpp: # 3b # GENERATED = `NOTFOUND` -Generated_source4\.cpp: # 1a # GENERATED = `` -Generated_source4\.cpp: # 1b # GENERATED = `NOTFOUND` -Generated_source4\.cpp: # 2a # GENERATED = `` -Generated_source4\.cpp: # 2b # GENERATED = `NOTFOUND` -Generated_source4\.cpp: # 3a # GENERATED = `` -Generated_source4\.cpp: # 3b # GENERATED = `NOTFOUND` +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 = `0` Generated_source5\.cpp: # 1b # GENERATED = `0` Generated_source5\.cpp: # 2a # GENERATED = `0` Generated_source5\.cpp: # 2b # GENERATED = `0` -Generated_source5\.cpp: # 3a # GENERATED = `` -Generated_source5\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_source5\.cpp: # 3a # GENERATED = `0` +Generated_source5\.cpp: # 3b # GENERATED = `0` Generated_source6\.cpp: # 1a # GENERATED = `0` Generated_source6\.cpp: # 1b # GENERATED = `0` Generated_source6\.cpp: # 2a # GENERATED = `0` Generated_source6\.cpp: # 2b # GENERATED = `0` -Generated_source6\.cpp: # 3a # GENERATED = `` -Generated_source6\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_source6\.cpp: # 3a # GENERATED = `0` +Generated_source6\.cpp: # 3b # GENERATED = `0` CMake Error at CMP0118-Common-Test15\.cmake:[0-9]+ \(add_executable\): Cannot find source file: -[ \t]*.*Tests/RunCMake/CMP0118/CMP0118-OLD-Test15-build/Generated_source[2-6]\.cpp +[ \t]*.*Tests/RunCMake/CMP0118/CMP0118-OLD-Test15-build/Generated_source[4-6]\.cpp Call Stack \(most recent call first\): CMP0118-OLD-Test15\.cmake:[0-9]+ \(include\) CMakeLists\.txt:[0-9]+ \(include\) @@ -51,7 +51,7 @@ Call Stack \(most recent call first\): CMake Error at CMP0118-Common-Test15\.cmake:[0-9]+ \(add_executable\): Cannot find source file: -[ \t]*.*Tests/RunCMake/CMP0118/CMP0118-OLD-Test15-build/Generated_source[2-6]\.cpp +[ \t]*.*Tests/RunCMake/CMP0118/CMP0118-OLD-Test15-build/Generated_source[4-6]\.cpp Call Stack \(most recent call first\): CMP0118-OLD-Test15\.cmake:[0-9]+ \(include\) CMakeLists\.txt:[0-9]+ \(include\) @@ -59,29 +59,13 @@ Call Stack \(most recent call first\): CMake Error at CMP0118-Common-Test15\.cmake:[0-9]+ \(add_executable\): Cannot find source file: -[ \t]*.*Tests/RunCMake/CMP0118/CMP0118-OLD-Test15-build/Generated_source[2-6]\.cpp -Call Stack \(most recent call first\): - CMP0118-OLD-Test15\.cmake:[0-9]+ \(include\) - CMakeLists\.txt:[0-9]+ \(include\) -+ -CMake Error at CMP0118-Common-Test15\.cmake:[0-9]+ \(add_executable\): - Cannot find source file: - -[ \t]*.*Tests/RunCMake/CMP0118/CMP0118-OLD-Test15-build/Generated_source[2-6]\.cpp -Call Stack \(most recent call first\): - CMP0118-OLD-Test15\.cmake:[0-9]+ \(include\) - CMakeLists\.txt:[0-9]+ \(include\) -+ -CMake Error at CMP0118-Common-Test15\.cmake:[0-9]+ \(add_executable\): - Cannot find source file: - -[ \t]*.*Tests/RunCMake/CMP0118/CMP0118-OLD-Test15-build/Generated_source[2-6]\.cpp +[ \t]*.*Tests/RunCMake/CMP0118/CMP0118-OLD-Test15-build/Generated_source[4-6]\.cpp Call Stack \(most recent call first\): CMP0118-OLD-Test15\.cmake:[0-9]+ \(include\) CMakeLists\.txt:[0-9]+ \(include\) + (CMake Error at CMP0118-Common-Test15\.cmake:[0-9]+ \(add_executable\): - No SOURCES given to target: executable[2-6] + No SOURCES given to target: executable[4-6] Call Stack \(most recent call first\): CMP0118-OLD-Test15\.cmake:[0-9]+ \(include\) CMakeLists\.txt:[0-9]+ \(include\) diff --git a/Tests/RunCMake/CMP0118/CMP0118-OLD-Test3-stderr.txt b/Tests/RunCMake/CMP0118/CMP0118-OLD-Test3-stderr.txt index 367baf1..4764494 100644 --- a/Tests/RunCMake/CMP0118/CMP0118-OLD-Test3-stderr.txt +++ b/Tests/RunCMake/CMP0118/CMP0118-OLD-Test3-stderr.txt @@ -2,34 +2,34 @@ 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 = `` -Generated_with_full_path1\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_with_full_path1\.cpp: # 3a # GENERATED = `0` +Generated_with_full_path1\.cpp: # 3b # GENERATED = `0` Generated_with_full_path2\.cpp: # 1a # GENERATED = `1` Generated_with_full_path2\.cpp: # 1b # GENERATED = `1` Generated_with_full_path2\.cpp: # 2a # GENERATED = `1` Generated_with_full_path2\.cpp: # 2b # GENERATED = `1` -Generated_with_full_path2\.cpp: # 3a # GENERATED = `` -Generated_with_full_path2\.cpp: # 3b # GENERATED = `NOTFOUND` -Generated_with_full_path3\.cpp: # 1a # GENERATED = `` -Generated_with_full_path3\.cpp: # 1b # GENERATED = `NOTFOUND` -Generated_with_full_path3\.cpp: # 2a # GENERATED = `` -Generated_with_full_path3\.cpp: # 2b # GENERATED = `NOTFOUND` -Generated_with_full_path3\.cpp: # 3a # GENERATED = `` -Generated_with_full_path3\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_with_full_path2\.cpp: # 3a # GENERATED = `0` +Generated_with_full_path2\.cpp: # 3b # GENERATED = `0` +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 = `` -Generated_with_relative_path1\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_with_relative_path1\.cpp: # 3a # GENERATED = `0` +Generated_with_relative_path1\.cpp: # 3b # GENERATED = `0` Generated_with_relative_path2\.cpp: # 1a # GENERATED = `1` Generated_with_relative_path2\.cpp: # 1b # GENERATED = `1` Generated_with_relative_path2\.cpp: # 2a # GENERATED = `1` Generated_with_relative_path2\.cpp: # 2b # GENERATED = `1` -Generated_with_relative_path2\.cpp: # 3a # GENERATED = `` -Generated_with_relative_path2\.cpp: # 3b # GENERATED = `NOTFOUND` -Generated_with_relative_path3\.cpp: # 1a # GENERATED = `` -Generated_with_relative_path3\.cpp: # 1b # GENERATED = `NOTFOUND` +Generated_with_relative_path2\.cpp: # 3a # GENERATED = `0` +Generated_with_relative_path2\.cpp: # 3b # GENERATED = `0` +Generated_with_relative_path3\.cpp: # 1a # GENERATED = `0` +Generated_with_relative_path3\.cpp: # 1b # GENERATED = `0` Generated_with_relative_path3\.cpp: # 2a # GENERATED = `1` Generated_with_relative_path3\.cpp: # 2b # GENERATED = `1` Generated_with_relative_path3\.cpp: # 3a # GENERATED = `1` @@ -38,20 +38,20 @@ 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 = `` -Generated_with_full_source_path1\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_with_full_source_path1\.cpp: # 3a # GENERATED = `0` +Generated_with_full_source_path1\.cpp: # 3b # GENERATED = `0` Generated_with_full_source_path2\.cpp: # 1a # GENERATED = `1` Generated_with_full_source_path2\.cpp: # 1b # GENERATED = `1` Generated_with_full_source_path2\.cpp: # 2a # GENERATED = `1` Generated_with_full_source_path2\.cpp: # 2b # GENERATED = `1` -Generated_with_full_source_path2\.cpp: # 3a # GENERATED = `` -Generated_with_full_source_path2\.cpp: # 3b # GENERATED = `NOTFOUND` -Generated_with_full_source_path3\.cpp: # 1a # GENERATED = `` -Generated_with_full_source_path3\.cpp: # 1b # GENERATED = `NOTFOUND` -Generated_with_full_source_path3\.cpp: # 2a # GENERATED = `` -Generated_with_full_source_path3\.cpp: # 2b # GENERATED = `NOTFOUND` -Generated_with_full_source_path3\.cpp: # 3a # GENERATED = `` -Generated_with_full_source_path3\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_with_full_source_path2\.cpp: # 3a # GENERATED = `0` +Generated_with_full_source_path2\.cpp: # 3b # GENERATED = `0` +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-Test3\.cmake:[0-9]+ \(add_executable\): Cannot find source file: diff --git a/Tests/RunCMake/CMP0118/CMP0118-OLD-Test3b-stderr.txt b/Tests/RunCMake/CMP0118/CMP0118-OLD-Test3b-stderr.txt index 66bc73e..33c4375 100644 --- a/Tests/RunCMake/CMP0118/CMP0118-OLD-Test3b-stderr.txt +++ b/Tests/RunCMake/CMP0118/CMP0118-OLD-Test3b-stderr.txt @@ -2,34 +2,34 @@ 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 = `` -Generated_with_full_path1\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_with_full_path1\.cpp: # 3a # GENERATED = `0` +Generated_with_full_path1\.cpp: # 3b # GENERATED = `0` Generated_with_full_path2\.cpp: # 1a # GENERATED = `1` Generated_with_full_path2\.cpp: # 1b # GENERATED = `1` Generated_with_full_path2\.cpp: # 2a # GENERATED = `1` Generated_with_full_path2\.cpp: # 2b # GENERATED = `1` -Generated_with_full_path2\.cpp: # 3a # GENERATED = `` -Generated_with_full_path2\.cpp: # 3b # GENERATED = `NOTFOUND` -Generated_with_full_path3\.cpp: # 1a # GENERATED = `` -Generated_with_full_path3\.cpp: # 1b # GENERATED = `NOTFOUND` -Generated_with_full_path3\.cpp: # 2a # GENERATED = `` -Generated_with_full_path3\.cpp: # 2b # GENERATED = `NOTFOUND` -Generated_with_full_path3\.cpp: # 3a # GENERATED = `` -Generated_with_full_path3\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_with_full_path2\.cpp: # 3a # GENERATED = `0` +Generated_with_full_path2\.cpp: # 3b # GENERATED = `0` +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 = `` -Generated_with_relative_path1\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_with_relative_path1\.cpp: # 3a # GENERATED = `0` +Generated_with_relative_path1\.cpp: # 3b # GENERATED = `0` Generated_with_relative_path2\.cpp: # 1a # GENERATED = `1` Generated_with_relative_path2\.cpp: # 1b # GENERATED = `1` Generated_with_relative_path2\.cpp: # 2a # GENERATED = `1` Generated_with_relative_path2\.cpp: # 2b # GENERATED = `1` -Generated_with_relative_path2\.cpp: # 3a # GENERATED = `` -Generated_with_relative_path2\.cpp: # 3b # GENERATED = `NOTFOUND` -Generated_with_relative_path3\.cpp: # 1a # GENERATED = `` -Generated_with_relative_path3\.cpp: # 1b # GENERATED = `NOTFOUND` +Generated_with_relative_path2\.cpp: # 3a # GENERATED = `0` +Generated_with_relative_path2\.cpp: # 3b # GENERATED = `0` +Generated_with_relative_path3\.cpp: # 1a # GENERATED = `0` +Generated_with_relative_path3\.cpp: # 1b # GENERATED = `0` Generated_with_relative_path3\.cpp: # 2a # GENERATED = `1` Generated_with_relative_path3\.cpp: # 2b # GENERATED = `1` Generated_with_relative_path3\.cpp: # 3a # GENERATED = `1` @@ -38,20 +38,20 @@ 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 = `` -Generated_with_full_source_path1\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_with_full_source_path1\.cpp: # 3a # GENERATED = `0` +Generated_with_full_source_path1\.cpp: # 3b # GENERATED = `0` Generated_with_full_source_path2\.cpp: # 1a # GENERATED = `1` Generated_with_full_source_path2\.cpp: # 1b # GENERATED = `1` Generated_with_full_source_path2\.cpp: # 2a # GENERATED = `1` Generated_with_full_source_path2\.cpp: # 2b # GENERATED = `1` -Generated_with_full_source_path2\.cpp: # 3a # GENERATED = `` -Generated_with_full_source_path2\.cpp: # 3b # GENERATED = `NOTFOUND` -Generated_with_full_source_path3\.cpp: # 1a # GENERATED = `` -Generated_with_full_source_path3\.cpp: # 1b # GENERATED = `NOTFOUND` -Generated_with_full_source_path3\.cpp: # 2a # GENERATED = `` -Generated_with_full_source_path3\.cpp: # 2b # GENERATED = `NOTFOUND` -Generated_with_full_source_path3\.cpp: # 3a # GENERATED = `` -Generated_with_full_source_path3\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_with_full_source_path2\.cpp: # 3a # GENERATED = `0` +Generated_with_full_source_path2\.cpp: # 3b # GENERATED = `0` +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-Test3b\.cmake:[0-9]+ \(add_executable\): Cannot find source file: diff --git a/Tests/RunCMake/CMP0118/CMP0118-OLD-Test4-stderr.txt b/Tests/RunCMake/CMP0118/CMP0118-OLD-Test4-stderr.txt index c00f05c..1723ece 100644 --- a/Tests/RunCMake/CMP0118/CMP0118-OLD-Test4-stderr.txt +++ b/Tests/RunCMake/CMP0118/CMP0118-OLD-Test4-stderr.txt @@ -2,34 +2,34 @@ 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 = `` -Generated_with_full_path1\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_with_full_path1\.cpp: # 3a # GENERATED = `0` +Generated_with_full_path1\.cpp: # 3b # GENERATED = `0` 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 = `` -Generated_with_full_path2\.cpp: # 3b # GENERATED = `NOTFOUND` -Generated_with_full_path3\.cpp: # 1a # GENERATED = `` -Generated_with_full_path3\.cpp: # 1b # GENERATED = `NOTFOUND` -Generated_with_full_path3\.cpp: # 2a # GENERATED = `` -Generated_with_full_path3\.cpp: # 2b # GENERATED = `NOTFOUND` -Generated_with_full_path3\.cpp: # 3a # GENERATED = `` -Generated_with_full_path3\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_with_full_path2\.cpp: # 3a # GENERATED = `0` +Generated_with_full_path2\.cpp: # 3b # GENERATED = `0` +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 = `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 = `` -Generated_with_relative_path1\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_with_relative_path1\.cpp: # 3a # GENERATED = `0` +Generated_with_relative_path1\.cpp: # 3b # GENERATED = `0` 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 = `` -Generated_with_relative_path2\.cpp: # 3b # GENERATED = `NOTFOUND` -Generated_with_relative_path3\.cpp: # 1a # GENERATED = `` -Generated_with_relative_path3\.cpp: # 1b # GENERATED = `NOTFOUND` +Generated_with_relative_path2\.cpp: # 3a # GENERATED = `0` +Generated_with_relative_path2\.cpp: # 3b # GENERATED = `0` +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` @@ -38,20 +38,20 @@ 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 = `` -Generated_with_full_source_path1\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_with_full_source_path1\.cpp: # 3a # GENERATED = `0` +Generated_with_full_source_path1\.cpp: # 3b # GENERATED = `0` 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 = `` -Generated_with_full_source_path2\.cpp: # 3b # GENERATED = `NOTFOUND` -Generated_with_full_source_path3\.cpp: # 1a # GENERATED = `` -Generated_with_full_source_path3\.cpp: # 1b # GENERATED = `NOTFOUND` -Generated_with_full_source_path3\.cpp: # 2a # GENERATED = `` -Generated_with_full_source_path3\.cpp: # 2b # GENERATED = `NOTFOUND` -Generated_with_full_source_path3\.cpp: # 3a # GENERATED = `` -Generated_with_full_source_path3\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_with_full_source_path2\.cpp: # 3a # GENERATED = `0` +Generated_with_full_source_path2\.cpp: # 3b # GENERATED = `0` +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\): Cannot find source file: diff --git a/Tests/RunCMake/CMP0118/CMP0118-OLD-Test4b-stderr.txt b/Tests/RunCMake/CMP0118/CMP0118-OLD-Test4b-stderr.txt index de7d966..b7b37e9 100644 --- a/Tests/RunCMake/CMP0118/CMP0118-OLD-Test4b-stderr.txt +++ b/Tests/RunCMake/CMP0118/CMP0118-OLD-Test4b-stderr.txt @@ -2,34 +2,34 @@ 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 = `` -Generated_with_full_path1\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_with_full_path1\.cpp: # 3a # GENERATED = `0` +Generated_with_full_path1\.cpp: # 3b # GENERATED = `0` 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 = `` -Generated_with_full_path2\.cpp: # 3b # GENERATED = `NOTFOUND` -Generated_with_full_path3\.cpp: # 1a # GENERATED = `` -Generated_with_full_path3\.cpp: # 1b # GENERATED = `NOTFOUND` -Generated_with_full_path3\.cpp: # 2a # GENERATED = `` -Generated_with_full_path3\.cpp: # 2b # GENERATED = `NOTFOUND` -Generated_with_full_path3\.cpp: # 3a # GENERATED = `` -Generated_with_full_path3\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_with_full_path2\.cpp: # 3a # GENERATED = `0` +Generated_with_full_path2\.cpp: # 3b # GENERATED = `0` +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 = `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 = `` -Generated_with_relative_path1\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_with_relative_path1\.cpp: # 3a # GENERATED = `0` +Generated_with_relative_path1\.cpp: # 3b # GENERATED = `0` 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 = `` -Generated_with_relative_path2\.cpp: # 3b # GENERATED = `NOTFOUND` -Generated_with_relative_path3\.cpp: # 1a # GENERATED = `` -Generated_with_relative_path3\.cpp: # 1b # GENERATED = `NOTFOUND` +Generated_with_relative_path2\.cpp: # 3a # GENERATED = `0` +Generated_with_relative_path2\.cpp: # 3b # GENERATED = `0` +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` @@ -38,20 +38,20 @@ 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 = `` -Generated_with_full_source_path1\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_with_full_source_path1\.cpp: # 3a # GENERATED = `0` +Generated_with_full_source_path1\.cpp: # 3b # GENERATED = `0` 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 = `` -Generated_with_full_source_path2\.cpp: # 3b # GENERATED = `NOTFOUND` -Generated_with_full_source_path3\.cpp: # 1a # GENERATED = `` -Generated_with_full_source_path3\.cpp: # 1b # GENERATED = `NOTFOUND` -Generated_with_full_source_path3\.cpp: # 2a # GENERATED = `` -Generated_with_full_source_path3\.cpp: # 2b # GENERATED = `NOTFOUND` -Generated_with_full_source_path3\.cpp: # 3a # GENERATED = `` -Generated_with_full_source_path3\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_with_full_source_path2\.cpp: # 3a # GENERATED = `0` +Generated_with_full_source_path2\.cpp: # 3b # GENERATED = `0` +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-Test4b\.cmake:[0-9]+ \(add_executable\): Cannot find source file: diff --git a/Tests/RunCMake/CMP0118/CMP0118-OLD-Test5-stderr.txt b/Tests/RunCMake/CMP0118/CMP0118-OLD-Test5-stderr.txt index 0cc80ea..3ad00b7 100644 --- a/Tests/RunCMake/CMP0118/CMP0118-OLD-Test5-stderr.txt +++ b/Tests/RunCMake/CMP0118/CMP0118-OLD-Test5-stderr.txt @@ -1,57 +1,57 @@ -^Generated_with_full_path1\.cpp: # 1a # GENERATED = `tRue` -Generated_with_full_path1\.cpp: # 1b # GENERATED = `tRue` -Generated_with_full_path1\.cpp: # 2a # GENERATED = `tRue` -Generated_with_full_path1\.cpp: # 2b # GENERATED = `tRue` -Generated_with_full_path1\.cpp: # 3a # GENERATED = `` -Generated_with_full_path1\.cpp: # 3b # GENERATED = `NOTFOUND` -Generated_with_full_path2\.cpp: # 1a # GENERATED = `SomeVar-NOTFOUND` -Generated_with_full_path2\.cpp: # 1b # GENERATED = `SomeVar-NOTFOUND` -Generated_with_full_path2\.cpp: # 2a # GENERATED = `SomeVar-NOTFOUND` -Generated_with_full_path2\.cpp: # 2b # GENERATED = `SomeVar-NOTFOUND` -Generated_with_full_path2\.cpp: # 3a # GENERATED = `` -Generated_with_full_path2\.cpp: # 3b # GENERATED = `NOTFOUND` -Generated_with_full_path3\.cpp: # 1a # GENERATED = `Junk-value` -Generated_with_full_path3\.cpp: # 1b # GENERATED = `Junk-value` -Generated_with_full_path3\.cpp: # 2a # GENERATED = `Junk-value` -Generated_with_full_path3\.cpp: # 2b # GENERATED = `Junk-value` -Generated_with_full_path3\.cpp: # 3a # GENERATED = `` -Generated_with_full_path3\.cpp: # 3b # GENERATED = `NOTFOUND` -Generated_with_relative_path1\.cpp: # 1a # GENERATED = `tRue` -Generated_with_relative_path1\.cpp: # 1b # GENERATED = `tRue` -Generated_with_relative_path1\.cpp: # 2a # GENERATED = `tRue` -Generated_with_relative_path1\.cpp: # 2b # GENERATED = `tRue` -Generated_with_relative_path1\.cpp: # 3a # GENERATED = `` -Generated_with_relative_path1\.cpp: # 3b # GENERATED = `NOTFOUND` -Generated_with_relative_path2\.cpp: # 1a # GENERATED = `SomeVar-NOTFOUND` -Generated_with_relative_path2\.cpp: # 1b # GENERATED = `SomeVar-NOTFOUND` -Generated_with_relative_path2\.cpp: # 2a # GENERATED = `SomeVar-NOTFOUND` -Generated_with_relative_path2\.cpp: # 2b # GENERATED = `SomeVar-NOTFOUND` -Generated_with_relative_path2\.cpp: # 3a # GENERATED = `` -Generated_with_relative_path2\.cpp: # 3b # GENERATED = `NOTFOUND` -Generated_with_relative_path3\.cpp: # 1a # GENERATED = `Junk-value` -Generated_with_relative_path3\.cpp: # 1b # GENERATED = `Junk-value` -Generated_with_relative_path3\.cpp: # 2a # GENERATED = `Junk-value` -Generated_with_relative_path3\.cpp: # 2b # GENERATED = `Junk-value` -Generated_with_relative_path3\.cpp: # 3a # GENERATED = `` -Generated_with_relative_path3\.cpp: # 3b # GENERATED = `NOTFOUND` -Generated_with_full_source_path1\.cpp: # 1a # GENERATED = `tRue` -Generated_with_full_source_path1\.cpp: # 1b # GENERATED = `tRue` -Generated_with_full_source_path1\.cpp: # 2a # GENERATED = `tRue` -Generated_with_full_source_path1\.cpp: # 2b # GENERATED = `tRue` -Generated_with_full_source_path1\.cpp: # 3a # GENERATED = `` -Generated_with_full_source_path1\.cpp: # 3b # GENERATED = `NOTFOUND` -Generated_with_full_source_path2\.cpp: # 1a # GENERATED = `` -Generated_with_full_source_path2\.cpp: # 1b # GENERATED = `NOTFOUND` -Generated_with_full_source_path2\.cpp: # 2a # GENERATED = `SomeVar-NOTFOUND` -Generated_with_full_source_path2\.cpp: # 2b # GENERATED = `SomeVar-NOTFOUND` -Generated_with_full_source_path2\.cpp: # 3a # GENERATED = `SomeVar-NOTFOUND` -Generated_with_full_source_path2\.cpp: # 3b # GENERATED = `SomeVar-NOTFOUND` -Generated_with_full_source_path3\.cpp: # 1a # GENERATED = `` -Generated_with_full_source_path3\.cpp: # 1b # GENERATED = `NOTFOUND` -Generated_with_full_source_path3\.cpp: # 2a # GENERATED = `` -Generated_with_full_source_path3\.cpp: # 2b # GENERATED = `NOTFOUND` -Generated_with_full_source_path3\.cpp: # 3a # GENERATED = `` -Generated_with_full_source_path3\.cpp: # 3b # GENERATED = `NOTFOUND` +^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_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_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_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_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_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_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\): Cannot find source file: diff --git a/Tests/RunCMake/CMP0118/CMP0118-OLD-Test6-stderr.txt b/Tests/RunCMake/CMP0118/CMP0118-OLD-Test6-stderr.txt index b2a0da0..475c559 100644 --- a/Tests/RunCMake/CMP0118/CMP0118-OLD-Test6-stderr.txt +++ b/Tests/RunCMake/CMP0118/CMP0118-OLD-Test6-stderr.txt @@ -2,38 +2,38 @@ Generated_source1\.cpp: # 1b # GENERATED = `1` Generated_source1\.cpp: # 2a # GENERATED = `1` Generated_source1\.cpp: # 2b # GENERATED = `1` -Generated_source1\.cpp: # 3a # GENERATED = `` -Generated_source1\.cpp: # 3b # GENERATED = `NOTFOUND` +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 = `` -Generated_source2\.cpp: # 3b # GENERATED = `NOTFOUND` +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 = `` -Generated_source3\.cpp: # 3b # GENERATED = `NOTFOUND` -Generated_source4\.cpp: # 1a # GENERATED = `` -Generated_source4\.cpp: # 1b # GENERATED = `NOTFOUND` -Generated_source4\.cpp: # 2a # GENERATED = `` -Generated_source4\.cpp: # 2b # GENERATED = `NOTFOUND` -Generated_source4\.cpp: # 3a # GENERATED = `` -Generated_source4\.cpp: # 3b # GENERATED = `NOTFOUND` +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 = `` -Generated_source5\.cpp: # 3b # GENERATED = `NOTFOUND` +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 = `` -Generated_source6\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_source6\.cpp: # 3a # GENERATED = `0` +Generated_source6\.cpp: # 3b # GENERATED = `0` CMake Error at CMP0118-Common-Test6\.cmake:[0-9]+ \(add_executable\): Cannot find source file: diff --git a/Tests/RunCMake/CMP0118/CMP0118-OLD-Test7-stderr.txt b/Tests/RunCMake/CMP0118/CMP0118-OLD-Test7-stderr.txt index f62713e..5f490ee 100644 --- a/Tests/RunCMake/CMP0118/CMP0118-OLD-Test7-stderr.txt +++ b/Tests/RunCMake/CMP0118/CMP0118-OLD-Test7-stderr.txt @@ -2,38 +2,38 @@ Generated_source1\.cpp: # 1b # GENERATED = `1` Generated_source1\.cpp: # 2a # GENERATED = `1` Generated_source1\.cpp: # 2b # GENERATED = `1` -Generated_source1\.cpp: # 3a # GENERATED = `` -Generated_source1\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_source1\.cpp: # 3a # GENERATED = `0` +Generated_source1\.cpp: # 3b # GENERATED = `0` Generated_source2\.cpp: # 1a # GENERATED = `0` Generated_source2\.cpp: # 1b # GENERATED = `0` Generated_source2\.cpp: # 2a # GENERATED = `0` Generated_source2\.cpp: # 2b # GENERATED = `0` -Generated_source2\.cpp: # 3a # GENERATED = `` -Generated_source2\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_source2\.cpp: # 3a # GENERATED = `0` +Generated_source2\.cpp: # 3b # GENERATED = `0` Generated_source3\.cpp: # 1a # GENERATED = `0` Generated_source3\.cpp: # 1b # GENERATED = `0` Generated_source3\.cpp: # 2a # GENERATED = `0` Generated_source3\.cpp: # 2b # GENERATED = `0` -Generated_source3\.cpp: # 3a # GENERATED = `` -Generated_source3\.cpp: # 3b # GENERATED = `NOTFOUND` -Generated_source4\.cpp: # 1a # GENERATED = `` -Generated_source4\.cpp: # 1b # GENERATED = `NOTFOUND` -Generated_source4\.cpp: # 2a # GENERATED = `` -Generated_source4\.cpp: # 2b # GENERATED = `NOTFOUND` -Generated_source4\.cpp: # 3a # GENERATED = `` -Generated_source4\.cpp: # 3b # GENERATED = `NOTFOUND` +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 = `0` Generated_source5\.cpp: # 1b # GENERATED = `0` Generated_source5\.cpp: # 2a # GENERATED = `0` Generated_source5\.cpp: # 2b # GENERATED = `0` -Generated_source5\.cpp: # 3a # GENERATED = `` -Generated_source5\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_source5\.cpp: # 3a # GENERATED = `0` +Generated_source5\.cpp: # 3b # GENERATED = `0` Generated_source6\.cpp: # 1a # GENERATED = `0` Generated_source6\.cpp: # 1b # GENERATED = `0` Generated_source6\.cpp: # 2a # GENERATED = `0` Generated_source6\.cpp: # 2b # GENERATED = `0` -Generated_source6\.cpp: # 3a # GENERATED = `` -Generated_source6\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_source6\.cpp: # 3a # GENERATED = `0` +Generated_source6\.cpp: # 3b # GENERATED = `0` CMake Error at CMP0118-Common-Test7\.cmake:[0-9]+ \(add_executable\): Cannot find source file: diff --git a/Tests/RunCMake/CMP0118/CMP0118-OLD-Test8-stderr.txt b/Tests/RunCMake/CMP0118/CMP0118-OLD-Test8-stderr.txt index 59b3868..bd82224 100644 --- a/Tests/RunCMake/CMP0118/CMP0118-OLD-Test8-stderr.txt +++ b/Tests/RunCMake/CMP0118/CMP0118-OLD-Test8-stderr.txt @@ -1,39 +1,39 @@ -^Generated_source1\.cpp: # 1a # GENERATED = `` -Generated_source1\.cpp: # 1b # GENERATED = `NOTFOUND` -Generated_source1\.cpp: # 2a # GENERATED = `` -Generated_source1\.cpp: # 2b # GENERATED = `NOTFOUND` -Generated_source1\.cpp: # 3a # GENERATED = `` -Generated_source1\.cpp: # 3b # GENERATED = `NOTFOUND` +^Generated_source1\.cpp: # 1a # GENERATED = `0` +Generated_source1\.cpp: # 1b # GENERATED = `0` +Generated_source1\.cpp: # 2a # GENERATED = `0` +Generated_source1\.cpp: # 2b # GENERATED = `0` +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 = `` -Generated_source2\.cpp: # 3b # GENERATED = `NOTFOUND` +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 = `` -Generated_source3\.cpp: # 3b # GENERATED = `NOTFOUND` -Generated_source4\.cpp: # 1a # GENERATED = `` -Generated_source4\.cpp: # 1b # GENERATED = `NOTFOUND` -Generated_source4\.cpp: # 2a # GENERATED = `` -Generated_source4\.cpp: # 2b # GENERATED = `NOTFOUND` -Generated_source4\.cpp: # 3a # GENERATED = `` -Generated_source4\.cpp: # 3b # GENERATED = `NOTFOUND` +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 = `` -Generated_source5\.cpp: # 3b # GENERATED = `NOTFOUND` +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 = `` -Generated_source6\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_source6\.cpp: # 3a # GENERATED = `0` +Generated_source6\.cpp: # 3b # GENERATED = `0` CMake Error at CMP0118-Common-Test8\.cmake:[0-9]+ \(add_executable\): Cannot find source file: diff --git a/Tests/RunCMake/CMP0118/CMP0118-OLD-Test9-stderr.txt b/Tests/RunCMake/CMP0118/CMP0118-OLD-Test9-stderr.txt index c00b55b..172e4eb 100644 --- a/Tests/RunCMake/CMP0118/CMP0118-OLD-Test9-stderr.txt +++ b/Tests/RunCMake/CMP0118/CMP0118-OLD-Test9-stderr.txt @@ -1,39 +1,39 @@ -^Generated_source1\.cpp: # 1a # GENERATED = `` -Generated_source1\.cpp: # 1b # GENERATED = `NOTFOUND` -Generated_source1\.cpp: # 2a # GENERATED = `` -Generated_source1\.cpp: # 2b # GENERATED = `NOTFOUND` -Generated_source1\.cpp: # 3a # GENERATED = `` -Generated_source1\.cpp: # 3b # GENERATED = `NOTFOUND` +^Generated_source1\.cpp: # 1a # GENERATED = `0` +Generated_source1\.cpp: # 1b # GENERATED = `0` +Generated_source1\.cpp: # 2a # GENERATED = `0` +Generated_source1\.cpp: # 2b # GENERATED = `0` +Generated_source1\.cpp: # 3a # GENERATED = `0` +Generated_source1\.cpp: # 3b # GENERATED = `0` Generated_source2\.cpp: # 1a # GENERATED = `0` Generated_source2\.cpp: # 1b # GENERATED = `0` Generated_source2\.cpp: # 2a # GENERATED = `0` Generated_source2\.cpp: # 2b # GENERATED = `0` -Generated_source2\.cpp: # 3a # GENERATED = `` -Generated_source2\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_source2\.cpp: # 3a # GENERATED = `0` +Generated_source2\.cpp: # 3b # GENERATED = `0` Generated_source3\.cpp: # 1a # GENERATED = `0` Generated_source3\.cpp: # 1b # GENERATED = `0` Generated_source3\.cpp: # 2a # GENERATED = `0` Generated_source3\.cpp: # 2b # GENERATED = `0` -Generated_source3\.cpp: # 3a # GENERATED = `` -Generated_source3\.cpp: # 3b # GENERATED = `NOTFOUND` -Generated_source4\.cpp: # 1a # GENERATED = `` -Generated_source4\.cpp: # 1b # GENERATED = `NOTFOUND` -Generated_source4\.cpp: # 2a # GENERATED = `` -Generated_source4\.cpp: # 2b # GENERATED = `NOTFOUND` -Generated_source4\.cpp: # 3a # GENERATED = `` -Generated_source4\.cpp: # 3b # GENERATED = `NOTFOUND` +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 = `0` Generated_source5\.cpp: # 1b # GENERATED = `0` Generated_source5\.cpp: # 2a # GENERATED = `0` Generated_source5\.cpp: # 2b # GENERATED = `0` -Generated_source5\.cpp: # 3a # GENERATED = `` -Generated_source5\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_source5\.cpp: # 3a # GENERATED = `0` +Generated_source5\.cpp: # 3b # GENERATED = `0` Generated_source6\.cpp: # 1a # GENERATED = `0` Generated_source6\.cpp: # 1b # GENERATED = `0` Generated_source6\.cpp: # 2a # GENERATED = `0` Generated_source6\.cpp: # 2b # GENERATED = `0` -Generated_source6\.cpp: # 3a # GENERATED = `` -Generated_source6\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_source6\.cpp: # 3a # GENERATED = `0` +Generated_source6\.cpp: # 3b # GENERATED = `0` CMake Error at CMP0118-Common-Test9\.cmake:[0-9]+ \(add_executable\): Cannot find source file: diff --git a/Tests/RunCMake/CMP0118/CMP0118-WARN-Test1-stderr.txt b/Tests/RunCMake/CMP0118/CMP0118-WARN-Test1-stderr.txt index 9ae7eb2..bb19577 100644 --- a/Tests/RunCMake/CMP0118/CMP0118-WARN-Test1-stderr.txt +++ b/Tests/RunCMake/CMP0118/CMP0118-WARN-Test1-stderr.txt @@ -1,4 +1,4 @@ -^prop: `` +^prop: `0` CMake Error at CMP0118-Common-Test1\.cmake:[0-9]+ \(add_executable\): Cannot find source file: diff --git a/Tests/RunCMake/CMP0118/CMP0118-WARN-Test10-stderr.txt b/Tests/RunCMake/CMP0118/CMP0118-WARN-Test10-stderr.txt index 118a6e6..f9ceb89 100644 --- a/Tests/RunCMake/CMP0118/CMP0118-WARN-Test10-stderr.txt +++ b/Tests/RunCMake/CMP0118/CMP0118-WARN-Test10-stderr.txt @@ -2,44 +2,44 @@ Generated_source0\.cpp: # 1b # GENERATED = `1` Generated_source0\.cpp: # 2a # GENERATED = `1` Generated_source0\.cpp: # 2b # GENERATED = `1` -Generated_source0\.cpp: # 3a # GENERATED = `` -Generated_source0\.cpp: # 3b # GENERATED = `NOTFOUND` +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 = `` -Generated_source1\.cpp: # 3b # GENERATED = `NOTFOUND` +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 = `` -Generated_source2\.cpp: # 3b # GENERATED = `NOTFOUND` +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 = `` -Generated_source3\.cpp: # 3b # GENERATED = `NOTFOUND` -Generated_source4\.cpp: # 1a # GENERATED = `` -Generated_source4\.cpp: # 1b # GENERATED = `NOTFOUND` -Generated_source4\.cpp: # 2a # GENERATED = `` -Generated_source4\.cpp: # 2b # GENERATED = `NOTFOUND` -Generated_source4\.cpp: # 3a # GENERATED = `` -Generated_source4\.cpp: # 3b # GENERATED = `NOTFOUND` +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 = `` -Generated_source5\.cpp: # 3b # GENERATED = `NOTFOUND` +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 = `` -Generated_source6\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_source6\.cpp: # 3a # GENERATED = `0` +Generated_source6\.cpp: # 3b # GENERATED = `0` CMake Error at CMP0118-Common-Test10\.cmake:[0-9]+ \(add_executable\): Cannot find source file: diff --git a/Tests/RunCMake/CMP0118/CMP0118-WARN-Test11-stderr.txt b/Tests/RunCMake/CMP0118/CMP0118-WARN-Test11-stderr.txt index 7c02091..0d4e924 100644 --- a/Tests/RunCMake/CMP0118/CMP0118-WARN-Test11-stderr.txt +++ b/Tests/RunCMake/CMP0118/CMP0118-WARN-Test11-stderr.txt @@ -25,48 +25,48 @@ 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 = `` -Generated_source0\.cpp: # 3b # GENERATED = `NOTFOUND` +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 = `` -Generated_source1\.cpp: # 3b # GENERATED = `NOTFOUND` -Generated_source2\.cpp: # 1a # GENERATED = `0` -Generated_source2\.cpp: # 1b # GENERATED = `0` -Generated_source2\.cpp: # 2a # GENERATED = `0` -Generated_source2\.cpp: # 2b # GENERATED = `0` -Generated_source2\.cpp: # 3a # GENERATED = `` -Generated_source2\.cpp: # 3b # GENERATED = `NOTFOUND` -Generated_source3\.cpp: # 1a # GENERATED = `0` -Generated_source3\.cpp: # 1b # GENERATED = `0` -Generated_source3\.cpp: # 2a # GENERATED = `0` -Generated_source3\.cpp: # 2b # GENERATED = `0` -Generated_source3\.cpp: # 3a # GENERATED = `` -Generated_source3\.cpp: # 3b # GENERATED = `NOTFOUND` -Generated_source4\.cpp: # 1a # GENERATED = `` -Generated_source4\.cpp: # 1b # GENERATED = `NOTFOUND` -Generated_source4\.cpp: # 2a # GENERATED = `` -Generated_source4\.cpp: # 2b # GENERATED = `NOTFOUND` -Generated_source4\.cpp: # 3a # GENERATED = `` -Generated_source4\.cpp: # 3b # GENERATED = `NOTFOUND` +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 = `0` Generated_source5\.cpp: # 1b # GENERATED = `0` Generated_source5\.cpp: # 2a # GENERATED = `0` Generated_source5\.cpp: # 2b # GENERATED = `0` -Generated_source5\.cpp: # 3a # GENERATED = `` -Generated_source5\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_source5\.cpp: # 3a # GENERATED = `0` +Generated_source5\.cpp: # 3b # GENERATED = `0` Generated_source6\.cpp: # 1a # GENERATED = `0` Generated_source6\.cpp: # 1b # GENERATED = `0` Generated_source6\.cpp: # 2a # GENERATED = `0` Generated_source6\.cpp: # 2b # GENERATED = `0` -Generated_source6\.cpp: # 3a # GENERATED = `` -Generated_source6\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_source6\.cpp: # 3a # GENERATED = `0` +Generated_source6\.cpp: # 3b # GENERATED = `0` CMake Error at CMP0118-Common-Test11\.cmake:[0-9]+ \(add_executable\): Cannot find source file: -[ \t]*.*Tests/RunCMake/CMP0118/CMP0118-WARN-Test11-build/Generated_source[2-6]\.cpp +[ \t]*.*Tests/RunCMake/CMP0118/CMP0118-WARN-Test11-build/Generated_source[4-6]\.cpp Call Stack \(most recent call first\): CMP0118-WARN-Test11\.cmake:[0-9]+ \(include\) CMakeLists\.txt:[0-9]+ \(include\) @@ -74,7 +74,7 @@ Call Stack \(most recent call first\): CMake Error at CMP0118-Common-Test11\.cmake:[0-9]+ \(add_executable\): Cannot find source file: -[ \t]*.*Tests/RunCMake/CMP0118/CMP0118-WARN-Test11-build/Generated_source[2-6]\.cpp +[ \t]*.*Tests/RunCMake/CMP0118/CMP0118-WARN-Test11-build/Generated_source[4-6]\.cpp Call Stack \(most recent call first\): CMP0118-WARN-Test11\.cmake:[0-9]+ \(include\) CMakeLists\.txt:[0-9]+ \(include\) @@ -82,29 +82,13 @@ Call Stack \(most recent call first\): CMake Error at CMP0118-Common-Test11\.cmake:[0-9]+ \(add_executable\): Cannot find source file: -[ \t]*.*Tests/RunCMake/CMP0118/CMP0118-WARN-Test11-build/Generated_source[2-6]\.cpp -Call Stack \(most recent call first\): - CMP0118-WARN-Test11\.cmake:[0-9]+ \(include\) - CMakeLists\.txt:[0-9]+ \(include\) -+ -CMake Error at CMP0118-Common-Test11\.cmake:[0-9]+ \(add_executable\): - Cannot find source file: - -[ \t]*.*Tests/RunCMake/CMP0118/CMP0118-WARN-Test11-build/Generated_source[2-6]\.cpp -Call Stack \(most recent call first\): - CMP0118-WARN-Test11\.cmake:[0-9]+ \(include\) - CMakeLists\.txt:[0-9]+ \(include\) -+ -CMake Error at CMP0118-Common-Test11\.cmake:[0-9]+ \(add_executable\): - Cannot find source file: - -[ \t]*.*Tests/RunCMake/CMP0118/CMP0118-WARN-Test11-build/Generated_source[2-6]\.cpp +[ \t]*.*Tests/RunCMake/CMP0118/CMP0118-WARN-Test11-build/Generated_source[4-6]\.cpp Call Stack \(most recent call first\): CMP0118-WARN-Test11\.cmake:[0-9]+ \(include\) CMakeLists\.txt:[0-9]+ \(include\) + (CMake Error at CMP0118-Common-Test11\.cmake:[0-9]+ \(add_executable\): - No SOURCES given to target: executable[2-6] + No SOURCES given to target: executable[4-6] Call Stack \(most recent call first\): CMP0118-WARN-Test11\.cmake:[0-9]+ \(include\) CMakeLists\.txt:[0-9]+ \(include\) diff --git a/Tests/RunCMake/CMP0118/CMP0118-WARN-Test12-stderr.txt b/Tests/RunCMake/CMP0118/CMP0118-WARN-Test12-stderr.txt index 33b2c89..404787c 100644 --- a/Tests/RunCMake/CMP0118/CMP0118-WARN-Test12-stderr.txt +++ b/Tests/RunCMake/CMP0118/CMP0118-WARN-Test12-stderr.txt @@ -11,41 +11,41 @@ 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 = `` -Generated_source0\.cpp: # 3b # GENERATED = `NOTFOUND` +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 = `` -Generated_source1\.cpp: # 3b # GENERATED = `NOTFOUND` +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 = `` -Generated_source2\.cpp: # 3b # GENERATED = `NOTFOUND` +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 = `` -Generated_source3\.cpp: # 3b # GENERATED = `NOTFOUND` -Generated_source4\.cpp: # 1a # GENERATED = `` -Generated_source4\.cpp: # 1b # GENERATED = `NOTFOUND` -Generated_source4\.cpp: # 2a # GENERATED = `` -Generated_source4\.cpp: # 2b # GENERATED = `NOTFOUND` -Generated_source4\.cpp: # 3a # GENERATED = `` -Generated_source4\.cpp: # 3b # GENERATED = `NOTFOUND` +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 = `` -Generated_source5\.cpp: # 3b # GENERATED = `NOTFOUND` +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 = `` -Generated_source6\.cpp: # 3b # GENERATED = `NOTFOUND`$ +Generated_source6\.cpp: # 3a # GENERATED = `0` +Generated_source6\.cpp: # 3b # GENERATED = `0`$ diff --git a/Tests/RunCMake/CMP0118/CMP0118-WARN-Test13-stderr.txt b/Tests/RunCMake/CMP0118/CMP0118-WARN-Test13-stderr.txt index 2c5148e..cb31858 100644 --- a/Tests/RunCMake/CMP0118/CMP0118-WARN-Test13-stderr.txt +++ b/Tests/RunCMake/CMP0118/CMP0118-WARN-Test13-stderr.txt @@ -34,41 +34,41 @@ 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 = `` -Generated_source0\.cpp: # 3b # GENERATED = `NOTFOUND` +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 = `` -Generated_source1\.cpp: # 3b # GENERATED = `NOTFOUND` -Generated_source2\.cpp: # 1a # GENERATED = `0` -Generated_source2\.cpp: # 1b # GENERATED = `0` -Generated_source2\.cpp: # 2a # GENERATED = `0` -Generated_source2\.cpp: # 2b # GENERATED = `0` -Generated_source2\.cpp: # 3a # GENERATED = `` -Generated_source2\.cpp: # 3b # GENERATED = `NOTFOUND` -Generated_source3\.cpp: # 1a # GENERATED = `0` -Generated_source3\.cpp: # 1b # GENERATED = `0` -Generated_source3\.cpp: # 2a # GENERATED = `0` -Generated_source3\.cpp: # 2b # GENERATED = `0` -Generated_source3\.cpp: # 3a # GENERATED = `` -Generated_source3\.cpp: # 3b # GENERATED = `NOTFOUND` -Generated_source4\.cpp: # 1a # GENERATED = `` -Generated_source4\.cpp: # 1b # GENERATED = `NOTFOUND` -Generated_source4\.cpp: # 2a # GENERATED = `` -Generated_source4\.cpp: # 2b # GENERATED = `NOTFOUND` -Generated_source4\.cpp: # 3a # GENERATED = `` -Generated_source4\.cpp: # 3b # GENERATED = `NOTFOUND` +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 = `0` Generated_source5\.cpp: # 1b # GENERATED = `0` Generated_source5\.cpp: # 2a # GENERATED = `0` Generated_source5\.cpp: # 2b # GENERATED = `0` -Generated_source5\.cpp: # 3a # GENERATED = `` -Generated_source5\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_source5\.cpp: # 3a # GENERATED = `0` +Generated_source5\.cpp: # 3b # GENERATED = `0` Generated_source6\.cpp: # 1a # GENERATED = `0` Generated_source6\.cpp: # 1b # GENERATED = `0` Generated_source6\.cpp: # 2a # GENERATED = `0` Generated_source6\.cpp: # 2b # GENERATED = `0` -Generated_source6\.cpp: # 3a # GENERATED = `` -Generated_source6\.cpp: # 3b # GENERATED = `NOTFOUND`$ +Generated_source6\.cpp: # 3a # GENERATED = `0` +Generated_source6\.cpp: # 3b # GENERATED = `0`$ diff --git a/Tests/RunCMake/CMP0118/CMP0118-WARN-Test14-stderr.txt b/Tests/RunCMake/CMP0118/CMP0118-WARN-Test14-stderr.txt index e76e48c..35f858c 100644 --- a/Tests/RunCMake/CMP0118/CMP0118-WARN-Test14-stderr.txt +++ b/Tests/RunCMake/CMP0118/CMP0118-WARN-Test14-stderr.txt @@ -2,44 +2,44 @@ Generated_source0\.cpp: # 1b # GENERATED = `1` Generated_source0\.cpp: # 2a # GENERATED = `1` Generated_source0\.cpp: # 2b # GENERATED = `1` -Generated_source0\.cpp: # 3a # GENERATED = `` -Generated_source0\.cpp: # 3b # GENERATED = `NOTFOUND` +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 = `` -Generated_source1\.cpp: # 3b # GENERATED = `NOTFOUND` +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 = `` -Generated_source2\.cpp: # 3b # GENERATED = `NOTFOUND` +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 = `` -Generated_source3\.cpp: # 3b # GENERATED = `NOTFOUND` -Generated_source4\.cpp: # 1a # GENERATED = `` -Generated_source4\.cpp: # 1b # GENERATED = `NOTFOUND` -Generated_source4\.cpp: # 2a # GENERATED = `` -Generated_source4\.cpp: # 2b # GENERATED = `NOTFOUND` -Generated_source4\.cpp: # 3a # GENERATED = `` -Generated_source4\.cpp: # 3b # GENERATED = `NOTFOUND` +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 = `` -Generated_source5\.cpp: # 3b # GENERATED = `NOTFOUND` +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 = `` -Generated_source6\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_source6\.cpp: # 3a # GENERATED = `0` +Generated_source6\.cpp: # 3b # GENERATED = `0` CMake Error at CMP0118-Common-Test14\.cmake:[0-9]+ \(add_executable\): Cannot find source file: diff --git a/Tests/RunCMake/CMP0118/CMP0118-WARN-Test15-stderr.txt b/Tests/RunCMake/CMP0118/CMP0118-WARN-Test15-stderr.txt index dc3e9d3..0b0e608 100644 --- a/Tests/RunCMake/CMP0118/CMP0118-WARN-Test15-stderr.txt +++ b/Tests/RunCMake/CMP0118/CMP0118-WARN-Test15-stderr.txt @@ -25,48 +25,48 @@ 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 = `` -Generated_source0\.cpp: # 3b # GENERATED = `NOTFOUND` +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 = `` -Generated_source1\.cpp: # 3b # GENERATED = `NOTFOUND` -Generated_source2\.cpp: # 1a # GENERATED = `0` -Generated_source2\.cpp: # 1b # GENERATED = `0` -Generated_source2\.cpp: # 2a # GENERATED = `0` -Generated_source2\.cpp: # 2b # GENERATED = `0` -Generated_source2\.cpp: # 3a # GENERATED = `` -Generated_source2\.cpp: # 3b # GENERATED = `NOTFOUND` -Generated_source3\.cpp: # 1a # GENERATED = `0` -Generated_source3\.cpp: # 1b # GENERATED = `0` -Generated_source3\.cpp: # 2a # GENERATED = `0` -Generated_source3\.cpp: # 2b # GENERATED = `0` -Generated_source3\.cpp: # 3a # GENERATED = `` -Generated_source3\.cpp: # 3b # GENERATED = `NOTFOUND` -Generated_source4\.cpp: # 1a # GENERATED = `` -Generated_source4\.cpp: # 1b # GENERATED = `NOTFOUND` -Generated_source4\.cpp: # 2a # GENERATED = `` -Generated_source4\.cpp: # 2b # GENERATED = `NOTFOUND` -Generated_source4\.cpp: # 3a # GENERATED = `` -Generated_source4\.cpp: # 3b # GENERATED = `NOTFOUND` +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 = `0` Generated_source5\.cpp: # 1b # GENERATED = `0` Generated_source5\.cpp: # 2a # GENERATED = `0` Generated_source5\.cpp: # 2b # GENERATED = `0` -Generated_source5\.cpp: # 3a # GENERATED = `` -Generated_source5\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_source5\.cpp: # 3a # GENERATED = `0` +Generated_source5\.cpp: # 3b # GENERATED = `0` Generated_source6\.cpp: # 1a # GENERATED = `0` Generated_source6\.cpp: # 1b # GENERATED = `0` Generated_source6\.cpp: # 2a # GENERATED = `0` Generated_source6\.cpp: # 2b # GENERATED = `0` -Generated_source6\.cpp: # 3a # GENERATED = `` -Generated_source6\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_source6\.cpp: # 3a # GENERATED = `0` +Generated_source6\.cpp: # 3b # GENERATED = `0` CMake Error at CMP0118-Common-Test15\.cmake:[0-9]+ \(add_executable\): Cannot find source file: -[ \t]*.*Tests/RunCMake/CMP0118/CMP0118-WARN-Test15-build/Generated_source[2-6]\.cpp +[ \t]*.*Tests/RunCMake/CMP0118/CMP0118-WARN-Test15-build/Generated_source[4-6]\.cpp Call Stack \(most recent call first\): CMP0118-WARN-Test15\.cmake:[0-9]+ \(include\) CMakeLists\.txt:[0-9]+ \(include\) @@ -74,7 +74,7 @@ Call Stack \(most recent call first\): CMake Error at CMP0118-Common-Test15\.cmake:[0-9]+ \(add_executable\): Cannot find source file: -[ \t]*.*Tests/RunCMake/CMP0118/CMP0118-WARN-Test15-build/Generated_source[2-6]\.cpp +[ \t]*.*Tests/RunCMake/CMP0118/CMP0118-WARN-Test15-build/Generated_source[4-6]\.cpp Call Stack \(most recent call first\): CMP0118-WARN-Test15\.cmake:[0-9]+ \(include\) CMakeLists\.txt:[0-9]+ \(include\) @@ -82,29 +82,13 @@ Call Stack \(most recent call first\): CMake Error at CMP0118-Common-Test15\.cmake:[0-9]+ \(add_executable\): Cannot find source file: -[ \t]*.*Tests/RunCMake/CMP0118/CMP0118-WARN-Test15-build/Generated_source[2-6]\.cpp -Call Stack \(most recent call first\): - CMP0118-WARN-Test15\.cmake:[0-9]+ \(include\) - CMakeLists\.txt:[0-9]+ \(include\) -+ -CMake Error at CMP0118-Common-Test15\.cmake:[0-9]+ \(add_executable\): - Cannot find source file: - -[ \t]*.*Tests/RunCMake/CMP0118/CMP0118-WARN-Test15-build/Generated_source[2-6]\.cpp -Call Stack \(most recent call first\): - CMP0118-WARN-Test15\.cmake:[0-9]+ \(include\) - CMakeLists\.txt:[0-9]+ \(include\) -+ -CMake Error at CMP0118-Common-Test15\.cmake:[0-9]+ \(add_executable\): - Cannot find source file: - -[ \t]*.*Tests/RunCMake/CMP0118/CMP0118-WARN-Test15-build/Generated_source[2-6]\.cpp +[ \t]*.*Tests/RunCMake/CMP0118/CMP0118-WARN-Test15-build/Generated_source[4-6]\.cpp Call Stack \(most recent call first\): CMP0118-WARN-Test15\.cmake:[0-9]+ \(include\) CMakeLists\.txt:[0-9]+ \(include\) + (CMake Error at CMP0118-Common-Test15\.cmake:[0-9]+ \(add_executable\): - No SOURCES given to target: executable[2-6] + No SOURCES given to target: executable[4-6] Call Stack \(most recent call first\): CMP0118-WARN-Test15\.cmake:[0-9]+ \(include\) CMakeLists\.txt:[0-9]+ \(include\) diff --git a/Tests/RunCMake/CMP0118/CMP0118-WARN-Test3-stderr.txt b/Tests/RunCMake/CMP0118/CMP0118-WARN-Test3-stderr.txt index ea32cbf..ca08216 100644 --- a/Tests/RunCMake/CMP0118/CMP0118-WARN-Test3-stderr.txt +++ b/Tests/RunCMake/CMP0118/CMP0118-WARN-Test3-stderr.txt @@ -2,34 +2,34 @@ 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 = `` -Generated_with_full_path1\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_with_full_path1\.cpp: # 3a # GENERATED = `0` +Generated_with_full_path1\.cpp: # 3b # GENERATED = `0` Generated_with_full_path2\.cpp: # 1a # GENERATED = `1` Generated_with_full_path2\.cpp: # 1b # GENERATED = `1` Generated_with_full_path2\.cpp: # 2a # GENERATED = `1` Generated_with_full_path2\.cpp: # 2b # GENERATED = `1` -Generated_with_full_path2\.cpp: # 3a # GENERATED = `` -Generated_with_full_path2\.cpp: # 3b # GENERATED = `NOTFOUND` -Generated_with_full_path3\.cpp: # 1a # GENERATED = `` -Generated_with_full_path3\.cpp: # 1b # GENERATED = `NOTFOUND` -Generated_with_full_path3\.cpp: # 2a # GENERATED = `` -Generated_with_full_path3\.cpp: # 2b # GENERATED = `NOTFOUND` -Generated_with_full_path3\.cpp: # 3a # GENERATED = `` -Generated_with_full_path3\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_with_full_path2\.cpp: # 3a # GENERATED = `0` +Generated_with_full_path2\.cpp: # 3b # GENERATED = `0` +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 = `` -Generated_with_relative_path1\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_with_relative_path1\.cpp: # 3a # GENERATED = `0` +Generated_with_relative_path1\.cpp: # 3b # GENERATED = `0` Generated_with_relative_path2\.cpp: # 1a # GENERATED = `1` Generated_with_relative_path2\.cpp: # 1b # GENERATED = `1` Generated_with_relative_path2\.cpp: # 2a # GENERATED = `1` Generated_with_relative_path2\.cpp: # 2b # GENERATED = `1` -Generated_with_relative_path2\.cpp: # 3a # GENERATED = `` -Generated_with_relative_path2\.cpp: # 3b # GENERATED = `NOTFOUND` -Generated_with_relative_path3\.cpp: # 1a # GENERATED = `` -Generated_with_relative_path3\.cpp: # 1b # GENERATED = `NOTFOUND` +Generated_with_relative_path2\.cpp: # 3a # GENERATED = `0` +Generated_with_relative_path2\.cpp: # 3b # GENERATED = `0` +Generated_with_relative_path3\.cpp: # 1a # GENERATED = `0` +Generated_with_relative_path3\.cpp: # 1b # GENERATED = `0` Generated_with_relative_path3\.cpp: # 2a # GENERATED = `1` Generated_with_relative_path3\.cpp: # 2b # GENERATED = `1` Generated_with_relative_path3\.cpp: # 3a # GENERATED = `1` @@ -38,20 +38,20 @@ 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 = `` -Generated_with_full_source_path1\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_with_full_source_path1\.cpp: # 3a # GENERATED = `0` +Generated_with_full_source_path1\.cpp: # 3b # GENERATED = `0` Generated_with_full_source_path2\.cpp: # 1a # GENERATED = `1` Generated_with_full_source_path2\.cpp: # 1b # GENERATED = `1` Generated_with_full_source_path2\.cpp: # 2a # GENERATED = `1` Generated_with_full_source_path2\.cpp: # 2b # GENERATED = `1` -Generated_with_full_source_path2\.cpp: # 3a # GENERATED = `` -Generated_with_full_source_path2\.cpp: # 3b # GENERATED = `NOTFOUND` -Generated_with_full_source_path3\.cpp: # 1a # GENERATED = `` -Generated_with_full_source_path3\.cpp: # 1b # GENERATED = `NOTFOUND` -Generated_with_full_source_path3\.cpp: # 2a # GENERATED = `` -Generated_with_full_source_path3\.cpp: # 2b # GENERATED = `NOTFOUND` -Generated_with_full_source_path3\.cpp: # 3a # GENERATED = `` -Generated_with_full_source_path3\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_with_full_source_path2\.cpp: # 3a # GENERATED = `0` +Generated_with_full_source_path2\.cpp: # 3b # GENERATED = `0` +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-Test3\.cmake:[0-9]+ \(add_executable\): Cannot find source file: diff --git a/Tests/RunCMake/CMP0118/CMP0118-WARN-Test3b-stderr.txt b/Tests/RunCMake/CMP0118/CMP0118-WARN-Test3b-stderr.txt index c54a75f..ee4b71e 100644 --- a/Tests/RunCMake/CMP0118/CMP0118-WARN-Test3b-stderr.txt +++ b/Tests/RunCMake/CMP0118/CMP0118-WARN-Test3b-stderr.txt @@ -2,34 +2,34 @@ 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 = `` -Generated_with_full_path1\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_with_full_path1\.cpp: # 3a # GENERATED = `0` +Generated_with_full_path1\.cpp: # 3b # GENERATED = `0` Generated_with_full_path2\.cpp: # 1a # GENERATED = `1` Generated_with_full_path2\.cpp: # 1b # GENERATED = `1` Generated_with_full_path2\.cpp: # 2a # GENERATED = `1` Generated_with_full_path2\.cpp: # 2b # GENERATED = `1` -Generated_with_full_path2\.cpp: # 3a # GENERATED = `` -Generated_with_full_path2\.cpp: # 3b # GENERATED = `NOTFOUND` -Generated_with_full_path3\.cpp: # 1a # GENERATED = `` -Generated_with_full_path3\.cpp: # 1b # GENERATED = `NOTFOUND` -Generated_with_full_path3\.cpp: # 2a # GENERATED = `` -Generated_with_full_path3\.cpp: # 2b # GENERATED = `NOTFOUND` -Generated_with_full_path3\.cpp: # 3a # GENERATED = `` -Generated_with_full_path3\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_with_full_path2\.cpp: # 3a # GENERATED = `0` +Generated_with_full_path2\.cpp: # 3b # GENERATED = `0` +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 = `` -Generated_with_relative_path1\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_with_relative_path1\.cpp: # 3a # GENERATED = `0` +Generated_with_relative_path1\.cpp: # 3b # GENERATED = `0` Generated_with_relative_path2\.cpp: # 1a # GENERATED = `1` Generated_with_relative_path2\.cpp: # 1b # GENERATED = `1` Generated_with_relative_path2\.cpp: # 2a # GENERATED = `1` Generated_with_relative_path2\.cpp: # 2b # GENERATED = `1` -Generated_with_relative_path2\.cpp: # 3a # GENERATED = `` -Generated_with_relative_path2\.cpp: # 3b # GENERATED = `NOTFOUND` -Generated_with_relative_path3\.cpp: # 1a # GENERATED = `` -Generated_with_relative_path3\.cpp: # 1b # GENERATED = `NOTFOUND` +Generated_with_relative_path2\.cpp: # 3a # GENERATED = `0` +Generated_with_relative_path2\.cpp: # 3b # GENERATED = `0` +Generated_with_relative_path3\.cpp: # 1a # GENERATED = `0` +Generated_with_relative_path3\.cpp: # 1b # GENERATED = `0` Generated_with_relative_path3\.cpp: # 2a # GENERATED = `1` Generated_with_relative_path3\.cpp: # 2b # GENERATED = `1` Generated_with_relative_path3\.cpp: # 3a # GENERATED = `1` @@ -38,20 +38,20 @@ 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 = `` -Generated_with_full_source_path1\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_with_full_source_path1\.cpp: # 3a # GENERATED = `0` +Generated_with_full_source_path1\.cpp: # 3b # GENERATED = `0` Generated_with_full_source_path2\.cpp: # 1a # GENERATED = `1` Generated_with_full_source_path2\.cpp: # 1b # GENERATED = `1` Generated_with_full_source_path2\.cpp: # 2a # GENERATED = `1` Generated_with_full_source_path2\.cpp: # 2b # GENERATED = `1` -Generated_with_full_source_path2\.cpp: # 3a # GENERATED = `` -Generated_with_full_source_path2\.cpp: # 3b # GENERATED = `NOTFOUND` -Generated_with_full_source_path3\.cpp: # 1a # GENERATED = `` -Generated_with_full_source_path3\.cpp: # 1b # GENERATED = `NOTFOUND` -Generated_with_full_source_path3\.cpp: # 2a # GENERATED = `` -Generated_with_full_source_path3\.cpp: # 2b # GENERATED = `NOTFOUND` -Generated_with_full_source_path3\.cpp: # 3a # GENERATED = `` -Generated_with_full_source_path3\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_with_full_source_path2\.cpp: # 3a # GENERATED = `0` +Generated_with_full_source_path2\.cpp: # 3b # GENERATED = `0` +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-Test3b\.cmake:[0-9]+ \(add_executable\): Cannot find source file: diff --git a/Tests/RunCMake/CMP0118/CMP0118-WARN-Test4-stderr.txt b/Tests/RunCMake/CMP0118/CMP0118-WARN-Test4-stderr.txt index e882b5c..5e8ecf5 100644 --- a/Tests/RunCMake/CMP0118/CMP0118-WARN-Test4-stderr.txt +++ b/Tests/RunCMake/CMP0118/CMP0118-WARN-Test4-stderr.txt @@ -15,8 +15,8 @@ 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 = `` -Generated_with_full_path1\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_with_full_path1\.cpp: # 3a # GENERATED = `0` +Generated_with_full_path1\.cpp: # 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 @@ -34,8 +34,8 @@ 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 = `` -Generated_with_full_path2\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_with_full_path2\.cpp: # 3a # GENERATED = `0` +Generated_with_full_path2\.cpp: # 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 = `` -Generated_with_full_path3\.cpp: # 1b # GENERATED = `NOTFOUND` -Generated_with_full_path3\.cpp: # 2a # GENERATED = `` -Generated_with_full_path3\.cpp: # 2b # GENERATED = `NOTFOUND` -Generated_with_full_path3\.cpp: # 3a # GENERATED = `` -Generated_with_full_path3\.cpp: # 3b # GENERATED = `NOTFOUND` +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` 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 @@ -72,8 +72,8 @@ 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 = `` -Generated_with_relative_path1\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_with_relative_path1\.cpp: # 3a # GENERATED = `0` +Generated_with_relative_path1\.cpp: # 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 @@ -91,8 +91,8 @@ 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 = `` -Generated_with_relative_path2\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_with_relative_path2\.cpp: # 3a # GENERATED = `0` +Generated_with_relative_path2\.cpp: # 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,8 +106,8 @@ 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 = `` -Generated_with_relative_path3\.cpp: # 1b # GENERATED = `NOTFOUND` +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` @@ -129,8 +129,8 @@ 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 = `` -Generated_with_full_source_path1\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_with_full_source_path1\.cpp: # 3a # GENERATED = `0` +Generated_with_full_source_path1\.cpp: # 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 @@ -148,8 +148,8 @@ 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 = `` -Generated_with_full_source_path2\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_with_full_source_path2\.cpp: # 3a # GENERATED = `0` +Generated_with_full_source_path2\.cpp: # 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,12 +163,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_path3\.cpp: # 1a # GENERATED = `` -Generated_with_full_source_path3\.cpp: # 1b # GENERATED = `NOTFOUND` -Generated_with_full_source_path3\.cpp: # 2a # GENERATED = `` -Generated_with_full_source_path3\.cpp: # 2b # GENERATED = `NOTFOUND` -Generated_with_full_source_path3\.cpp: # 3a # GENERATED = `` -Generated_with_full_source_path3\.cpp: # 3b # GENERATED = `NOTFOUND` +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\): Cannot find source file: diff --git a/Tests/RunCMake/CMP0118/CMP0118-WARN-Test4b-stderr.txt b/Tests/RunCMake/CMP0118/CMP0118-WARN-Test4b-stderr.txt index b3e27bf..7a685d1 100644 --- a/Tests/RunCMake/CMP0118/CMP0118-WARN-Test4b-stderr.txt +++ b/Tests/RunCMake/CMP0118/CMP0118-WARN-Test4b-stderr.txt @@ -15,8 +15,8 @@ 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 = `` -Generated_with_full_path1\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_with_full_path1\.cpp: # 3a # GENERATED = `0` +Generated_with_full_path1\.cpp: # 3b # GENERATED = `0` CMake Warning \(dev\) at CMP0118-Common-Test4b\.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 @@ -34,8 +34,8 @@ 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 = `` -Generated_with_full_path2\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_with_full_path2\.cpp: # 3a # GENERATED = `0` +Generated_with_full_path2\.cpp: # 3b # GENERATED = `0` CMake Warning \(dev\) at CMP0118-Common-Test4b\.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 = `` -Generated_with_full_path3\.cpp: # 1b # GENERATED = `NOTFOUND` -Generated_with_full_path3\.cpp: # 2a # GENERATED = `` -Generated_with_full_path3\.cpp: # 2b # GENERATED = `NOTFOUND` -Generated_with_full_path3\.cpp: # 3a # GENERATED = `` -Generated_with_full_path3\.cpp: # 3b # GENERATED = `NOTFOUND` +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` CMake Warning \(dev\) at CMP0118-Common-Test4b\.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 @@ -72,8 +72,8 @@ 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 = `` -Generated_with_relative_path1\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_with_relative_path1\.cpp: # 3a # GENERATED = `0` +Generated_with_relative_path1\.cpp: # 3b # GENERATED = `0` CMake Warning \(dev\) at CMP0118-Common-Test4b\.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 @@ -91,8 +91,8 @@ 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 = `` -Generated_with_relative_path2\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_with_relative_path2\.cpp: # 3a # GENERATED = `0` +Generated_with_relative_path2\.cpp: # 3b # GENERATED = `0` CMake Warning \(dev\) at CMP0118-Common-Test4b\.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,8 +106,8 @@ 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 = `` -Generated_with_relative_path3\.cpp: # 1b # GENERATED = `NOTFOUND` +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` @@ -129,8 +129,8 @@ 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 = `` -Generated_with_full_source_path1\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_with_full_source_path1\.cpp: # 3a # GENERATED = `0` +Generated_with_full_source_path1\.cpp: # 3b # GENERATED = `0` CMake Warning \(dev\) at CMP0118-Common-Test4b\.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 @@ -148,8 +148,8 @@ 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 = `` -Generated_with_full_source_path2\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_with_full_source_path2\.cpp: # 3a # GENERATED = `0` +Generated_with_full_source_path2\.cpp: # 3b # GENERATED = `0` CMake Warning \(dev\) at CMP0118-Common-Test4b\.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,12 +163,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_path3\.cpp: # 1a # GENERATED = `` -Generated_with_full_source_path3\.cpp: # 1b # GENERATED = `NOTFOUND` -Generated_with_full_source_path3\.cpp: # 2a # GENERATED = `` -Generated_with_full_source_path3\.cpp: # 2b # GENERATED = `NOTFOUND` -Generated_with_full_source_path3\.cpp: # 3a # GENERATED = `` -Generated_with_full_source_path3\.cpp: # 3b # GENERATED = `NOTFOUND` +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-Test4b\.cmake:[0-9]+ \(add_executable\): Cannot find source file: diff --git a/Tests/RunCMake/CMP0118/CMP0118-WARN-Test5-stderr.txt b/Tests/RunCMake/CMP0118/CMP0118-WARN-Test5-stderr.txt index b6c5c3f..c258ba0 100644 --- a/Tests/RunCMake/CMP0118/CMP0118-WARN-Test5-stderr.txt +++ b/Tests/RunCMake/CMP0118/CMP0118-WARN-Test5-stderr.txt @@ -1,9 +1,9 @@ -^Generated_with_full_path1\.cpp: # 1a # GENERATED = `tRue` -Generated_with_full_path1\.cpp: # 1b # GENERATED = `tRue` -Generated_with_full_path1\.cpp: # 2a # GENERATED = `tRue` -Generated_with_full_path1\.cpp: # 2b # GENERATED = `tRue` -Generated_with_full_path1\.cpp: # 3a # GENERATED = `` -Generated_with_full_path1\.cpp: # 3b # GENERATED = `NOTFOUND` +^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` CMake Warning \(dev\) at CMP0118-Common-Test5\.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 @@ -17,12 +17,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 = `SomeVar-NOTFOUND` -Generated_with_full_path2\.cpp: # 1b # GENERATED = `SomeVar-NOTFOUND` -Generated_with_full_path2\.cpp: # 2a # GENERATED = `SomeVar-NOTFOUND` -Generated_with_full_path2\.cpp: # 2b # GENERATED = `SomeVar-NOTFOUND` -Generated_with_full_path2\.cpp: # 3a # GENERATED = `` -Generated_with_full_path2\.cpp: # 3b # GENERATED = `NOTFOUND` +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` CMake Warning \(dev\) at CMP0118-Common-Test5\.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 @@ -44,18 +44,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 = `Junk-value` -Generated_with_full_path3\.cpp: # 1b # GENERATED = `Junk-value` -Generated_with_full_path3\.cpp: # 2a # GENERATED = `Junk-value` -Generated_with_full_path3\.cpp: # 2b # GENERATED = `Junk-value` -Generated_with_full_path3\.cpp: # 3a # GENERATED = `` -Generated_with_full_path3\.cpp: # 3b # GENERATED = `NOTFOUND` -Generated_with_relative_path1\.cpp: # 1a # GENERATED = `tRue` -Generated_with_relative_path1\.cpp: # 1b # GENERATED = `tRue` -Generated_with_relative_path1\.cpp: # 2a # GENERATED = `tRue` -Generated_with_relative_path1\.cpp: # 2b # GENERATED = `tRue` -Generated_with_relative_path1\.cpp: # 3a # GENERATED = `` -Generated_with_relative_path1\.cpp: # 3b # GENERATED = `NOTFOUND` +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` CMake Warning \(dev\) at CMP0118-Common-Test5\.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 @@ -69,12 +69,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 = `SomeVar-NOTFOUND` -Generated_with_relative_path2\.cpp: # 1b # GENERATED = `SomeVar-NOTFOUND` -Generated_with_relative_path2\.cpp: # 2a # GENERATED = `SomeVar-NOTFOUND` -Generated_with_relative_path2\.cpp: # 2b # GENERATED = `SomeVar-NOTFOUND` -Generated_with_relative_path2\.cpp: # 3a # GENERATED = `` -Generated_with_relative_path2\.cpp: # 3b # GENERATED = `NOTFOUND` +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` CMake Warning \(dev\) at CMP0118-Common-Test5\.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 @@ -96,18 +96,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 = `Junk-value` -Generated_with_relative_path3\.cpp: # 1b # GENERATED = `Junk-value` -Generated_with_relative_path3\.cpp: # 2a # GENERATED = `Junk-value` -Generated_with_relative_path3\.cpp: # 2b # GENERATED = `Junk-value` -Generated_with_relative_path3\.cpp: # 3a # GENERATED = `` -Generated_with_relative_path3\.cpp: # 3b # GENERATED = `NOTFOUND` -Generated_with_full_source_path1\.cpp: # 1a # GENERATED = `tRue` -Generated_with_full_source_path1\.cpp: # 1b # GENERATED = `tRue` -Generated_with_full_source_path1\.cpp: # 2a # GENERATED = `tRue` -Generated_with_full_source_path1\.cpp: # 2b # GENERATED = `tRue` -Generated_with_full_source_path1\.cpp: # 3a # GENERATED = `` -Generated_with_full_source_path1\.cpp: # 3b # GENERATED = `NOTFOUND` +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` CMake Warning \(dev\) at CMP0118-Common-Test5\.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 @@ -121,12 +121,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 = `` -Generated_with_full_source_path2\.cpp: # 1b # GENERATED = `NOTFOUND` -Generated_with_full_source_path2\.cpp: # 2a # GENERATED = `SomeVar-NOTFOUND` -Generated_with_full_source_path2\.cpp: # 2b # GENERATED = `SomeVar-NOTFOUND` -Generated_with_full_source_path2\.cpp: # 3a # GENERATED = `SomeVar-NOTFOUND` -Generated_with_full_source_path2\.cpp: # 3b # GENERATED = `SomeVar-NOTFOUND` +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` CMake Warning \(dev\) at CMP0118-Common-Test5\.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 @@ -148,12 +148,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_path3\.cpp: # 1a # GENERATED = `` -Generated_with_full_source_path3\.cpp: # 1b # GENERATED = `NOTFOUND` -Generated_with_full_source_path3\.cpp: # 2a # GENERATED = `` -Generated_with_full_source_path3\.cpp: # 2b # GENERATED = `NOTFOUND` -Generated_with_full_source_path3\.cpp: # 3a # GENERATED = `` -Generated_with_full_source_path3\.cpp: # 3b # GENERATED = `NOTFOUND` +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\): Cannot find source file: diff --git a/Tests/RunCMake/CMP0118/CMP0118-WARN-Test6-stderr.txt b/Tests/RunCMake/CMP0118/CMP0118-WARN-Test6-stderr.txt index b2d6109..25de751 100644 --- a/Tests/RunCMake/CMP0118/CMP0118-WARN-Test6-stderr.txt +++ b/Tests/RunCMake/CMP0118/CMP0118-WARN-Test6-stderr.txt @@ -2,38 +2,38 @@ Generated_source1\.cpp: # 1b # GENERATED = `1` Generated_source1\.cpp: # 2a # GENERATED = `1` Generated_source1\.cpp: # 2b # GENERATED = `1` -Generated_source1\.cpp: # 3a # GENERATED = `` -Generated_source1\.cpp: # 3b # GENERATED = `NOTFOUND` +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 = `` -Generated_source2\.cpp: # 3b # GENERATED = `NOTFOUND` +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 = `` -Generated_source3\.cpp: # 3b # GENERATED = `NOTFOUND` -Generated_source4\.cpp: # 1a # GENERATED = `` -Generated_source4\.cpp: # 1b # GENERATED = `NOTFOUND` -Generated_source4\.cpp: # 2a # GENERATED = `` -Generated_source4\.cpp: # 2b # GENERATED = `NOTFOUND` -Generated_source4\.cpp: # 3a # GENERATED = `` -Generated_source4\.cpp: # 3b # GENERATED = `NOTFOUND` +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 = `` -Generated_source5\.cpp: # 3b # GENERATED = `NOTFOUND` +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 = `` -Generated_source6\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_source6\.cpp: # 3a # GENERATED = `0` +Generated_source6\.cpp: # 3b # GENERATED = `0` CMake Error at CMP0118-Common-Test6\.cmake:[0-9]+ \(add_executable\): Cannot find source file: diff --git a/Tests/RunCMake/CMP0118/CMP0118-WARN-Test7-stderr.txt b/Tests/RunCMake/CMP0118/CMP0118-WARN-Test7-stderr.txt index 90b332f..1d9ac49 100644 --- a/Tests/RunCMake/CMP0118/CMP0118-WARN-Test7-stderr.txt +++ b/Tests/RunCMake/CMP0118/CMP0118-WARN-Test7-stderr.txt @@ -25,38 +25,38 @@ 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 = `` -Generated_source1\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_source1\.cpp: # 3a # GENERATED = `0` +Generated_source1\.cpp: # 3b # GENERATED = `0` Generated_source2\.cpp: # 1a # GENERATED = `0` Generated_source2\.cpp: # 1b # GENERATED = `0` Generated_source2\.cpp: # 2a # GENERATED = `0` Generated_source2\.cpp: # 2b # GENERATED = `0` -Generated_source2\.cpp: # 3a # GENERATED = `` -Generated_source2\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_source2\.cpp: # 3a # GENERATED = `0` +Generated_source2\.cpp: # 3b # GENERATED = `0` Generated_source3\.cpp: # 1a # GENERATED = `0` Generated_source3\.cpp: # 1b # GENERATED = `0` Generated_source3\.cpp: # 2a # GENERATED = `0` Generated_source3\.cpp: # 2b # GENERATED = `0` -Generated_source3\.cpp: # 3a # GENERATED = `` -Generated_source3\.cpp: # 3b # GENERATED = `NOTFOUND` -Generated_source4\.cpp: # 1a # GENERATED = `` -Generated_source4\.cpp: # 1b # GENERATED = `NOTFOUND` -Generated_source4\.cpp: # 2a # GENERATED = `` -Generated_source4\.cpp: # 2b # GENERATED = `NOTFOUND` -Generated_source4\.cpp: # 3a # GENERATED = `` -Generated_source4\.cpp: # 3b # GENERATED = `NOTFOUND` +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 = `0` Generated_source5\.cpp: # 1b # GENERATED = `0` Generated_source5\.cpp: # 2a # GENERATED = `0` Generated_source5\.cpp: # 2b # GENERATED = `0` -Generated_source5\.cpp: # 3a # GENERATED = `` -Generated_source5\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_source5\.cpp: # 3a # GENERATED = `0` +Generated_source5\.cpp: # 3b # GENERATED = `0` Generated_source6\.cpp: # 1a # GENERATED = `0` Generated_source6\.cpp: # 1b # GENERATED = `0` Generated_source6\.cpp: # 2a # GENERATED = `0` Generated_source6\.cpp: # 2b # GENERATED = `0` -Generated_source6\.cpp: # 3a # GENERATED = `` -Generated_source6\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_source6\.cpp: # 3a # GENERATED = `0` +Generated_source6\.cpp: # 3b # GENERATED = `0` CMake Error at CMP0118-Common-Test7\.cmake:[0-9]+ \(add_executable\): Cannot find source file: diff --git a/Tests/RunCMake/CMP0118/CMP0118-WARN-Test8-stderr.txt b/Tests/RunCMake/CMP0118/CMP0118-WARN-Test8-stderr.txt index f67c1b9..5aaf6c6 100644 --- a/Tests/RunCMake/CMP0118/CMP0118-WARN-Test8-stderr.txt +++ b/Tests/RunCMake/CMP0118/CMP0118-WARN-Test8-stderr.txt @@ -1,39 +1,39 @@ -^Generated_source1\.cpp: # 1a # GENERATED = `` -Generated_source1\.cpp: # 1b # GENERATED = `NOTFOUND` -Generated_source1\.cpp: # 2a # GENERATED = `` -Generated_source1\.cpp: # 2b # GENERATED = `NOTFOUND` -Generated_source1\.cpp: # 3a # GENERATED = `` -Generated_source1\.cpp: # 3b # GENERATED = `NOTFOUND` +^Generated_source1\.cpp: # 1a # GENERATED = `0` +Generated_source1\.cpp: # 1b # GENERATED = `0` +Generated_source1\.cpp: # 2a # GENERATED = `0` +Generated_source1\.cpp: # 2b # GENERATED = `0` +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 = `` -Generated_source2\.cpp: # 3b # GENERATED = `NOTFOUND` +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 = `` -Generated_source3\.cpp: # 3b # GENERATED = `NOTFOUND` -Generated_source4\.cpp: # 1a # GENERATED = `` -Generated_source4\.cpp: # 1b # GENERATED = `NOTFOUND` -Generated_source4\.cpp: # 2a # GENERATED = `` -Generated_source4\.cpp: # 2b # GENERATED = `NOTFOUND` -Generated_source4\.cpp: # 3a # GENERATED = `` -Generated_source4\.cpp: # 3b # GENERATED = `NOTFOUND` +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 = `` -Generated_source5\.cpp: # 3b # GENERATED = `NOTFOUND` +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 = `` -Generated_source6\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_source6\.cpp: # 3a # GENERATED = `0` +Generated_source6\.cpp: # 3b # GENERATED = `0` CMake Error at CMP0118-Common-Test8\.cmake:[0-9]+ \(add_executable\): Cannot find source file: diff --git a/Tests/RunCMake/CMP0118/CMP0118-WARN-Test9-stderr.txt b/Tests/RunCMake/CMP0118/CMP0118-WARN-Test9-stderr.txt index ccf706a..a4edec0 100644 --- a/Tests/RunCMake/CMP0118/CMP0118-WARN-Test9-stderr.txt +++ b/Tests/RunCMake/CMP0118/CMP0118-WARN-Test9-stderr.txt @@ -21,42 +21,42 @@ Call Stack \(most recent call first\): CMakeLists\.txt:[0-9]+ \(include\) This warning is for project developers\. Use -Wno-dev to suppress it\. +)+)+ -Generated_source1\.cpp: # 1a # GENERATED = `` -Generated_source1\.cpp: # 1b # GENERATED = `NOTFOUND` -Generated_source1\.cpp: # 2a # GENERATED = `` -Generated_source1\.cpp: # 2b # GENERATED = `NOTFOUND` -Generated_source1\.cpp: # 3a # GENERATED = `` -Generated_source1\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_source1\.cpp: # 1a # GENERATED = `0` +Generated_source1\.cpp: # 1b # GENERATED = `0` +Generated_source1\.cpp: # 2a # GENERATED = `0` +Generated_source1\.cpp: # 2b # GENERATED = `0` +Generated_source1\.cpp: # 3a # GENERATED = `0` +Generated_source1\.cpp: # 3b # GENERATED = `0` Generated_source2\.cpp: # 1a # GENERATED = `0` Generated_source2\.cpp: # 1b # GENERATED = `0` Generated_source2\.cpp: # 2a # GENERATED = `0` Generated_source2\.cpp: # 2b # GENERATED = `0` -Generated_source2\.cpp: # 3a # GENERATED = `` -Generated_source2\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_source2\.cpp: # 3a # GENERATED = `0` +Generated_source2\.cpp: # 3b # GENERATED = `0` Generated_source3\.cpp: # 1a # GENERATED = `0` Generated_source3\.cpp: # 1b # GENERATED = `0` Generated_source3\.cpp: # 2a # GENERATED = `0` Generated_source3\.cpp: # 2b # GENERATED = `0` -Generated_source3\.cpp: # 3a # GENERATED = `` -Generated_source3\.cpp: # 3b # GENERATED = `NOTFOUND` -Generated_source4\.cpp: # 1a # GENERATED = `` -Generated_source4\.cpp: # 1b # GENERATED = `NOTFOUND` -Generated_source4\.cpp: # 2a # GENERATED = `` -Generated_source4\.cpp: # 2b # GENERATED = `NOTFOUND` -Generated_source4\.cpp: # 3a # GENERATED = `` -Generated_source4\.cpp: # 3b # GENERATED = `NOTFOUND` +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 = `0` Generated_source5\.cpp: # 1b # GENERATED = `0` Generated_source5\.cpp: # 2a # GENERATED = `0` Generated_source5\.cpp: # 2b # GENERATED = `0` -Generated_source5\.cpp: # 3a # GENERATED = `` -Generated_source5\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_source5\.cpp: # 3a # GENERATED = `0` +Generated_source5\.cpp: # 3b # GENERATED = `0` Generated_source6\.cpp: # 1a # GENERATED = `0` Generated_source6\.cpp: # 1b # GENERATED = `0` Generated_source6\.cpp: # 2a # GENERATED = `0` Generated_source6\.cpp: # 2b # GENERATED = `0` -Generated_source6\.cpp: # 3a # GENERATED = `` -Generated_source6\.cpp: # 3b # GENERATED = `NOTFOUND` +Generated_source6\.cpp: # 3a # GENERATED = `0` +Generated_source6\.cpp: # 3b # GENERATED = `0` CMake Error at CMP0118-Common-Test9\.cmake:[0-9]+ \(add_executable\): Cannot find source file: diff --git a/Tests/RunCMake/CMP0118/RunCMakeTest.cmake b/Tests/RunCMake/CMP0118/RunCMakeTest.cmake index a0177c7..72064bd 100644 --- a/Tests/RunCMake/CMP0118/RunCMakeTest.cmake +++ b/Tests/RunCMake/CMP0118/RunCMakeTest.cmake @@ -35,3 +35,21 @@ run_cmake(CMP0118-WARN-Test12) run_cmake(CMP0118-WARN-Test13) run_cmake(CMP0118-WARN-Test14) run_cmake(CMP0118-WARN-Test15) + +run_cmake(CMP0118-NEW-Test1) +run_cmake(CMP0118-NEW-Test2) +run_cmake(CMP0118-NEW-Test3) +run_cmake(CMP0118-NEW-Test3b) +run_cmake(CMP0118-NEW-Test4) +run_cmake(CMP0118-NEW-Test4b) +run_cmake(CMP0118-NEW-Test5) +run_cmake(CMP0118-NEW-Test6) +run_cmake(CMP0118-NEW-Test7) +run_cmake(CMP0118-NEW-Test8) +run_cmake(CMP0118-NEW-Test9) +run_cmake(CMP0118-NEW-Test10) +run_cmake(CMP0118-NEW-Test11) +run_cmake(CMP0118-NEW-Test12) +run_cmake(CMP0118-NEW-Test13) +run_cmake(CMP0118-NEW-Test14) +run_cmake(CMP0118-NEW-Test15) |