Better constant folding for concat
[hiphop-php.git] / CMake / Options.cmake
blobad1659ffee7042f41fc9f02972e6fcc6bec6145d
1 #set(CMAKE_BUILD_TYPE Debug)
3 option(ALWAYS_ASSERT "Enabled asserts in a release build" OFF)
4 option(ENABLE_SSP "Enabled GCC/LLVM stack-smashing protection" OFF)
5 option(STATIC_CXX_LIB "Statically link libstd++ and libgcc." OFF)
6 option(ENABLE_AVX2 "Enable the use of AVX2 instructions" OFF)
7 option(ENABLE_AARCH64_CRC "Enable the use of CRC instructions" OFF)
8 option(ENABLE_FASTCGI "Enable the FastCGI interface." ON)
10 option(EXECUTION_PROFILER "Enable the execution profiler" OFF)
12 option(USE_JEMALLOC "Use jemalloc" ON)
13 option(ENABLE_HHPROF "Enable HHProf" OFF)
15 option(CLANG_FORCE_LIBSTDCXX "Force libstdc++ when building against Clang/LLVM" OFF)
17 option(USE_TCMALLOC "Use tcmalloc (if jemalloc is not used)" ON)
18 option(USE_GOOGLE_HEAP_PROFILER "Use Google heap profiler" OFF)
19 option(USE_GOOGLE_CPU_PROFILER "Use Google cpu profiler" OFF)
21 option(DISABLE_HARDWARE_COUNTERS "Disable hardware counters (for XenU systems)" OFF)
23 option(ENABLE_TRACE "Enable tracing in release build" OFF)
24 option(CPACK_GENERATOR "Enable build of distribution packages using CPack" OFF)
26 IF (NOT APPLE)
27   option(ENABLE_ZEND_COMPAT "Enable Zend source compatibility" ON)
28 ENDIF (NOT APPLE)
30 option(ENABLE_COTIRE "Speed up the build by precompiling headers" OFF)
31 option(ENABLE_ASYNC_MYSQL "Build the async_mysql extension" ON)
32 option(ENABLE_MCROUTER "Build the mcrouter library and extension" ON)
33 option(ENABLE_PROXYGEN_SERVER "Build the Proxygen HTTP server" ON)
35 option(ENABLE_SPLIT_DWARF "Reduce linker memory usage by putting debugging information into .dwo files" OFF)
37 IF (NOT DEFAULT_CONFIG_DIR)
38   set(DEFAULT_CONFIG_DIR "/etc/hhvm/" CACHE STRING
39     "Default directory to find php.ini")
40 ENDIF()