65ff3ed471
constant use of longjmp conflict with python headers win32 support dll support
41 lines
788 B
CMake
41 lines
788 B
CMake
set (CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS TRUE)
|
|
|
|
set ( TRIES_SOURCES
|
|
core_tries.c
|
|
base_tries.c
|
|
tries.c
|
|
)
|
|
|
|
add_library (tries SHARED ${TRIES_SOURCES})
|
|
|
|
target_link_libraries(tries libYap)
|
|
|
|
set_target_properties (tries PROPERTIES PREFIX "")
|
|
|
|
install(TARGETS tries
|
|
LIBRARY DESTINATION ${dlls}
|
|
RUNTIME DESTINATION ${dlls}
|
|
ARCHIVE DESTINATION ${dlls})
|
|
|
|
|
|
set ( ITRIES_SOURCES
|
|
core_tries.c
|
|
base_itries.c
|
|
itries.c
|
|
)
|
|
|
|
if (ANDROID OR WIN32)
|
|
add_component ( otries ${TRIES_SOURCES} )
|
|
endif()
|
|
add_library (itries SHARED ${ITRIES_SOURCES})
|
|
|
|
target_link_libraries(itries libYap)
|
|
|
|
set_target_properties (itries PROPERTIES PREFIX "")
|
|
|
|
install(TARGETS itries
|
|
LIBRARY DESTINATION ${dlls}
|
|
RUNTIME DESTINATION ${dlls}
|
|
ARCHIVE DESTINATION ${dlls} )
|
|
|