Commit 61f3e2da authored by Christoph Grüninger's avatar Christoph Grüninger

CMake, Alberta: Adjust flags for Alberta tests according to last commit

parent 77e347a8
......@@ -2,8 +2,6 @@
# but just build them on demand
add_directory_test_target(_test_target)
set(GRIDDIM 2)
if(ALBERTA_FOUND)
set(ALBERTA_TESTS
test-alberta3d-refine)
......
......@@ -67,19 +67,19 @@ if(ALBERTA_FOUND)
add_executable(test-alberta EXCLUDE_FROM_ALL test-alberta.cc)
add_dune_alberta_flags(test-alberta WORLDDIM ${GRIDDIM})
add_executable(test-alberta-1-1 EXCLUDE_FROM_ALL test-alberta.cc)
add_dune_alberta_flags(test-alberta-1-1 GRIDDIM 1 WORLDDIM 1)
add_dune_alberta_flags(test-alberta-1-1 WORLDDIM 1)
add_executable(test-alberta-1-2 EXCLUDE_FROM_ALL test-alberta.cc)
add_dune_alberta_flags(test-alberta-1-2 GRIDDIM 1 WORLDDIM 2)
add_dune_alberta_flags(test-alberta-1-2 WORLDDIM 2)
add_executable(test-alberta-2-2 EXCLUDE_FROM_ALL test-alberta.cc)
add_dune_alberta_flags(test-alberta-2-2 GRIDDIM 2 WORLDDIM 2)
add_dune_alberta_flags(test-alberta-2-2 WORLDDIM 2)
add_executable(test-alberta-1-3 EXCLUDE_FROM_ALL test-alberta.cc)
add_dune_alberta_flags(test-alberta-1-3 GRIDDIM 1 WORLDDIM 3)
add_dune_alberta_flags(test-alberta-1-3 WORLDDIM 3)
add_executable(test-alberta-2-3 EXCLUDE_FROM_ALL test-alberta.cc)
add_dune_alberta_flags(test-alberta-2-3 GRIDDIM 2 WORLDDIM 3)
add_dune_alberta_flags(test-alberta-2-3 WORLDDIM 3)
add_executable(test-alberta-3-3 EXCLUDE_FROM_ALL test-alberta.cc)
add_dune_alberta_flags(test-alberta-3-3 GRIDDIM 3 WORLDDIM 3)
add_dune_alberta_flags(test-alberta-3-3 WORLDDIM 3)
add_executable(test-alberta-generic EXCLUDE_FROM_ALL test-alberta.cc)
add_dune_alberta_flags(test-alberta-generic USE_GENERIC GRIDDIM 2)
add_dune_alberta_flags(test-alberta-generic USE_GENERIC WORLDDIM 2)
endif(ALBERTA_FOUND)
if(ALUGRID_FOUND)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment