-
Notifications
You must be signed in to change notification settings - Fork 340
/
defaults.cmake
46 lines (44 loc) · 2.5 KB
/
defaults.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
# Default configuration values
#
# You can change these through CMake by adding -D<variable>=<value> when
# configuring the build.
option(BUILD_BINLOG "Build binlog router" ON)
option(BUILD_CDC "Build Avro router" ON)
option(BUILD_FILTERS "Build filter modules" ON)
option(BUILD_GSSAPI "Build GSSAPI authenticator" ON)
option(BUILD_GUI "Build MaxScale admin GUI" ON)
option(BUILD_KAFKACDC "Build MariaDB-to-Kafka CDC module" ON)
option(BUILD_KAFKAIMPORTER "Build Kafka-to-MariaDB data streaming module" ON)
option(BUILD_KMIP_KEY_MANAGER "Build KMIP key manager" ON)
option(BUILD_LUAFILTER "Build Luafilter" ON)
option(BUILD_MAXCTRL "Build MaxCtrl" ON)
option(BUILD_MIRROR "Build Mirror router" ON)
option(BUILD_NOSQL "Build NoSQL protocol" ON)
option(BUILD_POSTGRES "Build PostgreSQL protocol" OFF)
option(BUILD_PP_MYSQLEMBEDDED "Build pp_mysqlembedded" OFF)
option(BUILD_STORAGE_MEMCACHED "Build Memcached-based storage for Cache" ON)
option(BUILD_STORAGE_REDIS "Build Redis-based storage for Cache" ON)
option(BUILD_SYSTEM_TESTS "Build system tests" OFF)
option(BUILD_TESTS "Build tests" ON)
option(BUILD_TOOLS "Build extra utility tools" ON)
option(BUILD_VAULT_KEY_MANAGER "Build HashiCorp Vault key manager" ON)
option(BUILD_LDI "Build LDI filter" ON)
option(GCOV "Use gcov build flags" OFF)
option(INSTALL_CORE "Install core modules" ON)
option(INSTALL_EXPERIMENTAL "Install experimental modules" OFF)
option(PACKAGE "Enable package building (this disables local installation of system files)" OFF)
option(PROFILE "Profiling (gprof)" OFF)
option(STATIC_EMBEDDED "Use static version of libmysqld" ON)
option(WITH_VALGRIND "Use valgrind in the systemd service" OFF)
option(WITH_ASAN "Enable AddressSanitizer" OFF)
option(WITH_UBSAN "Enable UndefinedBehaviorSanitizer" OFF)
option(WITH_JEMALLOC "Use jemalloc as the memory allocator" OFF)
option(WITH_MAXSCALE_CNF "Install the template maxscale.cnf file" ON)
option(WITH_SCRIPTS "Install startup scripts and ldconf configuration files" ON)
option(WITH_TCMALLOC "Use tcmalloc as the memory allocator" OFF)
option(WITH_TSAN "Enable ThreadSanitizer" OFF)
option(WITH_LTO "Enable link-time optimization" ON)
option(BUNDLE "If dynamic versions of packages are not found, build and use static versions of them." ON)
option(WITH_SYSTEM_NODEJS "Use system Node.js for MaxCtrl instead of bundling a custom one" OFF)
# This is the minimum version of Node.js that MaxCtrl requires if built with WITH_SYSTEM_NODEJS=Y
set(MINIMUM_NODEJS_VERSION "10.0.0" CACHE STRING "Minimum Node.js version for WITH_SYSTEM_NODEJS=Y")