diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2023-07-25 18:30:57 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2023-07-29 13:35:20 (GMT) |
commit | 82507e80eb9060c5e1a3d60c46d42630e0173030 (patch) | |
tree | b66c30c8acae38e894d681232b60ebce8bd628f4 /Tests | |
parent | 721f1b608c7c0fffa1b217ff706080ab75af3adc (diff) | |
download | CMake-82507e80eb9060c5e1a3d60c46d42630e0173030.zip CMake-82507e80eb9060c5e1a3d60c46d42630e0173030.tar.gz CMake-82507e80eb9060c5e1a3d60c46d42630e0173030.tar.bz2 |
Tests/RunCMake/property_init: test 'always' properties
All targets get these targets initialized.
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/RunCMake/property_init/Always.cmake | 15 | ||||
-rw-r--r-- | Tests/RunCMake/property_init/RunCMakeTest.cmake | 2 |
2 files changed, 17 insertions, 0 deletions
diff --git a/Tests/RunCMake/property_init/Always.cmake b/Tests/RunCMake/property_init/Always.cmake new file mode 100644 index 0000000..db23563 --- /dev/null +++ b/Tests/RunCMake/property_init/Always.cmake @@ -0,0 +1,15 @@ +set(properties + # property expected alias + # Test a property which should never be initialized. + "notset" "<UNSET>" "<SAME>" + + # Build graph properties + "VERIFY_INTERFACE_HEADER_SETS" "TRUE" "<SAME>" + + # Metadata + "FOLDER" "folder" "<SAME>" + ) + +prepare_target_types(always ${all_target_types}) + +run_property_tests(always properties) diff --git a/Tests/RunCMake/property_init/RunCMakeTest.cmake b/Tests/RunCMake/property_init/RunCMakeTest.cmake index 837e952..fb3579d 100644 --- a/Tests/RunCMake/property_init/RunCMakeTest.cmake +++ b/Tests/RunCMake/property_init/RunCMakeTest.cmake @@ -1 +1,3 @@ include(RunCMake) + +run_cmake(Always) |