From a048be7e3a3c25afd87bd999916e23f541c3db38 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Tue, 25 Jul 2023 14:36:05 -0400 Subject: Tests/RunCMake/property_init: test 'imported' properties --- Tests/RunCMake/property_init/ImportedTargets.cmake | 9 +++++++++ Tests/RunCMake/property_init/RunCMakeTest.cmake | 1 + 2 files changed, 10 insertions(+) create mode 100644 Tests/RunCMake/property_init/ImportedTargets.cmake diff --git a/Tests/RunCMake/property_init/ImportedTargets.cmake b/Tests/RunCMake/property_init/ImportedTargets.cmake new file mode 100644 index 0000000..0b51998 --- /dev/null +++ b/Tests/RunCMake/property_init/ImportedTargets.cmake @@ -0,0 +1,9 @@ +set(properties + # property expected alias + "SYSTEM" "ON" "" + ) + +prepare_target_types(imported + IMPORTED_EXECUTABLE IMPORTED_INTERFACE IMPORTED_MODULE IMPORTED_OBJECT IMPORTED_SHARED IMPORTED_STATIC) +set(with_defaults 1) +run_property_tests(imported properties) diff --git a/Tests/RunCMake/property_init/RunCMakeTest.cmake b/Tests/RunCMake/property_init/RunCMakeTest.cmake index b8c155f..6ac4ceb 100644 --- a/Tests/RunCMake/property_init/RunCMakeTest.cmake +++ b/Tests/RunCMake/property_init/RunCMakeTest.cmake @@ -3,3 +3,4 @@ include(RunCMake) run_cmake(Always) run_cmake(CompileSources) run_cmake(Executable) +run_cmake(ImportedTargets) -- cgit v0.12