Tests/RunCMake/property_init: test 'shared_library' properties

This commit is contained in:
Ben Boeckel
2023-07-25 14:41:40 -04:00
parent 653a32aa72
commit 02972ed9e8
2 changed files with 13 additions and 0 deletions

View File

@@ -10,3 +10,4 @@ run_cmake(NonImportedNormalTarget)
run_cmake(NonImportedTarget)
run_cmake(NormalTarget)
run_cmake(PICTargets)
run_cmake(SharedLibrary)

View File

@@ -0,0 +1,12 @@
set(dir "${CMAKE_CURRENT_BINARY_DIR}")
set(properties
# property expected alias
# Linking properties
"DLL_NAME_WITH_SOVERSION" "OFF" "<SAME>"
)
prepare_target_types(shared_library
SHARED
IMPORTED_SHARED)
run_property_tests(shared_library properties)