option(MODULES_MEMORY_DEBUG "Debug memory" ON)
option(MODULES_MEMORY_DEBUG_STACK_TRACE "Record stack info on memory debug" ON)

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()