2014-05-14 12:47:52 -04:00
|
|
|
|
|
|
|
include_directories("${PROJECT_SOURCE_DIR}/include")
|
|
|
|
# install(TARGETS swiftnav-static DESTINATION lib${LIB_SUFFIX})
|
|
|
|
|
2014-05-14 23:52:45 -04:00
|
|
|
set(libr3_SRCS node.c str.c list.c token.c)
|
2014-05-14 22:08:42 -04:00
|
|
|
set(CMAKE_CFLAGS "-Wall -pipe -g3 -funroll-loops")
|
2014-05-16 02:05:51 -04:00
|
|
|
set(LIBS ${LIBS} ${PCRE_LIBRARIES} ${Judy_LIBRARIES} ${Jemalloc_LIBRARIES} r3)
|
2014-05-14 22:08:42 -04:00
|
|
|
|
|
|
|
# add_library(r3-static STATIC ${libr3_SRCS})
|
2014-05-14 12:47:52 -04:00
|
|
|
add_library(r3 SHARED ${libr3_SRCS})
|
2014-05-16 02:05:51 -04:00
|
|
|
target_link_libraries(r3 ${LIBS})
|
|
|
|
|
2014-05-14 12:47:52 -04:00
|
|
|
# target_link_libraries(r3 cblas)
|
|
|
|
# install(FILES ${libswiftnav_HEADERS} DESTINATION include/libswiftnav)
|