forked from flagarde/YAODAQ
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Settings.cmake
136 lines (96 loc) · 4.21 KB
/
Settings.cmake
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
####################################
# Options for the external package #
####################################
# OpenSSL
set(USE_SYSTEM_OPENSSL OFF)
set(OPENSSLCMAKE_REPOSITORY "https://gitlab.com/flagarde/openssl-cmake")
set(OPENSSLCMAKE_TAG "v2.1")
set(OPENSSL_VERSION "1.1.1j")
set(OPENSSL_URL "https://www.openssl.org/source/openssl-${OPENSSL_VERSION}.tar.gz")
set(OPENSSL_URL_HASH "SHA256=aaf2fcb575cdf6491b98ab4829abf78a3dec8402b8b81efc8f23c00d443981bf")
# Zlib-ng
set(USE_SYSTEM_ZLIB OFF)
set(ZLIB-NG_REPOSITORY "https://gitlab.com/ExternalRepositories/zlib-ng")
set(ZLIB-NG_TAG "develop")
# fmt
set(FMT_REPOSITORY "https://gitlab.com/ExternalRepositories/fmt")
set(FMT_VERSION "7.1.3")
# spdlog
set(SPDLOG_REPOSITORY "https://gitlab.com/ExternalRepositories/spdlog")
set(SPDLOG_VERSION "v1.8.5")
## General options
set(ENABLE_TESTS TRUE)
## INCLUDED BY CPM
# doctest
set(DOCTEST_REPOSITORY "https://gitlab.com/ExternalRepositories/doctest")
set(DOCTEST_VERSION "2.4.5")
# FlakedTuna
set(FLAKEDTUNA_REPOSITORY "https://gitlab.com/flagarde/FlakedTuna")
set(FLAKEDTUNA_VERSION "1.0")
# CLI11
set(CLI11_REPOSITORY "https://gitlab.com/ExternalRepositories/CLI11")
set(CLI11_TAG "master")
set(TOML11_REPOSITORY "https://gitlab.com/ExternalRepositories/toml11.git")
set(TOML11_TAG "master")
##
# IXWebSocket
set(IXWEBSOCKET_REPOSITORY "https://gitlab.com/ExternalRepositories/IXWebSocket")
set(IXWEBSOCKET_TAG "v11.0.9")
# jsoncpp
set(JSONCPP_REPOSITORY "https://gitlab.com/ExternalRepositories/jsoncpp")
set(JSONCPP_TAG "master")
# elogpp
set(ELOGPP_REPOSITORY "https://gitlab.com/flagarde/elogpp")
set(ELOGPP_TAG "main")
set(serial_repository "https://gitlab.com/flagarde/serial")
set(serial_version "master")
# CAENlibs
set(CAENLIBS_REPOSITORY "https://gitlab.com/flagarde/CAENlibs.git")
set(CAENLIBS_TAG "main")
# soci
set(soci_repository "https://github.com/SOCI/soci.git")
set(soci_version "master")
# toml11
set(toml11_repository "https://gitlab.com/ExternalRepositories/toml11")
set(toml11_version "master")
# civet
set(civet_repository "https://github.com/civetweb/civetweb.git")
set(civet_version "master")
# magic_enum
set(magic_enum_repository "https://gitlab.com/ExternalRepositories/magic_enum")
set(magic_enum_version "master")
# jsroot
set(jsroot_repository "https://github.com/root-project/jsroot.git")
set(jsroot_version "master")
# cereal
set(cereal_repository "https://github.com/USCiLab/cereal.git")
set(cereal_version "master")
set(SNMP_repository "https://github.com/RPClab/net-snmp.git")
set(SNMP_version "master")
# Compiling ROOT can be very long so :
option(USE_ROOT_SYSTEM "Try to find a ROOT installation and use it" ON)
option(BUILD_ROOT "Build ROOT Folder" ON)
set(LOOK_FOR_ROOT_VERSION "6.22.06")
# If it fails to find ROOT V${LOOK_FOR_ROOT_VERSION} or greater then Download and Install it !
set(ROOT_repository "https://root.cern/download/root_v${LOOK_FOR_ROOT_VERSION}.source.tar.gz")
# ########################################################################################################################################################################################################################################################
option(ENABLE_TESTS "Include tests folder" ON)
option(ENABLE_DOCS "Include docs folder" ON)
option(BUILD_ANALYSIS "Build the Analysis code" ON)
option(BUILD_WEBSOCKETSERVER "Build the WebSocket Server" ON)
option(BUILD_WEBSERVER "Build the civet webserver" ON)
option(BUILD_CONFIGURATOR "Build Configurator" ON)
option(BUILD_CONTROLLER "Build Controller" ON)
option(BUILD_LOGGER "Build Logger" ON)
option(ENABLE_EXTRAS "Build extras" ON)
option(BUILD_DAQ "Build DAQ" ON)
option(BUILD_SNMP "Build SNMP" OFF)
option(BUILD_LCIO "Build LCIO" OFF)
option(BUILD_OLD_WAVEDUMP "Build the old wavedump to supress in the future" ON)
option(CAEN_HARDWARE "Compile CAEN Hardware library" ON)
option(ENABLE_ALL_WARNINGS "Compile with all warnings for the major compilers" ON)
option(ENABLE_EFFECTIVE_CXX "Enable Effective C++ warnings" OFF)
option(GENERATE_DEPENDENCY_DATA "Generates .d files with header dependencies" ON)
option(ENABLE_DOCTESTS "Include tests in the library. Setting this to OFF will remove all doctest related code.
Tests in tests/*.cpp will still be enabled." OFF
)