1 cmake_minimum_required(VERSION 2.8.5)
3 set(CMAKE_BUILD_TYPE Release)
6 /scratch/googletest/googletest/include
7 /scratch/gflags/gflags/build/include
9 /scratch/benchmarks/libcds/test/include
10 /scratch/benchmarks/libcds
15 /scratch/folly/orig-folly/folly/folly-lib
16 /scratch/glog/glog/glog-lib
17 /scratch/gflags/gflags/build/gflags-lib
18 /scratch/googletest/googletest
22 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++1y")
24 set(FOLLY_LIB folly pthread gflags glog gtest stress-framework)
25 set(RCU_OBJ ../synchronization/.libs/Rcu.o)
28 add_executable(stress-sequential-folly-map
29 stress-sequential-folly-map.cpp main.cpp ${RCU_OBJ})
30 target_link_libraries(stress-sequential-folly-map ${FOLLY_LIB})
32 add_executable(stress-sequential-folly-queue
33 stress-sequential-folly-queue.cpp ${RCU_OBJ})
34 target_link_libraries(stress-sequential-folly-queue ${FOLLY_LIB})
36 add_executable(stress-sequential-folly-sync
37 stress-sequential-folly-sync.cpp ${RCU_OBJ})
38 target_link_libraries(stress-sequential-folly-sync ${FOLLY_LIB})
41 add_executable(stress-parallel-folly-map
42 stress-parallel-folly-map.cpp main.cpp ${RCU_OBJ})
43 target_link_libraries(stress-parallel-folly-map ${FOLLY_LIB})
45 add_executable(stress-parallel-folly-queue
46 stress-parallel-folly-queue.cpp ${RCU_OBJ})
47 target_link_libraries(stress-parallel-folly-queue ${FOLLY_LIB})
49 add_executable(stress-parallel-folly-sync
50 stress-parallel-folly-sync.cpp ${RCU_OBJ})
51 target_link_libraries(stress-parallel-folly-sync ${FOLLY_LIB})