cmake hassle
This commit is contained in:
parent
15127c5122
commit
407e4fb474
10 changed files with 115 additions and 110 deletions
14
CMakeOptions.cmake
Normal file
14
CMakeOptions.cmake
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
option(MODULES_MEMORY_DEBUG "Debug memory" OFF)
|
||||
option(MODULES_MEMORY_DEBUG_STACK_TRACE "Record stack info on memory debug" OFF)
|
||||
|
||||
set(WINDOWS_LIBRARIES "../../ModulesWindowsLibraries" CACHE STRING "Svn repository with windows libraries https://svn.riouxsvn.com/moduleswindowsl")
|
||||
|
||||
if (MODULES_MEMORY_DEBUG)
|
||||
add_compile_definitions(MEM_DEBUG)
|
||||
endif ()
|
||||
|
||||
if (MODULES_MEMORY_DEBUG_STACK_TRACE)
|
||||
add_compile_definitions(MEM_STACK_TRACE)
|
||||
endif ()
|
||||
|
||||
enable_testing()
|
||||
Loading…
Add table
Add a link
Reference in a new issue