18 lines
300 B
CMake
18 lines
300 B
CMake
CMAKE_MINIMUM_REQUIRED ( VERSION 2.8 )
|
|
|
|
PROJECT ( YAP_UDI_RTREE )
|
|
|
|
INCLUDE_DIRECTORIES(
|
|
.
|
|
)
|
|
|
|
SET ( SOURCES
|
|
b+tree.c
|
|
b+tree_udi.c
|
|
)
|
|
|
|
add_library(udi_b+tree ${SOURCES})
|
|
|
|
INSTALL(TARGETS udi_b+tree DESTINATION ${YAP_PL_LIBRARY_DIR})
|
|
INSTALL(FILES b+tree.yap DESTINATION ${YAP_PL_LIBRARY_DIR})
|