Please sign in to comment.
Add some missing options in cmake and put them in a separate file
The options about infinite loop, infinite recursion and request timeout detection were defined in the cmake files but not passed to the compiler. This patch adds them in case they are set to ON. In addition the patch adds some other options, which are left to OFF by default (except for ENABLE_LATE_STATIC_BINDING). Finally all the options are put together in a file Options.cmake.
- Loading branch information...
Showing with 65 additions and 6 deletions.
|@@ -0,0 +1,20 @@|
|+option(ENABLE_LATE_STATIC_BINDING "Enable Late Static Binding" ON)|
|+option(INFINITE_LOOP_DETECTION "Enable Infinite Loop Detection" ON)|
|+option(INFINITE_RECURSION_DETECTION "Enable Infinite Recursion Detection" ON)|
|+option(REQUEST_TIMEOUT_DETECTION "Enable Timeout Detection" ON)|
|+option(ALWAYS_ASSERT "Enabled asserts in a release build" OFF)|
|+option(DEBUG_MEMORY_LEAK "Allow easier debugging of memory leaks" OFF)|
|+option(DEBUG_APC_LEAK "Allow easier debugging of apc leaks" OFF)|
|+option(HOTPROFILER "Enable support for the hot-profiler" OFF)|
|+option(HOTPROFILER_NO_BUILTIN "Don't consider builtins for the hot-profiler" OFF)|
|+option(EXECUTION_PROFILER "Enable the execution profiler" OFF)|
|+option(ENABLE_FULL_SETLINE "Enable full setline function for debugger and code-coverage" OFF)|
|+option(WANT_FB_LIBMCC "want FB Memcache" OFF)|
|+option(USE_TCMALLOC "Use tcmalloc" ON)|