mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-14 02:08:27 +08:00

* 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.
56 lines
1.5 KiB
CMake
56 lines
1.5 KiB
CMake
include(RunCMake)
|
|
|
|
run_cmake(CMP0118-OLD-Test1)
|
|
run_cmake(CMP0118-OLD-Test2)
|
|
run_cmake(CMP0118-OLD-Test3)
|
|
run_cmake(CMP0118-OLD-Test3b)
|
|
run_cmake(CMP0118-OLD-Test4)
|
|
run_cmake(CMP0118-OLD-Test4b)
|
|
run_cmake(CMP0118-OLD-Test5)
|
|
run_cmake(CMP0118-OLD-Test6)
|
|
run_cmake(CMP0118-OLD-Test7)
|
|
run_cmake(CMP0118-OLD-Test8)
|
|
run_cmake(CMP0118-OLD-Test9)
|
|
run_cmake(CMP0118-OLD-Test10)
|
|
run_cmake(CMP0118-OLD-Test11)
|
|
run_cmake(CMP0118-OLD-Test12)
|
|
run_cmake(CMP0118-OLD-Test13)
|
|
run_cmake(CMP0118-OLD-Test14)
|
|
run_cmake(CMP0118-OLD-Test15)
|
|
|
|
run_cmake(CMP0118-WARN-Test1)
|
|
run_cmake(CMP0118-WARN-Test2)
|
|
run_cmake(CMP0118-WARN-Test3)
|
|
run_cmake(CMP0118-WARN-Test3b)
|
|
run_cmake(CMP0118-WARN-Test4)
|
|
run_cmake(CMP0118-WARN-Test4b)
|
|
run_cmake(CMP0118-WARN-Test5)
|
|
run_cmake(CMP0118-WARN-Test6)
|
|
run_cmake(CMP0118-WARN-Test7)
|
|
run_cmake(CMP0118-WARN-Test8)
|
|
run_cmake(CMP0118-WARN-Test9)
|
|
run_cmake(CMP0118-WARN-Test10)
|
|
run_cmake(CMP0118-WARN-Test11)
|
|
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)
|