CMakeLists.txt 732 Bytes
Newer Older
1

2
set(projects2d "heat" "pfc" "stokes" "navier_stokes")
3

Praetorius, Simon's avatar
Praetorius, Simon committed
4
foreach(project ${projects2d})
5
6
7
8
    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")
9
    target_compile_definitions(${project} PRIVATE AMDIS_DIM=2 AMDIS_DOW=2)
Praetorius, Simon's avatar
Praetorius, Simon committed
10
11
12
13
14
15
16
17
18
endforeach()

set(projects3d "ellipt")

foreach(project ${projects3d})
    add_executable(${project} ${project}.cc)
    add_dune_alberta_flags(GRIDDIM 3 WORLDDIM 3 ${project})
    target_link_dune_default_libraries(${project})
    target_link_libraries(${project} "duneamdis")
19
    target_compile_definitions(${project} PRIVATE AMDIS_DIM=3 AMDIS_DOW=3)
20
endforeach()