typechecker: empty is analagous to isset
[hiphop-php.git] / CMake / Options.cmake
blob666fb5513c79fe3d79f38b8b00e0c65d9ed053eb
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(STATIC_CXX_LIB "Statically link libstd++ and libgcc." OFF)
8 option(EXECUTION_PROFILER "Enable the execution profiler" OFF)
9 option(ENABLE_FULL_SETLINE "Enable full setline function for debugger and code-coverage" OFF)
11 option(USE_JEMALLOC "Use jemalloc" ON)
13 option(USE_TCMALLOC "Use tcmalloc (if jemalloc is not used)" ON)
14 option(USE_GOOGLE_HEAP_PROFILER "Use Google heap profiler" OFF)
15 option(USE_GOOGLE_CPU_PROFILER "Use Google cpu profiler" OFF)
17 option(DISABLE_HARDWARE_COUNTERS "Disable hardware counters (for XenU systems)" OFF)
19 option(ENABLE_TRACE "Enable tracing in release build" OFF)
20 option(CPACK_GENERATOR "Enable build of distribution packages using CPack" OFF)
22 IF (NOT APPLE AND NOT CYGWIN)
23   option(ENABLE_ZEND_COMPAT "Enable Zend source compatibility" ON)
24 ENDIF (NOT APPLE AND NOT CYGWIN)
26 option(ENABLE_COTIRE "Speed up the build by precompiling headers" OFF)
28 option(PACKED_TV "Enable packed tv (typed value) compilation" OFF)