Fixed explicit ctor bugs in stress tests
[libcds.git] / test / CMakeLists.txt
1
2 if (NOT GTEST_INCLUDE_DIRS)
3    find_package(GTest REQUIRED)
4 endif()
5 message("GTest: ${GTEST_INCLUDE_DIRS}, lib: ${GTEST_LIBRARY}")
6
7 include_directories(
8     ${CMAKE_CURRENT_SOURCE_DIR}/include
9     ${GTEST_INCLUDE_DIRS}
10 )
11
12 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DGTEST_LANG_CXX11") 
13  
14 add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/unit)
15 add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/stress)