Call zend_startup_strtod so ezc extensions can use zend_strtod.
[hiphop-php.git] / CMake / Options.cmake
blob055c52d0d0ea0a6bf37eac93ce82a066599e2772
1 #set(CMAKE_BUILD_TYPE Debug)
3 option(ALWAYS_ASSERT "Enabled asserts in a release build" OFF)
4 option(DEBUG_MEMORY_LEAK "Allow easier debugging of memory leaks" OFF)
5 option(DEBUG_APC_LEAK "Allow easier debugging of apc leaks" OFF)
6 option(ENABLE_SSP "Enabled GCC/LLVM stack-smashing protection" OFF)
7 option(STATIC_CXX_LIB "Statically link libstd++ and libgcc." OFF)
8 option(ENABLE_AVX2 "Enable AVX2 instructions for Haswell arch in gcc build" OFF)
10 option(EXECUTION_PROFILER "Enable the execution profiler" OFF)
11 option(ENABLE_FULL_SETLINE "Enable full setline function for debugger and code-coverage" OFF)
13 option(USE_JEMALLOC "Use jemalloc" ON)
15 option(USE_TCMALLOC "Use tcmalloc (if jemalloc is not used)" ON)
16 option(USE_GOOGLE_HEAP_PROFILER "Use Google heap profiler" OFF)
17 option(USE_GOOGLE_CPU_PROFILER "Use Google cpu profiler" OFF)
19 option(DISABLE_HARDWARE_COUNTERS "Disable hardware counters (for XenU systems)" OFF)
21 option(ENABLE_TRACE "Enable tracing in release build" OFF)
22 option(CPACK_GENERATOR "Enable build of distribution packages using CPack" OFF)
24 IF (NOT APPLE AND NOT CYGWIN)
25   option(ENABLE_ZEND_COMPAT "Enable Zend source compatibility" ON)
26 ENDIF (NOT APPLE AND NOT CYGWIN)
28 option(ENABLE_COTIRE "Speed up the build by precompiling headers" OFF)
29 option(ENABLE_ASYNC_MYSQL "Build the async_mysql extension" ON)
30 option(ENABLE_MCROUTER "Build the mcrouter library and extension" ON)
31 option(ENABLE_PROXYGEN_SERVER "Build the Proxygen HTTP server" ON)