Skip to content
Snippets Groups Projects
Commit 3982001c authored by Timo Koch's avatar Timo Koch
Browse files

[lib] Add foamgrid library as module library

parent 6a9b970e
1 merge request!77Add explicit template instantiation of class FoamGrid
Pipeline #35297 passed
......@@ -17,8 +17,7 @@ include(DuneMacros)
# start a dune project with information from dune.module
dune_project()
dune_add_library(dunefoamgrid)
list(APPEND DUNE_LIBS dunefoamgrid)
dune_enable_all_packages(MODULE_LIBRARIES dunefoamgrid)
add_subdirectory(dune)
add_subdirectory(doc)
......
......@@ -3,4 +3,4 @@ file(GLOB DUNE_FOAMGRID_HEADERS *.hh)
install(FILES ${DUNE_FOAMGRID_HEADERS}
DESTINATION include/dune/foamgrid/foamgrid)
target_sources(dunefoamgrid PRIVATE foamgrid.cc)
dune_library_add_sources(dunefoamgrid SOURCES foamgrid.cc)
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