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

7 8 9
add_executable("transport" transport.cc)
dune_target_link_libraries(transport dorie-impl ${DUNE_LIBS})

10 11 12 13
add_executable("richards" richards.cc)
dune_target_link_libraries(richards dorie-impl ${DUNE_LIBS})

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

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