mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 00:11:07 -06:00
Tests/RunCMake/property_init: test 'shared_library' properties
This commit is contained in:
@@ -10,3 +10,4 @@ run_cmake(NonImportedNormalTarget)
|
||||
run_cmake(NonImportedTarget)
|
||||
run_cmake(NormalTarget)
|
||||
run_cmake(PICTargets)
|
||||
run_cmake(SharedLibrary)
|
||||
|
||||
12
Tests/RunCMake/property_init/SharedLibrary.cmake
Normal file
12
Tests/RunCMake/property_init/SharedLibrary.cmake
Normal 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)
|
||||
Reference in New Issue
Block a user