/
Options.cmake
39 lines (28 loc) · 1.6 KB
/
Options.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
#set(CMAKE_BUILD_TYPE Debug)
option(ALWAYS_ASSERT "Enabled asserts in a release build" OFF)
option(ENABLE_SSP "Enabled GCC/LLVM stack-smashing protection" OFF)
option(STATIC_CXX_LIB "Statically link libstd++ and libgcc." OFF)
option(ENABLE_AVX2 "Enable the use of AVX2 instructions" OFF)
option(ENABLE_FASTCGI "Enable the FastCGI interface." ON)
option(EXECUTION_PROFILER "Enable the execution profiler" OFF)
option(USE_JEMALLOC "Use jemalloc" ON)
option(ENABLE_HHPROF "Enable HHProf" OFF)
option(CLANG_FORCE_LIBSTDCXX "Force libstdc++ when building against Clang/LLVM" OFF)
option(USE_TCMALLOC "Use tcmalloc (if jemalloc is not used)" ON)
option(USE_GOOGLE_HEAP_PROFILER "Use Google heap profiler" OFF)
option(USE_GOOGLE_CPU_PROFILER "Use Google cpu profiler" OFF)
option(DISABLE_HARDWARE_COUNTERS "Disable hardware counters (for XenU systems)" OFF)
option(ENABLE_TRACE "Enable tracing in release build" OFF)
option(CPACK_GENERATOR "Enable build of distribution packages using CPack" OFF)
IF (NOT APPLE AND NOT CYGWIN)
option(ENABLE_ZEND_COMPAT "Enable Zend source compatibility" ON)
ENDIF (NOT APPLE AND NOT CYGWIN)
option(ENABLE_COTIRE "Speed up the build by precompiling headers" OFF)
option(ENABLE_ASYNC_MYSQL "Build the async_mysql extension" ON)
option(ENABLE_MCROUTER "Build the mcrouter library and extension" ON)
option(ENABLE_PROXYGEN_SERVER "Build the Proxygen HTTP server" ON)
option(ENABLE_SPLIT_DWARF "Reduce linker memory usage by putting debugging information into .dwo files" OFF)
IF (NOT DEFAULT_CONFIG_DIR)
set(DEFAULT_CONFIG_DIR "/etc/hhvm/" CACHE STRING
"Default directory to find php.ini")
ENDIF()