Kill IsTypeOp::Uninit
[hiphop-php.git] / CMake / Options.cmake
blob9bfe7ce32db53ab4c42fd0ae096e595b91c6adb4
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)
9 option(ENABLE_SSE4_2 "Enable SSE4.2 supported code." OFF)
11 option(EXECUTION_PROFILER "Enable the execution profiler" OFF)
13 option(USE_JEMALLOC "Use jemalloc" ON)
14 option(ENABLE_HHPROF "Enable HHProf" OFF)
16 option(CLANG_FORCE_LIBSTDCXX "Force libstdc++ when building against Clang/LLVM" OFF)
18 option(USE_TCMALLOC "Use tcmalloc (if jemalloc is not used)" ON)
19 option(USE_GOOGLE_HEAP_PROFILER "Use Google heap profiler" OFF)
20 option(USE_GOOGLE_CPU_PROFILER "Use Google cpu profiler" OFF)
22 option(DISABLE_HARDWARE_COUNTERS "Disable hardware counters (for XenU systems)" OFF)
24 option(ENABLE_TRACE "Enable tracing in release build" OFF)
25 option(CPACK_GENERATOR "Enable build of distribution packages using CPack" OFF)
27 option(ENABLE_COTIRE "Speed up the build by precompiling headers" OFF)
28 option(ENABLE_ASYNC_MYSQL "Build the async_mysql extension" ON)
29 if (APPLE)
30   option(ENABLE_MCROUTER "Build the mcrouter library and extension" OFF)
31 else()
32   option(ENABLE_MCROUTER "Build the mcrouter library and extension" ON)
33 endif()
34 option(ENABLE_PROXYGEN_SERVER "Build the Proxygen HTTP server" ON)
36 option(ENABLE_SPLIT_DWARF "Reduce linker memory usage by putting debugging information into .dwo files" OFF)
38 IF (LINUX)
39     option(MAP_TEXT_HUGE_PAGES "Remap hot static code onto huge pages" ON)
40 ENDIF()
42 IF (NOT DEFAULT_CONFIG_DIR)
43   set(DEFAULT_CONFIG_DIR "/etc/hhvm/" CACHE STRING
44     "Default directory to find php.ini")
45 ENDIF()