Skip to content
Snippets Groups Projects
Commit 80906e55 authored by Rene Halver's avatar Rene Halver
Browse files

option to enable debug output in ALL added to CMake

parent 548510cf
Branches
Tags
No related merge requests found
......@@ -3,6 +3,7 @@ cmake_minimum_required (VERSION 3.1)
option(CM_ALL_VTK_OUTPUT "VTK output routine" OFF)
option(CM_ALL_VORONOI "Voronoi-based loadbalancing scheme (requires Voro++)" OFF)
option(CM_ALL_FORTRAN "VTK output routine" OFF)
option(CM_ALL_DEBUG "Enable debug information" OFF)
enable_language(CXX)
......@@ -25,6 +26,11 @@ if(CM_ALL_VTK_OUTPUT)
add_compile_options("-DALL_VTK_OUTPUT")
endif(CM_ALL_VTK_OUTPUT)
if (CM_ALL_DEBUG)
message("Using ALL debug information")
add_compile_options("-DALL_DEBUG_ENABLED")
endif(CM_ALL_DEBUG)
if(CM_ALL_VORONOI)
message(STATUS "compiling voro++ version in contrib/voro++")
add_subdirectory(contrib/voro++)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment