You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567891011
  1. enable_testing()
  2. include_directories(${CHECK_INCLUDE_DIRS})
  3. include_directories(. ../src)
  4. find_package (Threads)
  5. set(LIBS ${LIBS} gtest pthread rozitm)
  6. set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
  7. add_executable(test-main
  8. test-main.cpp
  9. )
  10. target_link_libraries(test-main ${LIBS})
  11. add_test(test-main ${CMAKE_CURRENT_BINARY_DIR}/test-main)