Commit ad0ef464 authored by Lukas Riedel's avatar Lukas Riedel

Apply CPP definition for experimental features only to main dorie exe

parent 5576913a
......@@ -15,10 +15,8 @@ set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Wall -Werror")
# option to change DG scheme via config file
option(EXPERIMENTAL_DG_FEATURES
"Enable experimental DG settings through the config file"
OFF)
if(EXPERIMENTAL_DG_FEATURES)
add_definitions(-DEXPERIMENTAL_DG_FEATURES)
endif()
OFF
)
#
if(NOT (dune-common_DIR OR dune-common_ROOT OR
......
......@@ -4,3 +4,8 @@ add_subdirectory(impl)
add_executable("dorie" dorie.cc)
dune_target_link_libraries(dorie dorie-impl ${DUNE_LIBS})
# enable setting operator scheme from config file
if(EXPERIMENTAL_DG_FEATURES)
target_compile_definitions("dorie" PUBLIC -DEXPERIMENTAL_DG_FEATURES)
endif()
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment