12345678910111213141516171819202122 |
- cmake_minimum_required(VERSION 3.9)
- project(qdnsagg)
-
- enable_testing()
-
- set(CMAKE_INCLUDE_CURRENT_DIR ON)
- set(CMAKE_AUTOMOC ON)
- set(CMAKE_CXX_STANDARD 17)
-
- find_package(Qt5Core REQUIRED)
-
- add_executable(${PROJECT_NAME}
- src/main.cpp
- )
-
- add_subdirectory(src/modules/dns-base)
- add_subdirectory(src/modules/dns-server)
-
- include_directories(src/modules/dns-base/includes)
- include_directories(src/modules/dns-server/includes)
-
- target_link_libraries(${PROJECT_NAME} Qt5::Core qdnsagg-dns-base qdnsagg-dns-server)
|