-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
49 lines (36 loc) · 1.09 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
37
38
39
40
41
42
43
44
45
46
47
48
49
cmake_minimum_required(VERSION 3.8.2)
project(poco-http-web-server CXX)
# Set current project version.
set(VERSION_MAJOR 1)
set(VERSION_MINOR 0)
set(VERSION_PATCH 0)
# Organize targets into folders.
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
# Extend a list of directories specifying a search path for CMake modules
# to be loaded by the the include() or find_package() commands.
list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")
include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
# Set global include directories, libraries directories, definitions, etc.
conan_basic_setup()
if (ENABLE_COVERAGE)
include(Coverage)
endif ()
add_subdirectory(modules/http-server)
add_subdirectory(modules/utils)
if (ENABLE_TESTING)
include(CTest)
enable_testing()
add_subdirectory(tests)
endif ()
if (ENABLE_CPPCHECK)
include(Cppcheck)
endif ()
if (ENABLE_CLANG_TIDY)
include(ClangTidy)
endif ()
if (ENABLE_VALGRIND)
include(Valgrind)
endif ()
if (ENABLE_ASAN OR ENABLE_MSAN OR ENABLE_TSAN)
include(GoogleSanitizers)
endif ()