From c1ff120e420006575d21aa937d9a26e3fe4e4943 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Tue, 25 Jul 2023 14:37:27 -0400 Subject: Tests/RunCMake/property_init: test 'linkable' properties --- Tests/RunCMake/property_init/Linkable.cmake | 12 ++++++++++++ Tests/RunCMake/property_init/RunCMakeTest.cmake | 1 + 2 files changed, 13 insertions(+) create mode 100644 Tests/RunCMake/property_init/Linkable.cmake diff --git a/Tests/RunCMake/property_init/Linkable.cmake b/Tests/RunCMake/property_init/Linkable.cmake new file mode 100644 index 0000000..e5d75d1 --- /dev/null +++ b/Tests/RunCMake/property_init/Linkable.cmake @@ -0,0 +1,12 @@ +per_config(properties + # property expected alias + # Linking properties + ## Platforms + ### macOS + "FRAMEWORK_MULTI_CONFIG_POSTFIX_" ".fw" "" + ) + +prepare_target_types(linkable + EXECUTABLE SHARED STATIC + IMPORTED_EXECUTABLE IMPORTED_SHARED IMPORTED_STATIC) +run_property_tests(linkable properties) diff --git a/Tests/RunCMake/property_init/RunCMakeTest.cmake b/Tests/RunCMake/property_init/RunCMakeTest.cmake index 4a54db4..dde6a9f 100644 --- a/Tests/RunCMake/property_init/RunCMakeTest.cmake +++ b/Tests/RunCMake/property_init/RunCMakeTest.cmake @@ -5,3 +5,4 @@ run_cmake(CompileSources) run_cmake(Executable) run_cmake(ImportedTargets) run_cmake(LibraryArtifact) +run_cmake(Linkable) -- cgit v0.12