1234567891011121314151617181920 |
- cmake_minimum_required(VERSION 3.9)
- project(qdnsagg)
-
- set(CMAKE_INCLUDE_CURRENT_DIR ON)
-
- set(CMAKE_AUTOMOC ON)
-
- set(CMAKE_CXX_STANDARD 17)
-
- find_package(Qt5Core REQUIRED)
- find_package(Qt5Network REQUIRED)
- set(PROJECT_LIBS Qt5::Core Qt5::Network)
-
- add_subdirectory(src)
-
- find_package(GTest)
- if (GTEST_FOUND)
- enable_testing()
- add_subdirectory(tests)
- endif (GTEST_FOUND)
|