CMakeLists.txt 1.21 KB
Newer Older
1
add_custom_target(examples)
2

3
4
5
6
7
add_amdis_executable(NAME ellipt.2d SOURCES ellipt.cc DIM 2 DOW 2)
add_amdis_executable(NAME ellipt.3d SOURCES ellipt.cc DIM 3 DOW 3)
add_dependencies(examples
  ellipt.2d
  ellipt.3d)
8

9
10
11
12
13
add_amdis_executable(NAME heat.2d SOURCES heat.cc DIM 2 DOW 2)
add_amdis_executable(NAME heat.3d SOURCES heat.cc DIM 3 DOW 3)
add_dependencies(examples
  heat.2d
  heat.3d)
14

15
16
17
18
19
20
add_amdis_executable(NAME vecellipt.2d SOURCES vecellipt.cc DIM 2 DOW 2)
add_amdis_executable(NAME stokes0.2d SOURCES stokes0.cc DIM 2 DOW 2)
add_amdis_executable(NAME stokes1.2d SOURCES stokes1.cc DIM 2 DOW 2)
add_amdis_executable(NAME stokes3.2d SOURCES stokes3.cc DIM 2 DOW 2)
add_amdis_executable(NAME navier_stokes.2d SOURCES navier_stokes.cc DIM 2 DOW 2)
add_amdis_executable(NAME convection_diffusion.2d SOURCES convection_diffusion.cc DIM 2 DOW 2)
Praetorius, Simon's avatar
Praetorius, Simon committed
21
add_amdis_executable(NAME cahn_hilliard.2d SOURCES cahn_hilliard.cc DIM 2 DOW 2 ALBERTA_GRID)
22
23
24
25
26
27
add_dependencies(examples
  vecellipt.2d
  stokes0.2d
  stokes1.2d
  stokes3.2d
  navier_stokes.2d
Praetorius, Simon's avatar
Praetorius, Simon committed
28
29
  convection_diffusion.2d
  cahn_hilliard.2d)
Praetorius, Simon's avatar
Praetorius, Simon committed
30
31

if (dune-foamgrid_FOUND)
32
  add_amdis_executable(NAME surface.2d SOURCES surface.cc DIM 2 DOW 3 ALBERTA_GRID)
Praetorius, Simon's avatar
Praetorius, Simon committed
33
34
  add_dependencies(examples surface.2d)
endif ()