Skip to content
Snippets Groups Projects
Unverified Commit a7c19a56 authored by Stefano  Rolfo's avatar Stefano Rolfo Committed by GitHub
Browse files

Merge pull request #331 from xcompact3d/mathrack-dev-debg

Use DEBG only for dev builds
parents e174c5ce 87988ffd
No related branches found
No related tags found
No related merge requests found
......@@ -8,11 +8,11 @@ message(STATUS "Fortran compiler version ${CMAKE_Fortran_COMPILER_VERSION}")
set(CMAKE_Fortran_PREPROCESS ON)
if (CMAKE_BUILD_TYPE MATCHES "DEBUG")
add_definitions("-DDEBUG -DDEBG")
add_definitions("-DDEBUG")
endif (CMAKE_BUILD_TYPE MATCHES "DEBUG")
if (CMAKE_BUILD_TYPE MATCHES "DEV")
message(FATAL_ERROR "The code is not ready for DEV builds")
add_definitions("-DDEBUG -DDEBG")
endif (CMAKE_BUILD_TYPE MATCHES "DEV")
if (ENABLE_INPLACE)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment