mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
11 lines
474 B
CMake
11 lines
474 B
CMake
set(ACE_EXTENSION_NAME "ace_advanced_ballistics")
|
|
|
|
file(GLOB SOURCES *.h *.hpp *.c *.cpp)
|
|
add_library( ${ACE_EXTENSION_NAME} SHARED ${SOURCES})
|
|
add_dependencies(${ACE_EXTENSION_NAME} ace_common)
|
|
SET_TARGET_PROPERTIES(${ACE_EXTENSION_NAME} PROPERTIES PREFIX "")
|
|
|
|
if(CMAKE_COMPILER_IS_GNUCXX)
|
|
set_target_properties(${ACE_EXTENSION_NAME} PROPERTIES LINK_SEARCH_START_STATIC 1)
|
|
set_target_properties(${ACE_EXTENSION_NAME} PROPERTIES LINK_SEARCH_END_STATIC 1)
|
|
endif() |