summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2023-07-25 18:37:27 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2023-07-29 13:35:20 (GMT)
commitc1ff120e420006575d21aa937d9a26e3fe4e4943 (patch)
treed19f5ea25fe6217cf19e711aaeeb89783afde19d /Tests/RunCMake
parent313c6a9c7435626d1cfbf1e7dd57a22b56c795a4 (diff)
downloadCMake-c1ff120e420006575d21aa937d9a26e3fe4e4943.zip
CMake-c1ff120e420006575d21aa937d9a26e3fe4e4943.tar.gz
CMake-c1ff120e420006575d21aa937d9a26e3fe4e4943.tar.bz2
Tests/RunCMake/property_init: test 'linkable' properties
Diffstat (limited to 'Tests/RunCMake')
-rw-r--r--Tests/RunCMake/property_init/Linkable.cmake12
-rw-r--r--Tests/RunCMake/property_init/RunCMakeTest.cmake1
2 files changed, 13 insertions, 0 deletions
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" "<UNSET>"
+ )
+
+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)