CMakeLists.txt 364 Bytes
Newer Older
1

2
set(projects "heat" "pfc" "stokes" "navier_stokes")
3
4
5
6
7
8
9
10

foreach(project ${projects})
    add_executable(${project} ${project}.cc)
    add_dune_alberta_flags(GRIDDIM 2 WORLDDIM 2 ${project})
    target_link_dune_default_libraries(${project})
    target_link_libraries(${project} "duneamdis")
    target_compile_definitions(${project} PRIVATE DIM=2 DOW=2)
endforeach()