r3/src/CMakeLists.txt

15 lines
518 B
Text
Raw Normal View History

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})
add_library(r3 SHARED ${libr3_SRCS})
2014-05-16 02:05:51 -04:00
target_link_libraries(r3 ${LIBS})
# target_link_libraries(r3 cblas)
# install(FILES ${libswiftnav_HEADERS} DESTINATION include/libswiftnav)