CMakeLists.txt 636 Bytes
Newer Older
1
2
3
foreach (geometry RANGE 1 3)
  dune_add_test(NAME convergence-${geometry}
                SOURCES convergence.cc
4
                COMPILE_DEFINITIONS
5
                  GEOMETRY_TYPE=${geometry}
6
7
8
                  DUNE_GRID_PATH=\"${PROJECT_SOURCE_DIR}/doc/grids/\"
                CMAKE_GUARD
                  dune-foamgrid_FOUND)
9
10
11
12
13
14
15
16
17
endforeach (geometry)

dune_add_test(SOURCES discretegridviewfunction.cc
              COMPILE_DEFINITIONS
                DUNE_GRID_PATH=\"${PROJECT_SOURCE_DIR}/doc/grids/\"
                USE_FLOAT128=0
              CMAKE_GUARD
                dune-functions_FOUND
                dune-foamgrid_FOUND)