CMakeLists.txt 795 Bytes
Newer Older
1

2
set(projects2d "ellipt" "heat" "vecellipt" "expressions" "stokes0" "stokes1" "stokes3")
3

Praetorius, Simon's avatar
Praetorius, Simon committed
4
foreach(project ${projects2d})
5
6
7
8
9
    add_executable(${project}.2d ${project}.cc)
    add_dune_alberta_flags(GRIDDIM 2 WORLDDIM 2 ${project}.2d)
    target_link_dune_default_libraries(${project}.2d)
    target_link_libraries(${project}.2d "amdis")
    target_compile_definitions(${project}.2d PRIVATE AMDIS_DIM=2 AMDIS_DOW=2)
Praetorius, Simon's avatar
Praetorius, Simon committed
10
11
endforeach()

12
set(projects3d "ellipt" "heat")
Praetorius, Simon's avatar
Praetorius, Simon committed
13
14

foreach(project ${projects3d})
15
16
17
18
19
    add_executable(${project}.3d ${project}.cc)
    add_dune_alberta_flags(GRIDDIM 3 WORLDDIM 3 ${project}.3d)
    target_link_dune_default_libraries(${project}.3d)
    target_link_libraries(${project}.3d "amdis")
    target_compile_definitions(${project}.3d PRIVATE AMDIS_DIM=3 AMDIS_DOW=3)
20
endforeach()