18 lines
306 B
CMake
18 lines
306 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 SHARED ${SOURCES})
|
||
|
|
||
|
INSTALL(TARGETS udi_b+tree DESTINATION ${YAP_PL_LIBRARY_DIR})
|
||
|
INSTALL(FILES b+tree.yap DESTINATION ${YAP_PL_LIBRARY_DIR})
|