Commit a1a91475 authored by Ghislain MARY's avatar Ghislain MARY

Set android specific properties.

parent 7eb6e67a
......@@ -47,6 +47,9 @@ if(ENABLE_SHARED)
add_library(bctoolbox SHARED ${BCTOOLBOX_SOURCE_FILES})
set_target_properties(bctoolbox PROPERTIES VERSION ${BCTOOLBOX_SO_VERSION})
set_target_properties(bctoolbox PROPERTIES LINKER_LANGUAGE "CXX")
if(ANDROID)
set_target_properties(bctoolbox PROPERTIES OUTPUT_NAME "bctoolbox-${CMAKE_SYSTEM_PROCESSOR}")
endif()
if(MSVC)
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/Debug/bctoolbox.pdb
......@@ -59,6 +62,9 @@ if(ENABLE_SHARED)
add_library(bctoolbox-tester SHARED ${BCTOOLBOX_TESTER_SOURCE_FILES})
set_target_properties(bctoolbox-tester PROPERTIES VERSION ${BCTOOLBOXTESTER_SO_VERSION})
set_target_properties(bctoolbox-tester PROPERTIES LINKER_LANGUAGE "CXX")
if(ANDROID)
set_target_properties(bctoolbox-tester PROPERTIES OUTPUT_NAME "bctoolbox-tester-${CMAKE_SYSTEM_PROCESSOR}")
endif()
if(MSVC)
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/Debug/bctoolbox-tester.pdb
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment