This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
yap-6.3/library/tries/CMakeLists.txt

41 lines
848 B
CMake
Raw Normal View History

set (CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS TRUE)
2014-12-14 12:05:43 +00:00
set ( TRIES_SOURCES
core_tries.c
base_tries.c
tries.c
)
2017-09-06 01:17:43 +01:00
add_lib(tries ${TRIES_SOURCES})
2014-12-14 12:05:43 +00:00
target_link_libraries(tries libYap)
set_target_properties (tries PROPERTIES PREFIX "")
install(TARGETS tries
2017-12-05 15:14:57 +00:00
LIBRARY DESTINATION ${YAP_INSTALL_DLLDIR}
RUNTIME DESTINATION ${YAP_INSTALL_DLLDIR}
ARCHIVE DESTINATION ${YAP_INSTALL_DLLDIR})
2014-12-14 12:05:43 +00:00
set ( ITRIES_SOURCES
core_tries.c
base_itries.c
itries.c
)
if (ANDROID OR WIN32)
add_component ( otries ${TRIES_SOURCES} )
endif()
2017-09-06 01:17:43 +01:00
add_lib(itries ${ITRIES_SOURCES})
2014-12-14 12:05:43 +00:00
target_link_libraries(itries libYap)
set_target_properties (itries PROPERTIES PREFIX "")
install(TARGETS itries
2017-12-05 15:14:57 +00:00
LIBRARY DESTINATION ${YAP_INSTALL_DLLDIR}
RUNTIME DESTINATION ${YAP_INSTALL_DLLDIR}
ARCHIVE DESTINATION ${YAP_INSTALL_DLLDIR} )
2014-12-14 12:05:43 +00:00