-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
34 lines (22 loc) · 996 Bytes
/
CMakeLists.txt
File metadata and controls
34 lines (22 loc) · 996 Bytes
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
cmake_minimum_required (VERSION 3.28 FATAL_ERROR)
project (QuailAll VERSION 0.3.0 LANGUAGES C CXX)
message ("\n")
# --- Includes
list (APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
include (properties)
# --- Configurable Properties
option (CURL_SHARED_LIBRARY "Link 'curl' as shared library" OFF)
option (BLUELIB_LOCALLY "Link 'bluelib' sources from local cache" OFF)
# --- Dependencies
add_subdirectory (dependencies)
# --- Add 'defines' to all projects
add_compile_definitions (_CRT_SECURE_NO_WARNINGS)
add_compile_definitions (DEBUG_FLAG_LOGGING=${DEBUG_FLAG_LOGGING})
add_compile_definitions (DEBUG_FLAG_MEMORY=${DEBUG_FLAG_MEMORY})
add_compile_definitions (DEBUG_FLAG_CLOCKS=${DEBUG_FLAG_CLOCKS})
add_compile_definitions (DEBUG_FLAG_POSTLOGGING=${DEBUG_FLAG_POSTLOGGING})
# --- Project's sources
add_subdirectory (project/global)
add_subdirectory (project/quail)
add_subdirectory (project/myinstall)
add_subdirectory (project/myuninstall)