Skip to content
Snippets Groups Projects
Commit 524f7b2e authored by Robert K's avatar Robert K
Browse files

[bugfix][tests] add dgf files to cmake.

parent 1fd12c8c
No related branches found
No related tags found
1 merge request!1Update to 2.8
Pipeline #30544 failed
......@@ -19,7 +19,20 @@ foreach(_executable ${TESTS})
endforeach(_executable ${TESTS})
dune_add_test(NAME test-spheregrid SOURCES test-spheregrid.cc CMAKE_GUARD dune-alugrid_FOUND)
set_property(TARGET test-spheregrid APPEND PROPERTY COMPILE_DEFINITIONS "GRIDDIM=2" "WORLDDIM=3" "ALUGRID_CONFORM")
set_property(TARGET test-spheregrid APPEND PROPERTY COMPILE_DEFINITIONS "GRIDDIM=2" "WORLDDIM=3" "ALUGRID_SIMPLEX")
#add_directory_test_target(test_target)
# add_dependencies(${test_target} ${TESTS})
set(DGFS
1dcube.dgf 2dcube.dgf 3dcube.dgf cubedsphere2d.dgf octahedron.dgf
)
foreach(dgf ${DGFS})
configure_file( ${dgf} ${CMAKE_CURRENT_BINARY_DIR}/ COPYONLY)
endforeach()
set(metagridtestdir ${CMAKE_INSTALL_INCLUDEDIR}/dune/grid/test)
set(metagridtest_HEADERS checkcalls.cc sfc.cc )
install( FILES ${metagridtest_HEADERS} DESTINATION ${metagridtestdir} )
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment