34 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			34 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			CMake
		
	
	
	
	
	
| # Default configuration values
 | |
| #
 | |
| # You can change these through CMake by adding -D<variable>=<value> when
 | |
| # configuring the build.
 | |
| 
 | |
| option(WITH_MAXSCALE_CNF "Install the template maxscale.cnf file" ON)
 | |
| option(STATIC_EMBEDDED "Use static version of libmysqld" ON)
 | |
| option(BUILD_RABBITMQ "Build RabbitMQ components" ON)
 | |
| option(BUILD_BINLOG "Build binlog router" ON)
 | |
| option(BUILD_CDC "Build Avro router" ON)
 | |
| option(BUILD_MAXCTRL "Build MaxCtrl" ON)
 | |
| option(BUILD_LUAFILTER "Build Luafilter" ON)
 | |
| option(GCOV "Use gcov build flags" OFF)
 | |
| option(WITH_SCRIPTS "Install init.d scripts and ldconf configuration files" ON)
 | |
| option(BUILD_TESTS "Build tests" ON)
 | |
| option(BUILD_SYSTEM_TESTS "Build system tests" OFF)
 | |
| option(PACKAGE "Enable package building (this disables local installation of system files)" OFF)
 | |
| option(BUILD_TOOLS "Build extra utility tools" OFF)
 | |
| option(PROFILE "Profiling (gprof)" OFF)
 | |
| option(WITH_TCMALLOC "Use tcmalloc as the memory allocator" OFF)
 | |
| option(WITH_JEMALLOC "Use jemalloc as the memory allocator" OFF)
 | |
| option(INSTALL_EXPERIMENTAL "Install experimental modules" OK)
 | |
| option(WITH_ASAN "Enable AddressSanitizer" OFF)
 | |
| option(WITH_TSAN "Enable ThreadSanitizer" OFF)
 | |
| 
 | |
| # Default package name
 | |
| set(PACKAGE_NAME "maxscale" CACHE STRING "Name of the generated package")
 | |
| 
 | |
| # Which component to build (core, experimental, devel, cdc-connector, all)
 | |
| set(TARGET_COMPONENT "core" CACHE STRING "Which component to build (core, experimental, devel, cdc-connector, all)")
 | |
| 
 | |
| # Default user for the administrative interface
 | |
| set(DEFAULT_ADMIN_USER "root" CACHE STRING "Default user for the administrative interface")
 | 
