diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2023-07-25 18:37:27 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2023-07-29 13:35:20 (GMT) |
commit | c1ff120e420006575d21aa937d9a26e3fe4e4943 (patch) | |
tree | d19f5ea25fe6217cf19e711aaeeb89783afde19d /Tests/RunCMake | |
parent | 313c6a9c7435626d1cfbf1e7dd57a22b56c795a4 (diff) | |
download | CMake-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.cmake | 12 | ||||
-rw-r--r-- | Tests/RunCMake/property_init/RunCMakeTest.cmake | 1 |
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) |