您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

CMakeLists.txt 398B

12345678910111213141516
  1. cmake_minimum_required(VERSION 3.9)
  2. project(qdnsagg-tests)
  3. enable_testing()
  4. include_directories(../src/modules/dns/includes)
  5. add_executable(qdnsagg-tests
  6. main.cpp
  7. DnsHeader.cpp
  8. DnsLabel.cpp
  9. DnsQuery.cpp
  10. DnsResourceRecord.cpp)
  11. target_link_libraries(qdnsagg-tests gtest pthread qdnsagg-dns)
  12. add_test(qdnsagg-tests ${CMAKE_CURRENT_BINARY_DIR}/qdnsagg-tests)