-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
38 lines (28 loc) · 978 Bytes
/
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
cmake_minimum_required(VERSION 3.2)
project("proj.city"
VERSION 0.4.1
LANGUAGES CXX
)
configure_file (
"${PROJECT_SOURCE_DIR}/src/include/config.h.in"
"${PROJECT_BINARY_DIR}/config.h"
)
##
# ________________________________________________ Modules __________________________________________________
##
include(cmake/compilers.cmake)
include(cmake/dependencies.cmake)
##
# _______________________________________________ Libraries __________________________________________________
##
include_directories(BEFORE "${PROJECT_SOURCE_DIR}/src/include")
add_subdirectory(src/lib lib)
##
# ___________________________________________________ Samples ___________________________________________________
##
add_subdirectory(src/bin bin)
##
# ____________________________________________________ Tests _____________________________________________________
##
add_subdirectory(src/tests tests)
add_test(NAME test COMMAND tests --reporter compact)