Plots for the CIFS SPECsfs results.
[bluesky.git] / bluesky / CMakeLists.txt
1 set(KVSTORE_DIR "${CMAKE_SOURCE_DIR}/kvstore")
2 include_directories("${LIBS3_BUILD_DIR}/include" ${KVSTORE_DIR})
3 link_directories("${LIBS3_BUILD_DIR}/lib" ${KVSTORE_DIR})
4
5 add_library(bluesky SHARED
6             cache.c cleaner.c cloudlog.c crc32c.c crypto.c debug.c dir.c file.c
7             imap.c init.c inode.c log.c serialize.c store.c store-azure.c
8             store-bdb.c store-kv.cc store-multi.c store-s3.c store-simple.c
9             util.c)
10 add_executable(bluesky-test main.c)
11
12 set(CMAKE_C_FLAGS "-Wall -std=gnu99 ${CMAKE_C_FLAGS}")
13 set(INSTALL_RPATH_USE_LINK_PATH 1)
14
15 include_directories(${GLIB_INCLUDE_DIRS})
16 target_link_libraries(bluesky ${GLIB_LIBRARIES} db gcrypt s3 kvclient)
17 target_link_libraries(bluesky-test bluesky ${GLIB_LIBRARIES})
18
19 #set_target_properties(bluesky PROPERTIES LINK_INTERFACE_LIBRARIES "")