Cross compile works
[libcds.git] / benchmark-drivers / CMakeLists.txt
1 set(PACKAGE_NAME test-drivers)
2
3 set(CDS_LIBRARIES
4     ${CDS_SHARED_LIBRARY}
5     ${Boost_THREAD_LIBRARY}
6     ${Boost_SYSTEM_LIBRARY}
7     ${CMAKE_THREAD_LIBS_INIT}
8     ${EXTERNAL_SYSTEM_LIBS}
9 )
10
11 set(TEST_DRIVERS_SOURCES
12     test.cc
13 )
14
15 include_directories(
16     ${CMAKE_CURRENT_SOURCE_DIR}
17 )
18
19 add_executable(rwqueue_driver rwqueue_driver.cpp)
20 target_link_libraries(rwqueue_driver ${CDS_LIBRARIES})
21
22 add_executable(spinlock_driver spinlock_driver.cpp)
23 target_link_libraries(spinlock_driver ${CDS_LIBRARIES})
24
25 add_executable(treiber_stack_driver treiber_stack_driver.cpp)
26 target_link_libraries(treiber_stack_driver ${CDS_LIBRARIES})
27
28 #add_executable(fcstack_driver fcstack_driver.cpp)
29 #target_link_libraries(fcstack_driver ${CDS_LIBRARIES})
30
31 # Not compiling
32 #add_executable(cuckoo_map_driver cuckoo_map_driver.cpp)
33 #target_link_libraries(cuckoo_map_driver ${CDS_LIBRARIES})
34
35 add_executable(msqueue_driver msqueue_driver.cpp)
36 target_link_libraries(msqueue_driver ${CDS_LIBRARIES})
37
38 add_executable(moirqueue_driver moirqueue_driver.cpp)
39 target_link_libraries(moirqueue_driver ${CDS_LIBRARIES})
40
41 add_executable(basketqueue_driver basketqueue_driver.cpp)
42 target_link_libraries(basketqueue_driver ${CDS_LIBRARIES})
43
44 add_executable(optimisticqueue_driver optimisticqueue_driver.cpp)
45 target_link_libraries(optimisticqueue_driver ${CDS_LIBRARIES})
46
47 add_executable(segmentedqueue_driver segmentedqueue_driver.cpp)
48 target_link_libraries(segmentedqueue_driver ${CDS_LIBRARIES})
49
50 add_executable(vyukovqueue_driver vyukovqueue_driver.cpp)
51 target_link_libraries(vyukovqueue_driver ${CDS_LIBRARIES})
52
53 add_executable(fcqueue_driver fcqueue_driver.cpp)
54 target_link_libraries(fcqueue_driver ${CDS_LIBRARIES})
55
56 add_executable(fcdeque_driver fcdeque_driver.cpp)
57 target_link_libraries(fcdeque_driver ${CDS_LIBRARIES})