From 82507e80eb9060c5e1a3d60c46d42630e0173030 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Tue, 25 Jul 2023 14:30:57 -0400 Subject: Tests/RunCMake/property_init: test 'always' properties All targets get these targets initialized. --- Tests/RunCMake/property_init/Always.cmake | 15 +++++++++++++++ Tests/RunCMake/property_init/RunCMakeTest.cmake | 2 ++ 2 files changed, 17 insertions(+) create mode 100644 Tests/RunCMake/property_init/Always.cmake 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" "" "" + + # Build graph properties + "VERIFY_INTERFACE_HEADER_SETS" "TRUE" "" + + # Metadata + "FOLDER" "folder" "" + ) + +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) -- cgit v0.12