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.

CMakeLists.txt 372B

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