-
Notifications
You must be signed in to change notification settings - Fork 6
/
CMakeLists.txt
37 lines (28 loc) · 1.01 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
cmake_minimum_required(VERSION 3.7.0 FATAL_ERROR)
set(EXTRA_MODULES_DIR ${CMAKE_CURRENT_LIST_DIR}/cmake)
list(APPEND CMAKE_MODULE_PATH ${EXTRA_MODULES_DIR})
list(APPEND CMAKE_MODULE_PATH ${CMAKE_BINARY_DIR})
#=============================================================================
# ensure build type before calling ConanConfig
#=============================================================================
include(EnsureBuildType)
# This MUST run before the call to project()
# Otherwise the appropriate variables will not be set
include(ConanConfig)
set(CMAKE_TOOLCHAIN_FILE ${CMAKE_CURRENT_BINARY_DIR}/conan_toolchain.cmake)
project(nuclei
LANGUAGES CXX C
VERSION 0.0.1
)
include(CompilerConfig)
include(OutputDirConfig)
include(InstallConfig)
find_package(spdlog REQUIRED)
find_package(fmt REQUIRED)
find_package(Threads REQUIRED)
find_package(nlohmann_json REQUIRED)
find_package(date REQUIRED)
find_package(qt-color-widgets REQUIRED)
include(QtLibraryConfig)
include(BoostLibraryConfig)
add_subdirectory(source)