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/CMP0118-WARN-Test13-stderr.txt | |
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/CMP0118-WARN-Test13-stderr.txt')
-rw-r--r-- | Tests/RunCMake/CMP0118/CMP0118-WARN-Test13-stderr.txt | 52 |
1 files changed, 26 insertions, 26 deletions
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`$ |