1 include_directories("${LIBS3_BUILD_DIR}/include")
2 link_directories("${LIBS3_BUILD_DIR}/lib")
4 add_executable(s3readbench readbench.c)
5 add_executable(s3readlatency readlatency.c)
6 add_executable(s3readdelay readdelay.c)
8 set(CMAKE_C_FLAGS "-Wall -std=gnu99 ${CMAKE_C_FLAGS}")
9 set(INSTALL_RPATH_USE_LINK_PATH 1)
11 target_link_libraries(s3readbench pthread s3)
12 target_link_libraries(s3readlatency pthread s3)
13 target_link_libraries(s3readdelay pthread s3)