CMakeLists.txt 632 Bytes
Newer Older
1 2
add_subdirectory("common")
add_subdirectory("model")
3 4 5
if(dune-testtools_FOUND)
    add_subdirectory("test")
endif()
6

7
add_executable("richards" richards.cc)
8
dune_target_link_libraries(richards dorie-richards ${DUNE_LIBS} spdlog)
9 10

add_executable("transport" transport.cc)
11 12
dune_target_link_libraries(transport dorie-richards ${DUNE_LIBS} spdlog)
dune_target_link_libraries(transport dorie-transport ${DUNE_LIBS} spdlog)
13 14

add_custom_target("dorie" DEPENDS richards transport)
15 16 17 18

# enable setting operator scheme from config file
if(EXPERIMENTAL_DG_FEATURES)
    target_compile_definitions("dorie" PUBLIC -DEXPERIMENTAL_DG_FEATURES)
19
endif()