diff options
-rw-r--r-- | Tests/RunCMake/property_init/ImportedTargets.cmake | 9 | ||||
-rw-r--r-- | Tests/RunCMake/property_init/RunCMakeTest.cmake | 1 |
2 files changed, 10 insertions, 0 deletions
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" "<SAME>" + ) + +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) |