1 add_executable(bench bench.c)
2 target_link_libraries(bench pthread rt)
4 add_executable(readbench readbench.c)
5 target_link_libraries(readbench pthread rt)
7 add_executable(statbench statbench.c)
8 target_link_libraries(statbench pthread rt)
10 add_executable(mixedbench mixedbench.c)
11 target_link_libraries(mixedbench pthread rt)
13 add_executable(lockmem lockmem.c)
15 set(CMAKE_C_FLAGS "-Wall -std=gnu99 ${CMAKE_C_FLAGS}")