
This was originally attempted by policy CMP0118, but its
implementation did not cover all intended use cases. We fixed its
documentation in commit 1dabbbb5e0
(CMP0118: Revise documentation to
describe actual behavior, 2024-03-20).
Add new policy CMP0163 to cover the remaining use cases. In particular,
make the `GENERATED` property visible to `get_property` calls in other
directories. In order to capture the original intention of CMP0118,
define CMP0163's NEW behavior to also imply CMP0118's NEW behavior.
Fixes: #25437
Fixes: #25058
62 lines
2.7 KiB
Plaintext
62 lines
2.7 KiB
Plaintext
^Generated_source1\.txt: # 1a # GENERATED = `0`
|
|
Generated_source1\.txt: # 1b # GENERATED = `0`
|
|
Generated_source1\.txt: # 2a # GENERATED = `0`
|
|
Generated_source1\.txt: # 2b # GENERATED = `0`
|
|
Generated_source1\.txt: # 3a # GENERATED = `0`
|
|
Generated_source1\.txt: # 3b # GENERATED = `0`
|
|
Generated_source2\.txt: # 1a # GENERATED = `0`
|
|
Generated_source2\.txt: # 1b # GENERATED = `0`
|
|
Generated_source2\.txt: # 2a # GENERATED = `0`
|
|
Generated_source2\.txt: # 2b # GENERATED = `0`
|
|
Generated_source2\.txt: # 3a # GENERATED = `0`
|
|
Generated_source2\.txt: # 3b # GENERATED = `0`
|
|
Generated_source3\.txt: # 1a # GENERATED = `0`
|
|
Generated_source3\.txt: # 1b # GENERATED = `0`
|
|
Generated_source3\.txt: # 2a # GENERATED = `0`
|
|
Generated_source3\.txt: # 2b # GENERATED = `0`
|
|
Generated_source3\.txt: # 3a # GENERATED = `0`
|
|
Generated_source3\.txt: # 3b # GENERATED = `0`
|
|
Generated_source4\.txt: # 1a # GENERATED = `0`
|
|
Generated_source4\.txt: # 1b # GENERATED = `0`
|
|
Generated_source4\.txt: # 2a # GENERATED = `0`
|
|
Generated_source4\.txt: # 2b # GENERATED = `0`
|
|
Generated_source4\.txt: # 3a # GENERATED = `0`
|
|
Generated_source4\.txt: # 3b # GENERATED = `0`
|
|
Generated_source5\.txt: # 1a # GENERATED = `0`
|
|
Generated_source5\.txt: # 1b # GENERATED = `0`
|
|
Generated_source5\.txt: # 2a # GENERATED = `0`
|
|
Generated_source5\.txt: # 2b # GENERATED = `0`
|
|
Generated_source5\.txt: # 3a # GENERATED = `0`
|
|
Generated_source5\.txt: # 3b # GENERATED = `0`
|
|
Generated_source6\.txt: # 1a # GENERATED = `0`
|
|
Generated_source6\.txt: # 1b # GENERATED = `0`
|
|
Generated_source6\.txt: # 2a # GENERATED = `0`
|
|
Generated_source6\.txt: # 2b # GENERATED = `0`
|
|
Generated_source6\.txt: # 3a # GENERATED = `0`
|
|
Generated_source6\.txt: # 3b # GENERATED = `0`
|
|
CMake Error at CMP0163-Common-Test9b\.cmake:[0-9]+ \(target_sources\):
|
|
Cannot find source file:
|
|
|
|
[ \t]*.*Tests/RunCMake/CMP0163/CMP0118-NEW/CMP0163-NEW-Test9b-build/Generated_source[4-6]\.txt
|
|
Call Stack \(most recent call first\):
|
|
CMP0118-NEW/CMP0163-NEW-Test9b\.cmake:[0-9]+ \(include\)
|
|
CMakeLists\.txt:[0-9]+ \(include\)
|
|
+
|
|
CMake Error at CMP0163-Common-Test9b\.cmake:[0-9]+ \(target_sources\):
|
|
Cannot find source file:
|
|
|
|
[ \t]*.*Tests/RunCMake/CMP0163/CMP0118-NEW/CMP0163-NEW-Test9b-build/Generated_source[4-6]\.txt
|
|
Call Stack \(most recent call first\):
|
|
CMP0118-NEW/CMP0163-NEW-Test9b\.cmake:[0-9]+ \(include\)
|
|
CMakeLists\.txt:[0-9]+ \(include\)
|
|
+
|
|
CMake Error at CMP0163-Common-Test9b\.cmake:[0-9]+ \(target_sources\):
|
|
Cannot find source file:
|
|
|
|
[ \t]*.*Tests/RunCMake/CMP0163/CMP0118-NEW/CMP0163-NEW-Test9b-build/Generated_source[4-6]\.txt
|
|
Call Stack \(most recent call first\):
|
|
CMP0118-NEW/CMP0163-NEW-Test9b\.cmake:[0-9]+ \(include\)
|
|
CMakeLists\.txt:[0-9]+ \(include\)
|
|
+
|
|
CMake Generate step failed\. Build files cannot be regenerated correctly\.$
|