Renames options for BLOCK/STACK debugging and fixes indentation
This commit is contained in:
@@ -5,15 +5,15 @@ set(CMAKE_CXX_STANDARD 11)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
||||
# Debug options.
|
||||
option(USE_BLOCK_DEBUG "Enable block debugging" OFF)
|
||||
option(USE_STACK_DEBUG "Enable stack debugging" OFF)
|
||||
option(ENABLE_BLOCK_DEBUG "Enable block debugging" OFF)
|
||||
option(ENABLE_STACK_DEBUG "Enable stack debugging" OFF)
|
||||
|
||||
# Turn debug defs on if they're enabled.
|
||||
if (USE_BLOCK_DEBUG)
|
||||
add_definitions(-DBLOCK_DEBUG)
|
||||
if (ENABLE_BLOCK_DEBUG)
|
||||
add_definitions(-DBLOCK_DEBUG)
|
||||
endif()
|
||||
if (USE_STACK_DEBUG)
|
||||
add_definitions(-DSTACK_DEBUG)
|
||||
if (ENABLE_STACK_DEBUG)
|
||||
add_definitions(-DSTACK_DEBUG)
|
||||
endif()
|
||||
|
||||
# For generating the bytes tables
|
||||
|
Reference in New Issue
Block a user