Work on a tool for a synthetic read benchmark
[bluesky.git] / nfs3 / 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_executable(nfsproxy
6                common.c nfsd.c rpc.c mount.c nfs3.c
7                mount_prot_xdr.c nfs3_prot_xdr.c)
8
9 add_executable(synclient synclient.c common.c nfs3_prot_xdr.c)
10 add_executable(synreadbench synreadbench.c common.c nfs3_prot_xdr.c)
11
12 include_directories(${GLIB_INCLUDE_DIRS} "${CMAKE_SOURCE_DIR}/bluesky")
13 target_link_libraries(nfsproxy bluesky ${GLIB_LIBRARIES})
14 target_link_libraries(synclient ${GLIB_LIBRARIES})
15 target_link_libraries(synreadbench ${GLIB_LIBRARIES})