Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-metagrid
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
extensions
dune-metagrid
Commits
524f7b2e
Commit
524f7b2e
authored
4 years ago
by
Robert K
Browse files
Options
Downloads
Patches
Plain Diff
[bugfix][tests] add dgf files to cmake.
parent
1fd12c8c
No related branches found
No related tags found
1 merge request
!1
Update to 2.8
Pipeline
#30544
failed
4 years ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dune/grid/test/CMakeLists.txt
+14
-1
14 additions, 1 deletion
dune/grid/test/CMakeLists.txt
with
14 additions
and
1 deletion
dune/grid/test/CMakeLists.txt
+
14
−
1
View file @
524f7b2e
...
...
@@ -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
}
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment