1234567891011121314151617 |
- cmake_minimum_required(VERSION 3.9)
- project(qdnsagg-tests)
-
- enable_testing()
-
- include_directories(../src/modules/dns-base/includes)
-
- add_executable(qdnsagg-tests
- main.cpp
- dns-base/DnsHeader.cpp
- dns-base/DnsLabel.cpp
- dns-base/DnsQuery.cpp
- dns-base/DnsResourceRecord.cpp
- dns-base/DnsPacket.cpp)
-
- target_link_libraries(qdnsagg-tests gtest pthread qdnsagg-dns-base)
- add_test(qdnsagg-tests ${CMAKE_CURRENT_BINARY_DIR}/qdnsagg-tests)
|