diff --git a/bin/util/create_cmakelists.py b/bin/util/create_cmakelists.py index 0b92a08cea1a3a552e8304e62f8cb006ee60139f..63092955909a0558d71614bf82ac4ac1e4c2f096 100755 --- a/bin/util/create_cmakelists.py +++ b/bin/util/create_cmakelists.py @@ -20,29 +20,32 @@ if args['folder'] is None: else: rootDir = args['folder'] -for folderName, subFolders, files in os.walk(rootDir): + +ignore_folders = ["", "io/format/fmt", "io/xml"] +extensions = [".hh", ".inc"] +for fullFolderName, subFolders, files in os.walk(rootDir): + # alphabetically sort subFolders = sorted(subFolders) files = sorted(files) - - with open(folderName + "/CMakeLists.txt", "w") as cmakelists: - - for subFolder in subFolders: - cmakelists.write("add_subdirectory({})\n".format(subFolder)) - - headersExist = False - for fileName in files: - if fileName != "CMakeLists.txt": - headersExist = True - break - - if headersExist: - if subFolders: - cmakelists.write("\n") - - cmakelists.write("install(FILES\n") - + # get folder name relative to dumux + folderName = fullFolderName.replace(rootDir + '/', '').replace(rootDir, '') + if folderName not in ignore_folders: + with open(fullFolderName + "/CMakeLists.txt", "w") as cmakelists: + # add subfolders + for subFolder in subFolders: + cmakelists.write("add_subdirectory({})\n".format(subFolder)) + + headersExist = False for fileName in files: - if fileName != "CMakeLists.txt": - cmakelists.write("{}\n".format(fileName)) - - cmakelists.write("DESTINATION ${{CMAKE_INSTALL_INCLUDEDIR}}/dumux/{})\n".format(folderName.replace(rootDir + '/', ''))) + ext = os.path.splitext(fileName)[1] + if ext in extensions: + headersExist = True + break + + if headersExist: + if subFolders: cmakelists.write("\n") + # collect all files to be installed in a CMake variable + headers_variable = "DUMUX_" + folderName.upper().replace("/", "_") + "_HEADERS" + cmakelists.write("file(GLOB {}{})\n".format(headers_variable, " *".join([''] + extensions))) + cmakelists.write("install(FILES ${{{}}}\n".format(headers_variable)) + cmakelists.write(" DESTINATION ${{CMAKE_INSTALL_INCLUDEDIR}}/dumux/{})\n".format(folderName)) diff --git a/dumux/adaptive/CMakeLists.txt b/dumux/adaptive/CMakeLists.txt index 5dbeab8bccd9fd8dbd2b799c2f55b2e5b45b2eed..119e22f6f313dc39f14b195ebe4712daf4e9595d 100644 --- a/dumux/adaptive/CMakeLists.txt +++ b/dumux/adaptive/CMakeLists.txt @@ -1,6 +1,3 @@ -install(FILES -adapt.hh -griddatatransfer.hh -initializationindicator.hh -markelements.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/adaptive) +file(GLOB DUMUX_ADAPTIVE_HEADERS *.hh *.inc) +install(FILES ${DUMUX_ADAPTIVE_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/adaptive) diff --git a/dumux/assembly/CMakeLists.txt b/dumux/assembly/CMakeLists.txt index 2543a6631f3a61445e1bbb4aeeb8461b93115bd7..ca9689c4b58e9bd03ff6cb453e0b6de03354b87a 100644 --- a/dumux/assembly/CMakeLists.txt +++ b/dumux/assembly/CMakeLists.txt @@ -1,17 +1,3 @@ -install(FILES -boxlocalassembler.hh -boxlocalresidual.hh -cclocalassembler.hh -cclocalresidual.hh -diffmethod.hh -entitycolor.hh -fvassembler.hh -fvlocalassemblerbase.hh -fvlocalresidual.hh -initialsolution.hh -jacobianpattern.hh -numericepsilon.hh -partialreassembler.hh -staggeredfvassembler.hh -staggeredlocalresidual.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/assembly) +file(GLOB DUMUX_ASSEMBLY_HEADERS *.hh *.inc) +install(FILES ${DUMUX_ASSEMBLY_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/assembly) diff --git a/dumux/common/CMakeLists.txt b/dumux/common/CMakeLists.txt index 190cc0e572f9a74ef7a8021aff15e02a7667eb84..e532771a616aa29012f68079997dcdcf21e9f7da 100644 --- a/dumux/common/CMakeLists.txt +++ b/dumux/common/CMakeLists.txt @@ -1,54 +1,6 @@ add_subdirectory(properties) add_subdirectory(typetraits) -install(FILES -balanceequationopts.hh -boundaryconditions.hh -boundaryflag.hh -boundarytypes.hh -cubicspline.hh -cubicsplinehermitebasis.hh -defaultmappertraits.hh -defaultusagemessage.hh -deprecated.hh -dimensionlessnumbers.hh -doubleexpintegrationconstants.hh -doubleexpintegrator.hh -dumuxmessage.hh -entitymap.hh -enumerate.hh -exceptions.hh -fixedlengthspline_.hh -fvproblem.hh -gridcapabilities.hh -indextraits.hh -integrate.hh -intersectionmapper.hh -loggingparametertree.hh -math.hh -monotonecubicspline.hh -numeqvector.hh -numericdifferentiation.hh -optionalscalar.hh -parameters.hh -partial.hh -pdesolver.hh -pointsource.hh -properties.hh -random.hh -reorderingdofmapper.hh -reservedblockvector.hh -spline.hh -splinecommon_.hh -staggeredfvproblem.hh -start.hh -stringutilities.hh -tabulated2dfunction.hh -tag.hh -timeloop.hh -timemanager.hh -valgrind.hh -variablelengthspline_.hh -variables.hh -variablesbackend.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/common) +file(GLOB DUMUX_COMMON_HEADERS *.hh *.inc) +install(FILES ${DUMUX_COMMON_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/common) diff --git a/dumux/common/properties/CMakeLists.txt b/dumux/common/properties/CMakeLists.txt index 52bf5515f1453d05ead6a4438d3c78e02836a66a..6476d1ea20c82e58d722741b5dd1c7d0ccbbbf0c 100644 --- a/dumux/common/properties/CMakeLists.txt +++ b/dumux/common/properties/CMakeLists.txt @@ -1,5 +1,3 @@ -install(FILES -grid.hh -model.hh -propertysystem.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/common/properties) +file(GLOB DUMUX_COMMON_PROPERTIES_HEADERS *.hh *.inc) +install(FILES ${DUMUX_COMMON_PROPERTIES_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/common/properties) diff --git a/dumux/common/typetraits/CMakeLists.txt b/dumux/common/typetraits/CMakeLists.txt index bca9dac0b046e6775a7eca9281b08bbd54a6aaa4..0ae7eed5d8706c490daa6b23a1523e1e23e0628c 100644 --- a/dumux/common/typetraits/CMakeLists.txt +++ b/dumux/common/typetraits/CMakeLists.txt @@ -1,9 +1,3 @@ -install(FILES -isvalid.hh -matrix.hh -problem.hh -state.hh -typetraits.hh -utility.hh -vector.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/common/typetraits) +file(GLOB DUMUX_COMMON_TYPETRAITS_HEADERS *.hh *.inc) +install(FILES ${DUMUX_COMMON_TYPETRAITS_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/common/typetraits) diff --git a/dumux/discretization/CMakeLists.txt b/dumux/discretization/CMakeLists.txt index 6fb73d7125691a8f54b442d6babacbe12a603570..ca79030943ef8d22577ed78a63b4ce739420eb94 100644 --- a/dumux/discretization/CMakeLists.txt +++ b/dumux/discretization/CMakeLists.txt @@ -5,25 +5,6 @@ add_subdirectory(porenetwork) add_subdirectory(projection) add_subdirectory(staggered) -install(FILES -basegridgeometry.hh -box.hh -ccmpfa.hh -cctpfa.hh -checkoverlapsize.hh -elementsolution.hh -evalgradients.hh -evalsolution.hh -extrusion.hh -fluxstencil.hh -functionspacebasis.hh -fvgridvariables.hh -fvproperties.hh -gridvariables.hh -localview.hh -method.hh -scvandscvfiterators.hh -staggered.hh -subcontrolvolumebase.hh -subcontrolvolumefacebase.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/discretization) +file(GLOB DUMUX_DISCRETIZATION_HEADERS *.hh *.inc) +install(FILES ${DUMUX_DISCRETIZATION_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/discretization) diff --git a/dumux/discretization/box/CMakeLists.txt b/dumux/discretization/box/CMakeLists.txt index 8cf53bd605b75c3bb15a29666c994d4e84c0ace1..83ecfb9e7722ad9d6c2171bf3ea2cc5c828f7133 100644 --- a/dumux/discretization/box/CMakeLists.txt +++ b/dumux/discretization/box/CMakeLists.txt @@ -1,15 +1,3 @@ -install(FILES -boxgeometryhelper.hh -elementboundarytypes.hh -elementfluxvariablescache.hh -elementsolution.hh -elementvolumevariables.hh -fluxvariablescache.hh -fvelementgeometry.hh -fvgridgeometry.hh -gridfluxvariablescache.hh -gridvolumevariables.hh -scvftoscvboundarytypes.hh -subcontrolvolume.hh -subcontrolvolumeface.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/discretization/box) +file(GLOB DUMUX_DISCRETIZATION_BOX_HEADERS *.hh *.inc) +install(FILES ${DUMUX_DISCRETIZATION_BOX_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/discretization/box) diff --git a/dumux/discretization/cellcentered/CMakeLists.txt b/dumux/discretization/cellcentered/CMakeLists.txt index 2875cef25e58a54ca53f3b0182c24b05490ed6ad..90d404b9eca80fac0cf947d02e1df526506cb7b6 100644 --- a/dumux/discretization/cellcentered/CMakeLists.txt +++ b/dumux/discretization/cellcentered/CMakeLists.txt @@ -1,10 +1,6 @@ add_subdirectory(mpfa) add_subdirectory(tpfa) -install(FILES -connectivitymap.hh -elementboundarytypes.hh -elementsolution.hh -gridvolumevariables.hh -subcontrolvolume.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/discretization/cellcentered) +file(GLOB DUMUX_DISCRETIZATION_CELLCENTERED_HEADERS *.hh *.inc) +install(FILES ${DUMUX_DISCRETIZATION_CELLCENTERED_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/discretization/cellcentered) diff --git a/dumux/discretization/cellcentered/mpfa/CMakeLists.txt b/dumux/discretization/cellcentered/mpfa/CMakeLists.txt index 7d11eb168fca48a303bedd5ccc3a0dec63617763..67124c909a2b04f6e6a334f7d846c8d8f69b8bc9 100644 --- a/dumux/discretization/cellcentered/mpfa/CMakeLists.txt +++ b/dumux/discretization/cellcentered/mpfa/CMakeLists.txt @@ -1,24 +1,5 @@ add_subdirectory(omethod) -install(FILES -computetransmissibility.hh -connectivitymap.hh -dualgridindexset.hh -elementfluxvariablescache.hh -elementvolumevariables.hh -fvelementgeometry.hh -fvgridgeometry.hh -fvgridgeometrytraits.hh -gridfluxvariablescache.hh -gridinteractionvolumeindexsets.hh -gridvolumevariables.hh -helper.hh -interactionvolumebase.hh -interactionvolumedatahandle.hh -localassemblerbase.hh -localassemblerhelper.hh -localfacedata.hh -methods.hh -scvgradients.hh -subcontrolvolumeface.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/discretization/cellcentered/mpfa) +file(GLOB DUMUX_DISCRETIZATION_CELLCENTERED_MPFA_HEADERS *.hh *.inc) +install(FILES ${DUMUX_DISCRETIZATION_CELLCENTERED_MPFA_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/discretization/cellcentered/mpfa) diff --git a/dumux/discretization/cellcentered/mpfa/omethod/CMakeLists.txt b/dumux/discretization/cellcentered/mpfa/omethod/CMakeLists.txt index d3b51cb2cf4d698d15f9e42145ef839c8208bef1..0a855854aa07c9097589de76efb57cf39941bf65 100644 --- a/dumux/discretization/cellcentered/mpfa/omethod/CMakeLists.txt +++ b/dumux/discretization/cellcentered/mpfa/omethod/CMakeLists.txt @@ -1,8 +1,3 @@ -install(FILES -interactionvolume.hh -interactionvolumeindexset.hh -localassembler.hh -localsubcontrolentities.hh -scvgeometryhelper.hh -staticinteractionvolume.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/discretization/cellcentered/mpfa/omethod) +file(GLOB DUMUX_DISCRETIZATION_CELLCENTERED_MPFA_OMETHOD_HEADERS *.hh *.inc) +install(FILES ${DUMUX_DISCRETIZATION_CELLCENTERED_MPFA_OMETHOD_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/discretization/cellcentered/mpfa/omethod) diff --git a/dumux/discretization/cellcentered/tpfa/CMakeLists.txt b/dumux/discretization/cellcentered/tpfa/CMakeLists.txt index 39df0a20f0c05ae8c4e7eff5148baea1f7bf902d..51fa54f9a09382c69ba4b152dab46b4f64b50706 100644 --- a/dumux/discretization/cellcentered/tpfa/CMakeLists.txt +++ b/dumux/discretization/cellcentered/tpfa/CMakeLists.txt @@ -1,10 +1,3 @@ -install(FILES -computetransmissibility.hh -elementfluxvariablescache.hh -elementvolumevariables.hh -fvelementgeometry.hh -fvgridgeometry.hh -gridfluxvariablescache.hh -gridvolumevariables.hh -subcontrolvolumeface.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/discretization/cellcentered/tpfa) +file(GLOB DUMUX_DISCRETIZATION_CELLCENTERED_TPFA_HEADERS *.hh *.inc) +install(FILES ${DUMUX_DISCRETIZATION_CELLCENTERED_TPFA_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/discretization/cellcentered/tpfa) diff --git a/dumux/discretization/fem/CMakeLists.txt b/dumux/discretization/fem/CMakeLists.txt index 60174000119136db73796ca0b55ef96232e02648..afced5fb07fc71d9fd88f2d90fa80e57da0b9ba5 100644 --- a/dumux/discretization/fem/CMakeLists.txt +++ b/dumux/discretization/fem/CMakeLists.txt @@ -1,4 +1,3 @@ -install(FILES -feelementgeometry.hh -fegridgeometry.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/discretization/fem) +file(GLOB DUMUX_DISCRETIZATION_FEM_HEADERS *.hh *.inc) +install(FILES ${DUMUX_DISCRETIZATION_FEM_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/discretization/fem) diff --git a/dumux/discretization/porenetwork/CMakeLists.txt b/dumux/discretization/porenetwork/CMakeLists.txt index 27a356b4c2a9c6a29d6c5b3eb4e32e65f1390d2f..8f39522113869bef77a87903795476b39a11c6b0 100644 --- a/dumux/discretization/porenetwork/CMakeLists.txt +++ b/dumux/discretization/porenetwork/CMakeLists.txt @@ -1,6 +1,3 @@ -install(FILES -fvelementgeometry.hh -gridgeometry.hh -subcontrolvolume.hh -subcontrolvolumeface.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/discretization/porenetwork) +file(GLOB DUMUX_DISCRETIZATION_PORENETWORK_HEADERS *.hh *.inc) +install(FILES ${DUMUX_DISCRETIZATION_PORENETWORK_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/discretization/porenetwork) diff --git a/dumux/discretization/projection/CMakeLists.txt b/dumux/discretization/projection/CMakeLists.txt index f3f288c353f6a972f27fa5cb6c41534674bb9ff0..6d9bb7befad10a82fd6889a14f87e7c22b902451 100644 --- a/dumux/discretization/projection/CMakeLists.txt +++ b/dumux/discretization/projection/CMakeLists.txt @@ -1,3 +1,3 @@ -install(FILES -projector.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/discretization/projection) +file(GLOB DUMUX_DISCRETIZATION_PROJECTION_HEADERS *.hh *.inc) +install(FILES ${DUMUX_DISCRETIZATION_PROJECTION_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/discretization/projection) diff --git a/dumux/discretization/staggered/CMakeLists.txt b/dumux/discretization/staggered/CMakeLists.txt index 2a08c01ea914c73b51b9c9b5cf26c510abb0f13b..2bb25ab544b0dfc4bb6ff472f63f4f02dc8e25ee 100644 --- a/dumux/discretization/staggered/CMakeLists.txt +++ b/dumux/discretization/staggered/CMakeLists.txt @@ -1,14 +1,5 @@ add_subdirectory(freeflow) -install(FILES -elementfacevariables.hh -elementfluxvariablescache.hh -elementsolution.hh -facesolution.hh -fvelementgeometry.hh -fvgridgeometry.hh -gridfacevariables.hh -gridfluxvariablescache.hh -gridvariables.hh -subcontrolvolumeface.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/discretization/staggered) +file(GLOB DUMUX_DISCRETIZATION_STAGGERED_HEADERS *.hh *.inc) +install(FILES ${DUMUX_DISCRETIZATION_STAGGERED_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/discretization/staggered) diff --git a/dumux/discretization/staggered/freeflow/CMakeLists.txt b/dumux/discretization/staggered/freeflow/CMakeLists.txt index 240e25c818a27c0754e05836488776e05aeecf73..7acaeb29dc83f34dcb31e2ba4629812729d8e21e 100644 --- a/dumux/discretization/staggered/freeflow/CMakeLists.txt +++ b/dumux/discretization/staggered/freeflow/CMakeLists.txt @@ -1,11 +1,3 @@ -install(FILES -connectivitymap.hh -elementvolumevariables.hh -facevariables.hh -fvgridgeometrytraits.hh -gridvolumevariables.hh -properties.hh -staggeredgeometryhelper.hh -subcontrolvolumeface.hh -velocityoutput.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/discretization/staggered/freeflow) +file(GLOB DUMUX_DISCRETIZATION_STAGGERED_FREEFLOW_HEADERS *.hh *.inc) +install(FILES ${DUMUX_DISCRETIZATION_STAGGERED_FREEFLOW_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/discretization/staggered/freeflow) diff --git a/dumux/flux/CMakeLists.txt b/dumux/flux/CMakeLists.txt index 203eb2d8b5c55a2df92e9f820c140d3a9c50e1c2..da8b1d789ca4a7ef74e97a5e0d89b2fc8d96bc37 100644 --- a/dumux/flux/CMakeLists.txt +++ b/dumux/flux/CMakeLists.txt @@ -5,23 +5,6 @@ add_subdirectory(porenetwork) add_subdirectory(shallowwater) add_subdirectory(staggered) -install(FILES -darcyslaw.hh -effectivestresslaw.hh -fickiandiffusioncoefficients.hh -fickslaw.hh -fluxvariablesbase.hh -fluxvariablescaching.hh -forchheimerslaw.hh -fourierslaw.hh -fourierslawnonequilibrium.hh -hookeslaw.hh -maxwellstefandiffusioncoefficients.hh -maxwellstefanslaw.hh -referencesystemformulation.hh -shallowwaterflux.hh -shallowwaterviscousflux.hh -stationaryvelocityfield.hh -traits.hh -upwindscheme.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/flux) +file(GLOB DUMUX_FLUX_HEADERS *.hh *.inc) +install(FILES ${DUMUX_FLUX_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/flux) diff --git a/dumux/flux/box/CMakeLists.txt b/dumux/flux/box/CMakeLists.txt index d18c5bb99a612eac026d862924b5aeb52261faed..940410d24bc2e1a32c5bfd685f4c14984baafd7a 100644 --- a/dumux/flux/box/CMakeLists.txt +++ b/dumux/flux/box/CMakeLists.txt @@ -1,9 +1,3 @@ -install(FILES -darcyslaw.hh -effectivestresslaw.hh -fickslaw.hh -fourierslaw.hh -fourierslawnonequilibrium.hh -hookeslaw.hh -maxwellstefanslaw.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/flux/box) +file(GLOB DUMUX_FLUX_BOX_HEADERS *.hh *.inc) +install(FILES ${DUMUX_FLUX_BOX_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/flux/box) diff --git a/dumux/flux/ccmpfa/CMakeLists.txt b/dumux/flux/ccmpfa/CMakeLists.txt index 013e86ce5a9a7eea87059e3a8ec6aca9a8ebefa7..9bdbeea4d1d8976359828a769789868faed6e272 100644 --- a/dumux/flux/ccmpfa/CMakeLists.txt +++ b/dumux/flux/ccmpfa/CMakeLists.txt @@ -1,5 +1,3 @@ -install(FILES -darcyslaw.hh -fickslaw.hh -fourierslaw.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/flux/ccmpfa) +file(GLOB DUMUX_FLUX_CCMPFA_HEADERS *.hh *.inc) +install(FILES ${DUMUX_FLUX_CCMPFA_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/flux/ccmpfa) diff --git a/dumux/flux/cctpfa/CMakeLists.txt b/dumux/flux/cctpfa/CMakeLists.txt index 4ad0c8085309d019d91f39129d09687ef3bb9178..cb54047e5b336c0ddc7841065c3737b6b2f9fd67 100644 --- a/dumux/flux/cctpfa/CMakeLists.txt +++ b/dumux/flux/cctpfa/CMakeLists.txt @@ -1,8 +1,3 @@ -install(FILES -darcyslaw.hh -fickslaw.hh -forchheimerslaw.hh -fourierslaw.hh -fourierslawnonequilibrium.hh -maxwellstefanslaw.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/flux/cctpfa) +file(GLOB DUMUX_FLUX_CCTPFA_HEADERS *.hh *.inc) +install(FILES ${DUMUX_FLUX_CCTPFA_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/flux/cctpfa) diff --git a/dumux/flux/porenetwork/CMakeLists.txt b/dumux/flux/porenetwork/CMakeLists.txt index bb91055eeca8076bf7ca01c912e9d91f2af28b2d..2b2ba3568d49f7225ba09cfecb40f0148ae06b37 100644 --- a/dumux/flux/porenetwork/CMakeLists.txt +++ b/dumux/flux/porenetwork/CMakeLists.txt @@ -1,5 +1,3 @@ -install(FILES -advection.hh -fickslaw.hh -fourierslaw.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/flux/porenetwork) +file(GLOB DUMUX_FLUX_PORENETWORK_HEADERS *.hh *.inc) +install(FILES ${DUMUX_FLUX_PORENETWORK_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/flux/porenetwork) diff --git a/dumux/flux/shallowwater/CMakeLists.txt b/dumux/flux/shallowwater/CMakeLists.txt index 1c10d7429903e28545bfeacbe25ed009d3b1bd86..df11394875e451440068cafc07eaa35f421aade6 100644 --- a/dumux/flux/shallowwater/CMakeLists.txt +++ b/dumux/flux/shallowwater/CMakeLists.txt @@ -1,5 +1,3 @@ -install(FILES -exactriemann.hh -fluxlimiterlet.hh -riemannproblem.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/flux/shallowwater) +file(GLOB DUMUX_FLUX_SHALLOWWATER_HEADERS *.hh *.inc) +install(FILES ${DUMUX_FLUX_SHALLOWWATER_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/flux/shallowwater) diff --git a/dumux/flux/staggered/freeflow/CMakeLists.txt b/dumux/flux/staggered/freeflow/CMakeLists.txt index ca2e03c44276a3e7a2e891e0af547810fd534e2d..52e659f8e4c6bb5aa3fd5cf901c0f31461c973fc 100644 --- a/dumux/flux/staggered/freeflow/CMakeLists.txt +++ b/dumux/flux/staggered/freeflow/CMakeLists.txt @@ -1,5 +1,3 @@ -install(FILES -fickslaw.hh -fourierslaw.hh -maxwellstefanslaw.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/flux/staggered/freeflow) +file(GLOB DUMUX_FLUX_STAGGERED_FREEFLOW_HEADERS *.hh *.inc) +install(FILES ${DUMUX_FLUX_STAGGERED_FREEFLOW_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/flux/staggered/freeflow) diff --git a/dumux/freeflow/CMakeLists.txt b/dumux/freeflow/CMakeLists.txt index f6782d8672f9532fd43eeb4fc41d720e90c906b7..d04d087a701f3e062789b5ed63ca9ece15c3eb91 100644 --- a/dumux/freeflow/CMakeLists.txt +++ b/dumux/freeflow/CMakeLists.txt @@ -4,10 +4,6 @@ add_subdirectory(nonisothermal) add_subdirectory(rans) add_subdirectory(shallowwater) -install(FILES -properties.hh -staggeredupwindmethods.hh -turbulencemodel.hh -turbulenceproperties.hh -volumevariables.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/freeflow) +file(GLOB DUMUX_FREEFLOW_HEADERS *.hh *.inc) +install(FILES ${DUMUX_FREEFLOW_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/freeflow) diff --git a/dumux/freeflow/compositional/CMakeLists.txt b/dumux/freeflow/compositional/CMakeLists.txt index ea538927369011877418a9a4d4a63b897c959cd2..1162bffe0c8e03ea90ed091fcdbd0c0b7220a75e 100644 --- a/dumux/freeflow/compositional/CMakeLists.txt +++ b/dumux/freeflow/compositional/CMakeLists.txt @@ -1,14 +1,5 @@ add_subdirectory(staggered) -install(FILES -fluxvariables.hh -iofields.hh -kepsilonncmodel.hh -komegancmodel.hh -localresidual.hh -lowrekepsilonncmodel.hh -navierstokesncmodel.hh -oneeqncmodel.hh -volumevariables.hh -zeroeqncmodel.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/freeflow/compositional) +file(GLOB DUMUX_FREEFLOW_COMPOSITIONAL_HEADERS *.hh *.inc) +install(FILES ${DUMUX_FREEFLOW_COMPOSITIONAL_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/freeflow/compositional) diff --git a/dumux/freeflow/compositional/staggered/CMakeLists.txt b/dumux/freeflow/compositional/staggered/CMakeLists.txt index c00b51bc13b523a1a9bfc41868d55a128dbd274a..2b0037ace411ca45c2d6f55e30f3b075151a75b2 100644 --- a/dumux/freeflow/compositional/staggered/CMakeLists.txt +++ b/dumux/freeflow/compositional/staggered/CMakeLists.txt @@ -1,4 +1,3 @@ -install(FILES -fluxvariables.hh -localresidual.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/freeflow/compositional/staggered) +file(GLOB DUMUX_FREEFLOW_COMPOSITIONAL_STAGGERED_HEADERS *.hh *.inc) +install(FILES ${DUMUX_FREEFLOW_COMPOSITIONAL_STAGGERED_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/freeflow/compositional/staggered) diff --git a/dumux/freeflow/navierstokes/CMakeLists.txt b/dumux/freeflow/navierstokes/CMakeLists.txt index 28bd6d8d4df4fa7baea8752b7564993c5c811083..322efa2ca92064d4b12688663e83e4030096c922 100644 --- a/dumux/freeflow/navierstokes/CMakeLists.txt +++ b/dumux/freeflow/navierstokes/CMakeLists.txt @@ -1,12 +1,5 @@ add_subdirectory(staggered) -install(FILES -boundarytypes.hh -fluxvariables.hh -indices.hh -iofields.hh -localresidual.hh -model.hh -problem.hh -volumevariables.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/freeflow/navierstokes) +file(GLOB DUMUX_FREEFLOW_NAVIERSTOKES_HEADERS *.hh *.inc) +install(FILES ${DUMUX_FREEFLOW_NAVIERSTOKES_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/freeflow/navierstokes) diff --git a/dumux/freeflow/navierstokes/staggered/CMakeLists.txt b/dumux/freeflow/navierstokes/staggered/CMakeLists.txt index 5aa64ce444b2e893631d6ce05fe34abc1064fb99..1cb0c35f8775521d26855a31f465f203773f740d 100644 --- a/dumux/freeflow/navierstokes/staggered/CMakeLists.txt +++ b/dumux/freeflow/navierstokes/staggered/CMakeLists.txt @@ -1,7 +1,3 @@ -install(FILES -fluxoversurface.hh -fluxvariables.hh -localresidual.hh -staggeredupwindhelper.hh -velocitygradients.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/freeflow/navierstokes/staggered) +file(GLOB DUMUX_FREEFLOW_NAVIERSTOKES_STAGGERED_HEADERS *.hh *.inc) +install(FILES ${DUMUX_FREEFLOW_NAVIERSTOKES_STAGGERED_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/freeflow/navierstokes/staggered) diff --git a/dumux/freeflow/nonisothermal/CMakeLists.txt b/dumux/freeflow/nonisothermal/CMakeLists.txt index 7c4f3b7577116fae069ad486bf4b4c9accf0aba7..ff4ac0d35926a52b33edd435080920f3043a3f65 100644 --- a/dumux/freeflow/nonisothermal/CMakeLists.txt +++ b/dumux/freeflow/nonisothermal/CMakeLists.txt @@ -1,6 +1,3 @@ -install(FILES -indices.hh -iofields.hh -localresidual.hh -model.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/freeflow/nonisothermal) +file(GLOB DUMUX_FREEFLOW_NONISOTHERMAL_HEADERS *.hh *.inc) +install(FILES ${DUMUX_FREEFLOW_NONISOTHERMAL_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/freeflow/nonisothermal) diff --git a/dumux/freeflow/rans/CMakeLists.txt b/dumux/freeflow/rans/CMakeLists.txt index 903d8aba1666b58fc1f595dd61508e82bf6d1291..a07f6886b886fc82336212197d9a0176d29d10a1 100644 --- a/dumux/freeflow/rans/CMakeLists.txt +++ b/dumux/freeflow/rans/CMakeLists.txt @@ -2,9 +2,6 @@ add_subdirectory(oneeq) add_subdirectory(twoeq) add_subdirectory(zeroeq) -install(FILES -iofields.hh -model.hh -problem.hh -volumevariables.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/freeflow/rans) +file(GLOB DUMUX_FREEFLOW_RANS_HEADERS *.hh *.inc) +install(FILES ${DUMUX_FREEFLOW_RANS_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/freeflow/rans) diff --git a/dumux/freeflow/rans/oneeq/CMakeLists.txt b/dumux/freeflow/rans/oneeq/CMakeLists.txt index 185360fc340355796d53ad85f811032e0579cf3e..643c0d97d086386aa97da33702aa3df9e9e779f8 100644 --- a/dumux/freeflow/rans/oneeq/CMakeLists.txt +++ b/dumux/freeflow/rans/oneeq/CMakeLists.txt @@ -1,11 +1,5 @@ add_subdirectory(staggered) -install(FILES -fluxvariables.hh -indices.hh -iofields.hh -localresidual.hh -model.hh -problem.hh -volumevariables.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/freeflow/rans/oneeq) +file(GLOB DUMUX_FREEFLOW_RANS_ONEEQ_HEADERS *.hh *.inc) +install(FILES ${DUMUX_FREEFLOW_RANS_ONEEQ_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/freeflow/rans/oneeq) diff --git a/dumux/freeflow/rans/oneeq/staggered/CMakeLists.txt b/dumux/freeflow/rans/oneeq/staggered/CMakeLists.txt index a5103121ca54f35771a0f038d546303cdb46792e..d30654f7cb384b1ddafff13152ae119c4e73ab0e 100644 --- a/dumux/freeflow/rans/oneeq/staggered/CMakeLists.txt +++ b/dumux/freeflow/rans/oneeq/staggered/CMakeLists.txt @@ -1,4 +1,3 @@ -install(FILES -fluxvariables.hh -localresidual.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/freeflow/rans/oneeq/staggered) +file(GLOB DUMUX_FREEFLOW_RANS_ONEEQ_STAGGERED_HEADERS *.hh *.inc) +install(FILES ${DUMUX_FREEFLOW_RANS_ONEEQ_STAGGERED_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/freeflow/rans/oneeq/staggered) diff --git a/dumux/freeflow/rans/twoeq/CMakeLists.txt b/dumux/freeflow/rans/twoeq/CMakeLists.txt index e6a7b90001b4d0be79874ae3fa31133602e5b28e..299ff626f7bd4774af1653c921e92c9e4c3737a4 100644 --- a/dumux/freeflow/rans/twoeq/CMakeLists.txt +++ b/dumux/freeflow/rans/twoeq/CMakeLists.txt @@ -2,6 +2,6 @@ add_subdirectory(kepsilon) add_subdirectory(komega) add_subdirectory(lowrekepsilon) -install(FILES -indices.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/freeflow/rans/twoeq) +file(GLOB DUMUX_FREEFLOW_RANS_TWOEQ_HEADERS *.hh *.inc) +install(FILES ${DUMUX_FREEFLOW_RANS_TWOEQ_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/freeflow/rans/twoeq) diff --git a/dumux/freeflow/rans/twoeq/kepsilon/CMakeLists.txt b/dumux/freeflow/rans/twoeq/kepsilon/CMakeLists.txt index 9e4c832eb73025dbfa060229c41db1dd1b066ed3..0f04484200a98f49b14bb4b0aaf5b2ab0b7b8500 100644 --- a/dumux/freeflow/rans/twoeq/kepsilon/CMakeLists.txt +++ b/dumux/freeflow/rans/twoeq/kepsilon/CMakeLists.txt @@ -1,10 +1,5 @@ add_subdirectory(staggered) -install(FILES -fluxvariables.hh -iofields.hh -localresidual.hh -model.hh -problem.hh -volumevariables.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/freeflow/rans/twoeq/kepsilon) +file(GLOB DUMUX_FREEFLOW_RANS_TWOEQ_KEPSILON_HEADERS *.hh *.inc) +install(FILES ${DUMUX_FREEFLOW_RANS_TWOEQ_KEPSILON_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/freeflow/rans/twoeq/kepsilon) diff --git a/dumux/freeflow/rans/twoeq/kepsilon/staggered/CMakeLists.txt b/dumux/freeflow/rans/twoeq/kepsilon/staggered/CMakeLists.txt index 1cb45e4c243701e0af18d5c07d1d5747549b3f06..4e18c3dc2b1355162ed395151f73e2dedbb713af 100644 --- a/dumux/freeflow/rans/twoeq/kepsilon/staggered/CMakeLists.txt +++ b/dumux/freeflow/rans/twoeq/kepsilon/staggered/CMakeLists.txt @@ -1,4 +1,3 @@ -install(FILES -fluxvariables.hh -localresidual.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/freeflow/rans/twoeq/kepsilon/staggered) +file(GLOB DUMUX_FREEFLOW_RANS_TWOEQ_KEPSILON_STAGGERED_HEADERS *.hh *.inc) +install(FILES ${DUMUX_FREEFLOW_RANS_TWOEQ_KEPSILON_STAGGERED_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/freeflow/rans/twoeq/kepsilon/staggered) diff --git a/dumux/freeflow/rans/twoeq/komega/CMakeLists.txt b/dumux/freeflow/rans/twoeq/komega/CMakeLists.txt index 7a01f69cea3eed0532a05b527d506e7925c6d444..10f5c073e5ee11f86be3af62dced720abcad33a2 100644 --- a/dumux/freeflow/rans/twoeq/komega/CMakeLists.txt +++ b/dumux/freeflow/rans/twoeq/komega/CMakeLists.txt @@ -1,10 +1,5 @@ add_subdirectory(staggered) -install(FILES -fluxvariables.hh -iofields.hh -localresidual.hh -model.hh -problem.hh -volumevariables.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/freeflow/rans/twoeq/komega) +file(GLOB DUMUX_FREEFLOW_RANS_TWOEQ_KOMEGA_HEADERS *.hh *.inc) +install(FILES ${DUMUX_FREEFLOW_RANS_TWOEQ_KOMEGA_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/freeflow/rans/twoeq/komega) diff --git a/dumux/freeflow/rans/twoeq/komega/staggered/CMakeLists.txt b/dumux/freeflow/rans/twoeq/komega/staggered/CMakeLists.txt index e700e78b28e6258b798a4c392dbe1377d7666cac..7485566a2fd59c3c7e10831a443003014309ced0 100644 --- a/dumux/freeflow/rans/twoeq/komega/staggered/CMakeLists.txt +++ b/dumux/freeflow/rans/twoeq/komega/staggered/CMakeLists.txt @@ -1,4 +1,3 @@ -install(FILES -fluxvariables.hh -localresidual.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/freeflow/rans/twoeq/komega/staggered) +file(GLOB DUMUX_FREEFLOW_RANS_TWOEQ_KOMEGA_STAGGERED_HEADERS *.hh *.inc) +install(FILES ${DUMUX_FREEFLOW_RANS_TWOEQ_KOMEGA_STAGGERED_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/freeflow/rans/twoeq/komega/staggered) diff --git a/dumux/freeflow/rans/twoeq/lowrekepsilon/CMakeLists.txt b/dumux/freeflow/rans/twoeq/lowrekepsilon/CMakeLists.txt index 83424a1038058f9727193a70e683041be2a9ad35..6c117f86078420cf7a296ab69a36e0ab687d0405 100644 --- a/dumux/freeflow/rans/twoeq/lowrekepsilon/CMakeLists.txt +++ b/dumux/freeflow/rans/twoeq/lowrekepsilon/CMakeLists.txt @@ -1,10 +1,5 @@ add_subdirectory(staggered) -install(FILES -fluxvariables.hh -iofields.hh -localresidual.hh -model.hh -problem.hh -volumevariables.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/freeflow/rans/twoeq/lowrekepsilon) +file(GLOB DUMUX_FREEFLOW_RANS_TWOEQ_LOWREKEPSILON_HEADERS *.hh *.inc) +install(FILES ${DUMUX_FREEFLOW_RANS_TWOEQ_LOWREKEPSILON_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/freeflow/rans/twoeq/lowrekepsilon) diff --git a/dumux/freeflow/rans/twoeq/lowrekepsilon/staggered/CMakeLists.txt b/dumux/freeflow/rans/twoeq/lowrekepsilon/staggered/CMakeLists.txt index b2f6e23970816302912338ff6976a050ecb41cf9..6e12ea9bdcf12d878d7b6a56eb5f2d6b007abe17 100644 --- a/dumux/freeflow/rans/twoeq/lowrekepsilon/staggered/CMakeLists.txt +++ b/dumux/freeflow/rans/twoeq/lowrekepsilon/staggered/CMakeLists.txt @@ -1,4 +1,3 @@ -install(FILES -fluxvariables.hh -localresidual.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/freeflow/rans/twoeq/lowrekepsilon/staggered) +file(GLOB DUMUX_FREEFLOW_RANS_TWOEQ_LOWREKEPSILON_STAGGERED_HEADERS *.hh *.inc) +install(FILES ${DUMUX_FREEFLOW_RANS_TWOEQ_LOWREKEPSILON_STAGGERED_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/freeflow/rans/twoeq/lowrekepsilon/staggered) diff --git a/dumux/freeflow/rans/zeroeq/CMakeLists.txt b/dumux/freeflow/rans/zeroeq/CMakeLists.txt index f73d39dad09f9f83b422b78a5fb5e7857872bdd4..1e9aa0d1d1566b938c35b31e94464f2f978f8631 100644 --- a/dumux/freeflow/rans/zeroeq/CMakeLists.txt +++ b/dumux/freeflow/rans/zeroeq/CMakeLists.txt @@ -1,5 +1,3 @@ -install(FILES -model.hh -problem.hh -volumevariables.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/freeflow/rans/zeroeq) +file(GLOB DUMUX_FREEFLOW_RANS_ZEROEQ_HEADERS *.hh *.inc) +install(FILES ${DUMUX_FREEFLOW_RANS_ZEROEQ_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/freeflow/rans/zeroeq) diff --git a/dumux/freeflow/shallowwater/CMakeLists.txt b/dumux/freeflow/shallowwater/CMakeLists.txt index 35807b6bbc5412464af2cd257750ab68cea819ba..00047d13b97c8c2ad814b5b23026494da102914e 100644 --- a/dumux/freeflow/shallowwater/CMakeLists.txt +++ b/dumux/freeflow/shallowwater/CMakeLists.txt @@ -1,10 +1,3 @@ -install(FILES -boundaryfluxes.hh -fluxvariables.hh -indices.hh -iofields.hh -localresidual.hh -model.hh -problem.hh -volumevariables.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/freeflow/shallowwater) +file(GLOB DUMUX_FREEFLOW_SHALLOWWATER_HEADERS *.hh *.inc) +install(FILES ${DUMUX_FREEFLOW_SHALLOWWATER_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/freeflow/shallowwater) diff --git a/dumux/geomechanics/CMakeLists.txt b/dumux/geomechanics/CMakeLists.txt index 22205305a56f1b6a245fa1570d4f889962f83ffd..8c99fad30056942a7d5d95cdebe81572207895fa 100644 --- a/dumux/geomechanics/CMakeLists.txt +++ b/dumux/geomechanics/CMakeLists.txt @@ -1,10 +1,6 @@ add_subdirectory(elastic) add_subdirectory(poroelastic) -install(FILES -fvproblem.hh -lameparams.hh -properties.hh -stressvariablescache.hh -velocityoutput.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/geomechanics) +file(GLOB DUMUX_GEOMECHANICS_HEADERS *.hh *.inc) +install(FILES ${DUMUX_GEOMECHANICS_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/geomechanics) diff --git a/dumux/geomechanics/elastic/CMakeLists.txt b/dumux/geomechanics/elastic/CMakeLists.txt index d37ff68eeca3061bb5dd71a5dc787b4fa583c77a..5dc4e0be7753c02e72a09dff265cd6f5fb931b8a 100644 --- a/dumux/geomechanics/elastic/CMakeLists.txt +++ b/dumux/geomechanics/elastic/CMakeLists.txt @@ -1,6 +1,3 @@ -install(FILES -indices.hh -localresidual.hh -model.hh -volumevariables.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/geomechanics/elastic) +file(GLOB DUMUX_GEOMECHANICS_ELASTIC_HEADERS *.hh *.inc) +install(FILES ${DUMUX_GEOMECHANICS_ELASTIC_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/geomechanics/elastic) diff --git a/dumux/geomechanics/poroelastic/CMakeLists.txt b/dumux/geomechanics/poroelastic/CMakeLists.txt index d0fa76d956acd2e7ce1c4c69fe5075f6028b2641..96e76d5634a4868649b872fe8e3294d03fa8f6bc 100644 --- a/dumux/geomechanics/poroelastic/CMakeLists.txt +++ b/dumux/geomechanics/poroelastic/CMakeLists.txt @@ -1,7 +1,3 @@ -install(FILES -couplingmanager.hh -iofields.hh -localresidual.hh -model.hh -volumevariables.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/geomechanics/poroelastic) +file(GLOB DUMUX_GEOMECHANICS_POROELASTIC_HEADERS *.hh *.inc) +install(FILES ${DUMUX_GEOMECHANICS_POROELASTIC_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/geomechanics/poroelastic) diff --git a/dumux/geometry/CMakeLists.txt b/dumux/geometry/CMakeLists.txt index 3e8de14da383d4711b96080ca34610e6189d5a77..736ec68622ebfaa1bc2c384b48086e643266ed98 100644 --- a/dumux/geometry/CMakeLists.txt +++ b/dumux/geometry/CMakeLists.txt @@ -1,16 +1,3 @@ -install(FILES -boundingboxtree.hh -diameter.hh -distance.hh -geometricentityset.hh -geometryintersection.hh -grahamconvexhull.hh -intersectingentities.hh -intersectionentityset.hh -intersectspointgeometry.hh -intersectspointsimplex.hh -makegeometry.hh -normal.hh -refinementquadraturerule.hh -triangulation.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/geometry) +file(GLOB DUMUX_GEOMETRY_HEADERS *.hh *.inc) +install(FILES ${DUMUX_GEOMETRY_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/geometry) diff --git a/dumux/io/CMakeLists.txt b/dumux/io/CMakeLists.txt index ebad197ab8ab41bc57ddf881d85f084b0c7d87ef..163aa0e68b4ff70c8d6ea3766225665a51a3c48b 100644 --- a/dumux/io/CMakeLists.txt +++ b/dumux/io/CMakeLists.txt @@ -1,29 +1,8 @@ -add_subdirectory(grid) add_subdirectory(format) +add_subdirectory(grid) add_subdirectory(vtk) add_subdirectory(xml) -install(FILES -adaptivegridrestart.hh -container.hh -defaultiofields.hh -format.hh -gnuplotinterface.hh -loadsolution.hh -name.hh -ploteffectivediffusivitymodel.hh -plotmateriallaw3p.hh -plotpckrsw.hh -plotthermalconductivitymodel.hh -pointcloudvtkwriter.hh -rasterimagereader.hh -restart.hh -staggeredvtkoutputmodule.hh -velocityoutput.hh -vtkfunction.hh -vtkmultiwriter.hh -vtknestedfunction.hh -vtkoutputmodule.hh -vtkprecision.hh -vtksequencewriter.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/io) +file(GLOB DUMUX_IO_HEADERS *.hh *.inc) +install(FILES ${DUMUX_IO_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/io) diff --git a/dumux/io/grid/CMakeLists.txt b/dumux/io/grid/CMakeLists.txt index 7e21464ae142dda4fd79cab7b87ac6e7069484c9..afc90f47d21a8e602b56e8c7b41f265b60368652 100644 --- a/dumux/io/grid/CMakeLists.txt +++ b/dumux/io/grid/CMakeLists.txt @@ -1,18 +1,5 @@ add_subdirectory(porenetwork) -install(FILES -cakegridmanager.hh -cpgridmanager.hh -gmshgriddatahandle.hh -griddata.hh -gridmanager.hh -gridmanager_alu.hh -gridmanager_base.hh -gridmanager_foam.hh -gridmanager_mmesh.hh -gridmanager_oned.hh -gridmanager_sp.hh -gridmanager_sub.hh -gridmanager_ug.hh -gridmanager_yasp.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/io/grid) +file(GLOB DUMUX_IO_GRID_HEADERS *.hh *.inc) +install(FILES ${DUMUX_IO_GRID_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/io/grid) diff --git a/dumux/io/grid/porenetwork/CMakeLists.txt b/dumux/io/grid/porenetwork/CMakeLists.txt index 5055c72faf2a1a412a89539d97c52ec111dec756..26e8ab5148fbc1e740b79aae2a53587076edacf7 100644 --- a/dumux/io/grid/porenetwork/CMakeLists.txt +++ b/dumux/io/grid/porenetwork/CMakeLists.txt @@ -1,8 +1,3 @@ -install(FILES -dgfwriter.hh -griddata.hh -gridmanager.hh -parametersforgeneratedgrid.hh -structuredlatticegridcreator.hh -subgriddata.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/io/grid/porenetwork) +file(GLOB DUMUX_IO_GRID_PORENETWORK_HEADERS *.hh *.inc) +install(FILES ${DUMUX_IO_GRID_PORENETWORK_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/io/grid/porenetwork) diff --git a/dumux/io/vtk/CMakeLists.txt b/dumux/io/vtk/CMakeLists.txt index 6c8d1b946cb3fffc18b67141b1c334a5f3eb27e8..5b048f44b5b7c448f37f7445e30b4bca1ac2e23a 100644 --- a/dumux/io/vtk/CMakeLists.txt +++ b/dumux/io/vtk/CMakeLists.txt @@ -1,3 +1,3 @@ -install(FILES -vtkreader.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/io/vtk) +file(GLOB DUMUX_IO_VTK_HEADERS *.hh *.inc) +install(FILES ${DUMUX_IO_VTK_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/io/vtk) diff --git a/dumux/linear/CMakeLists.txt b/dumux/linear/CMakeLists.txt index f5c1a286de3a0f7873a06daf4e6a665aaeb290af..29fe48813085bd955e50c7b82c42e622e0990cbb 100644 --- a/dumux/linear/CMakeLists.txt +++ b/dumux/linear/CMakeLists.txt @@ -1,15 +1,3 @@ -install(FILES -amgbackend.hh -istlsolverfactorybackend.hh -istlsolverregistry.hh -linearsolveracceptsmultitypematrix.hh -linearsolverparameters.hh -linearsolvertraits.hh -matrixconverter.hh -parallelhelpers.hh -pdesolver.hh -preconditioners.hh -scotchbackend.hh -seqsolverbackend.hh -solver.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/linear) +file(GLOB DUMUX_LINEAR_HEADERS *.hh *.inc) +install(FILES ${DUMUX_LINEAR_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/linear) diff --git a/dumux/material/CMakeLists.txt b/dumux/material/CMakeLists.txt index 43ad7f372faee2e028ecd9a16978775e44003e23..9c24d8b5c7b5bd8b292bc160918a82bb9fda9910 100644 --- a/dumux/material/CMakeLists.txt +++ b/dumux/material/CMakeLists.txt @@ -10,7 +10,6 @@ add_subdirectory(solidstates) add_subdirectory(solidsystems) add_subdirectory(spatialparams) -install(FILES -constants.hh -idealgas.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/material) +file(GLOB DUMUX_MATERIAL_HEADERS *.hh *.inc) +install(FILES ${DUMUX_MATERIAL_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/material) diff --git a/dumux/material/binarycoefficients/CMakeLists.txt b/dumux/material/binarycoefficients/CMakeLists.txt index d18463edee2790acd1ed6e63666ce71143a28584..a6f2120a29486c24415ab9f6cf7054b47007166b 100644 --- a/dumux/material/binarycoefficients/CMakeLists.txt +++ b/dumux/material/binarycoefficients/CMakeLists.txt @@ -1,16 +1,3 @@ -install(FILES -air_mesitylene.hh -air_xylene.hh -brine_co2.hh -fullermethod.hh -h2o_air.hh -h2o_ch4.hh -h2o_constant.hh -h2o_heavyoil.hh -h2o_mesitylene.hh -h2o_n2.hh -h2o_o2.hh -h2o_xylene.hh -henryiapws.hh -n2_o2.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/material/binarycoefficients) +file(GLOB DUMUX_MATERIAL_BINARYCOEFFICIENTS_HEADERS *.hh *.inc) +install(FILES ${DUMUX_MATERIAL_BINARYCOEFFICIENTS_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/material/binarycoefficients) diff --git a/dumux/material/chemistry/electrochemistry/CMakeLists.txt b/dumux/material/chemistry/electrochemistry/CMakeLists.txt index f38151d68fc0e77abbcd82a80db7646fda10c0c8..b3cffd055060c65c9855e584632480bcf4794c26 100644 --- a/dumux/material/chemistry/electrochemistry/CMakeLists.txt +++ b/dumux/material/chemistry/electrochemistry/CMakeLists.txt @@ -1,4 +1,3 @@ -install(FILES -electrochemistry.hh -electrochemistryni.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/material/chemistry/electrochemistry) +file(GLOB DUMUX_MATERIAL_CHEMISTRY_ELECTROCHEMISTRY_HEADERS *.hh *.inc) +install(FILES ${DUMUX_MATERIAL_CHEMISTRY_ELECTROCHEMISTRY_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/material/chemistry/electrochemistry) diff --git a/dumux/material/components/CMakeLists.txt b/dumux/material/components/CMakeLists.txt index f343f70373672d05672f283831ed136218d73bb3..277a7d8fa2e556cb94c742654a6833411993896e 100644 --- a/dumux/material/components/CMakeLists.txt +++ b/dumux/material/components/CMakeLists.txt @@ -1,40 +1,5 @@ add_subdirectory(iapws) -install(FILES -air.hh -ammonia.hh -base.hh -benzene.hh -brine.hh -calcite.hh -calciumion.hh -cao.hh -cao2h2.hh -carbonateion.hh -ch4.hh -chlorideion.hh -co2.hh -co2tablereader.hh -co2tables.inc -componenttraits.hh -constant.hh -gas.hh -glucose.hh -granite.hh -h2.hh -h2o.hh -heavyoil.hh -ion.hh -liquid.hh -mesitylene.hh -n2.hh -nacl.hh -o2.hh -simpleh2o.hh -sodiumion.hh -solid.hh -tabulatedcomponent.hh -trichloroethene.hh -urea.hh -xylene.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/material/components) +file(GLOB DUMUX_MATERIAL_COMPONENTS_HEADERS *.hh *.inc) +install(FILES ${DUMUX_MATERIAL_COMPONENTS_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/material/components) diff --git a/dumux/material/components/iapws/CMakeLists.txt b/dumux/material/components/iapws/CMakeLists.txt index 1d489e0751fd588e4012ebb0f4c6c135317de453..2b2e71da4f3365a5a082c9a87e220987b87cb350 100644 --- a/dumux/material/components/iapws/CMakeLists.txt +++ b/dumux/material/components/iapws/CMakeLists.txt @@ -1,6 +1,3 @@ -install(FILES -common.hh -region1.hh -region2.hh -region4.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/material/components/iapws) +file(GLOB DUMUX_MATERIAL_COMPONENTS_IAPWS_HEADERS *.hh *.inc) +install(FILES ${DUMUX_MATERIAL_COMPONENTS_IAPWS_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/material/components/iapws) diff --git a/dumux/material/constraintsolvers/CMakeLists.txt b/dumux/material/constraintsolvers/CMakeLists.txt index b32aea8ed53a6bf8548abfa0b9c42565928ba4bb..cb9d1bbf2a37f9880e7851aa1d921cf486f447dd 100644 --- a/dumux/material/constraintsolvers/CMakeLists.txt +++ b/dumux/material/constraintsolvers/CMakeLists.txt @@ -1,8 +1,3 @@ -install(FILES -compositionalflash.hh -compositionfromfugacities.hh -computefromreferencephase.hh -immiscibleflash.hh -misciblemultiphasecomposition.hh -ncpflash.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/material/constraintsolvers) +file(GLOB DUMUX_MATERIAL_CONSTRAINTSOLVERS_HEADERS *.hh *.inc) +install(FILES ${DUMUX_MATERIAL_CONSTRAINTSOLVERS_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/material/constraintsolvers) diff --git a/dumux/material/eos/CMakeLists.txt b/dumux/material/eos/CMakeLists.txt index 9166d44fec56d1e220db4bb57f1c48f40473d28a..cd4c711076b2e6dd765a4352eae4071849f5416e 100644 --- a/dumux/material/eos/CMakeLists.txt +++ b/dumux/material/eos/CMakeLists.txt @@ -1,6 +1,3 @@ -install(FILES -pengrobinson.hh -pengrobinsonmixture.hh -pengrobinsonparams.hh -pengrobinsonparamsmixture.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/material/eos) +file(GLOB DUMUX_MATERIAL_EOS_HEADERS *.hh *.inc) +install(FILES ${DUMUX_MATERIAL_EOS_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/material/eos) diff --git a/dumux/material/fluidmatrixinteractions/1p/CMakeLists.txt b/dumux/material/fluidmatrixinteractions/1p/CMakeLists.txt index 35a5ae525508d87566aa0ef360c1b24c7c345257..12bebbf8e53e5f8a5cfc2b4f86cee85d72a1247b 100644 --- a/dumux/material/fluidmatrixinteractions/1p/CMakeLists.txt +++ b/dumux/material/fluidmatrixinteractions/1p/CMakeLists.txt @@ -1,3 +1,3 @@ -install(FILES -thermalconductivityaverage.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/material/fluidmatrixinteractions/1p) +file(GLOB DUMUX_MATERIAL_FLUIDMATRIXINTERACTIONS_1P_HEADERS *.hh *.inc) +install(FILES ${DUMUX_MATERIAL_FLUIDMATRIXINTERACTIONS_1P_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/material/fluidmatrixinteractions/1p) diff --git a/dumux/material/fluidmatrixinteractions/1pia/CMakeLists.txt b/dumux/material/fluidmatrixinteractions/1pia/CMakeLists.txt index f531c299e63e82d7423ee38a078fdb662753f474..ed4810a621414487210ae85813242cf2de0e5fce 100644 --- a/dumux/material/fluidmatrixinteractions/1pia/CMakeLists.txt +++ b/dumux/material/fluidmatrixinteractions/1pia/CMakeLists.txt @@ -1,3 +1,3 @@ -install(FILES -fluidsolidinterfacialareashiwang.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/material/fluidmatrixinteractions/1pia) +file(GLOB DUMUX_MATERIAL_FLUIDMATRIXINTERACTIONS_1PIA_HEADERS *.hh *.inc) +install(FILES ${DUMUX_MATERIAL_FLUIDMATRIXINTERACTIONS_1PIA_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/material/fluidmatrixinteractions/1pia) diff --git a/dumux/material/fluidmatrixinteractions/2p/CMakeLists.txt b/dumux/material/fluidmatrixinteractions/2p/CMakeLists.txt index 1e182e970ef855482b242bc9b3e7e3dd0b216eb4..d9fd987922397b526d9ba82785a451e649e6ef79 100644 --- a/dumux/material/fluidmatrixinteractions/2p/CMakeLists.txt +++ b/dumux/material/fluidmatrixinteractions/2p/CMakeLists.txt @@ -1,19 +1,6 @@ add_subdirectory(interfacialarea) add_subdirectory(thermalconductivity) -install(FILES -brookscorey.hh -datasplinemateriallaw.hh -efftoabsdefaultpolicy.hh -heatpipelaw.hh -heatpipelawparams.hh -linearmaterial.hh -materiallaw.hh -noregularization.hh -smoothedlinearlaw.hh -splinemateriallaw.hh -thermalconductivityjohansen.hh -thermalconductivitysimplefluidlumping.hh -thermalconductivitysomerton.hh -vangenuchten.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/material/fluidmatrixinteractions/2p) +file(GLOB DUMUX_MATERIAL_FLUIDMATRIXINTERACTIONS_2P_HEADERS *.hh *.inc) +install(FILES ${DUMUX_MATERIAL_FLUIDMATRIXINTERACTIONS_2P_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/material/fluidmatrixinteractions/2p) diff --git a/dumux/material/fluidmatrixinteractions/2p/interfacialarea/CMakeLists.txt b/dumux/material/fluidmatrixinteractions/2p/interfacialarea/CMakeLists.txt index f908e650e54f0f5f52649911c2473d76d69d6dbd..d7c4f771b59a5ae0ff0b03963f32ce42138ee1e6 100644 --- a/dumux/material/fluidmatrixinteractions/2p/interfacialarea/CMakeLists.txt +++ b/dumux/material/fluidmatrixinteractions/2p/interfacialarea/CMakeLists.txt @@ -1,8 +1,3 @@ -install(FILES -exponential.hh -exponentialcubic.hh -interfacialarea.hh -pcmax.hh -polynomial2ndorder.hh -polynomialedgezero2ndorder.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/material/fluidmatrixinteractions/2p/interfacialarea) +file(GLOB DUMUX_MATERIAL_FLUIDMATRIXINTERACTIONS_2P_INTERFACIALAREA_HEADERS *.hh *.inc) +install(FILES ${DUMUX_MATERIAL_FLUIDMATRIXINTERACTIONS_2P_INTERFACIALAREA_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/material/fluidmatrixinteractions/2p/interfacialarea) diff --git a/dumux/material/fluidmatrixinteractions/2p/thermalconductivity/CMakeLists.txt b/dumux/material/fluidmatrixinteractions/2p/thermalconductivity/CMakeLists.txt index 34760f6ec3b11689fca85b771a8d413d05ccbbb0..253433846c7e60f98d77ff1400fe482b0bb03f9b 100644 --- a/dumux/material/fluidmatrixinteractions/2p/thermalconductivity/CMakeLists.txt +++ b/dumux/material/fluidmatrixinteractions/2p/thermalconductivity/CMakeLists.txt @@ -1,5 +1,3 @@ -install(FILES -johansen.hh -simplefluidlumping.hh -somerton.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/material/fluidmatrixinteractions/2p/thermalconductivity) +file(GLOB DUMUX_MATERIAL_FLUIDMATRIXINTERACTIONS_2P_THERMALCONDUCTIVITY_HEADERS *.hh *.inc) +install(FILES ${DUMUX_MATERIAL_FLUIDMATRIXINTERACTIONS_2P_THERMALCONDUCTIVITY_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/material/fluidmatrixinteractions/2p/thermalconductivity) diff --git a/dumux/material/fluidmatrixinteractions/3p/CMakeLists.txt b/dumux/material/fluidmatrixinteractions/3p/CMakeLists.txt index b29542549fa8a7a868f84169b7fbc114b94beb71..5f1d25d2435d7e08e7505ac41a16e7011d9a524c 100644 --- a/dumux/material/fluidmatrixinteractions/3p/CMakeLists.txt +++ b/dumux/material/fluidmatrixinteractions/3p/CMakeLists.txt @@ -1,5 +1,3 @@ -install(FILES -napladsorption.hh -parkervangenuchten.hh -thermalconductivitysomerton3p.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/material/fluidmatrixinteractions/3p) +file(GLOB DUMUX_MATERIAL_FLUIDMATRIXINTERACTIONS_3P_HEADERS *.hh *.inc) +install(FILES ${DUMUX_MATERIAL_FLUIDMATRIXINTERACTIONS_3P_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/material/fluidmatrixinteractions/3p) diff --git a/dumux/material/fluidmatrixinteractions/CMakeLists.txt b/dumux/material/fluidmatrixinteractions/CMakeLists.txt index ac93f6e884786a87e0d158ff832dfde5bd4f47ed..ddc38f14ff65ea3a4fca6531c6f9f4bcedd9382c 100644 --- a/dumux/material/fluidmatrixinteractions/CMakeLists.txt +++ b/dumux/material/fluidmatrixinteractions/CMakeLists.txt @@ -6,11 +6,6 @@ add_subdirectory(frictionlaws) add_subdirectory(mp) add_subdirectory(porenetwork) -install(FILES -diffusivityconstanttortuosity.hh -diffusivitymillingtonquirk.hh -fluidmatrixinteraction.hh -permeabilitykozenycarman.hh -porositydeformation.hh -porosityprecipitation.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/material/fluidmatrixinteractions) +file(GLOB DUMUX_MATERIAL_FLUIDMATRIXINTERACTIONS_HEADERS *.hh *.inc) +install(FILES ${DUMUX_MATERIAL_FLUIDMATRIXINTERACTIONS_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/material/fluidmatrixinteractions) diff --git a/dumux/material/fluidmatrixinteractions/frictionlaws/CMakeLists.txt b/dumux/material/fluidmatrixinteractions/frictionlaws/CMakeLists.txt index 506ff416e0062fafcde5d90873beac9ed415d883..44a1252e4b1268cb39a0ef028c102c8348516382 100644 --- a/dumux/material/fluidmatrixinteractions/frictionlaws/CMakeLists.txt +++ b/dumux/material/fluidmatrixinteractions/frictionlaws/CMakeLists.txt @@ -1,6 +1,3 @@ -install(FILES -frictionlaw.hh -manning.hh -nikuradse.hh -nofriction.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/material/fluidmatrixinteractions/frictionlaws) +file(GLOB DUMUX_MATERIAL_FLUIDMATRIXINTERACTIONS_FRICTIONLAWS_HEADERS *.hh *.inc) +install(FILES ${DUMUX_MATERIAL_FLUIDMATRIXINTERACTIONS_FRICTIONLAWS_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/material/fluidmatrixinteractions/frictionlaws) diff --git a/dumux/material/fluidmatrixinteractions/mp/CMakeLists.txt b/dumux/material/fluidmatrixinteractions/mp/CMakeLists.txt index b17785d56b071dfcdbd878374f766e4d99bdd616..4f3556c3010490dbefe50c3524aa0fed81050035 100644 --- a/dumux/material/fluidmatrixinteractions/mp/CMakeLists.txt +++ b/dumux/material/fluidmatrixinteractions/mp/CMakeLists.txt @@ -1,4 +1,3 @@ -install(FILES -mpadapter.hh -mplinearmaterial.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/material/fluidmatrixinteractions/mp) +file(GLOB DUMUX_MATERIAL_FLUIDMATRIXINTERACTIONS_MP_HEADERS *.hh *.inc) +install(FILES ${DUMUX_MATERIAL_FLUIDMATRIXINTERACTIONS_MP_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/material/fluidmatrixinteractions/mp) diff --git a/dumux/material/fluidmatrixinteractions/porenetwork/pore/2p/CMakeLists.txt b/dumux/material/fluidmatrixinteractions/porenetwork/pore/2p/CMakeLists.txt index 088a06a0aea4582ad932525e4ef4196c02b1b6e8..5a96277deedb45e41bd32a759c0769fe4399aac8 100644 --- a/dumux/material/fluidmatrixinteractions/porenetwork/pore/2p/CMakeLists.txt +++ b/dumux/material/fluidmatrixinteractions/porenetwork/pore/2p/CMakeLists.txt @@ -1,5 +1,3 @@ -install(FILES -localrulesforplatonicbody.hh -multishapelocalrules.hh -singleshapelocalrules.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/material/fluidmatrixinteractions/porenetwork/pore/2p) +file(GLOB DUMUX_MATERIAL_FLUIDMATRIXINTERACTIONS_PORENETWORK_PORE_2P_HEADERS *.hh *.inc) +install(FILES ${DUMUX_MATERIAL_FLUIDMATRIXINTERACTIONS_PORENETWORK_PORE_2P_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/material/fluidmatrixinteractions/porenetwork/pore/2p) diff --git a/dumux/material/fluidmatrixinteractions/porenetwork/throat/CMakeLists.txt b/dumux/material/fluidmatrixinteractions/porenetwork/throat/CMakeLists.txt index 197511b683969aaad69eb4c0cd2e65fa30f4317f..6601ee85de0612ab058334544fbd6a65ac995861 100644 --- a/dumux/material/fluidmatrixinteractions/porenetwork/throat/CMakeLists.txt +++ b/dumux/material/fluidmatrixinteractions/porenetwork/throat/CMakeLists.txt @@ -1,6 +1,3 @@ -install(FILES -emptycache.hh -thresholdcapillarypressures.hh -transmissibility1p.hh -transmissibility2p.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/material/fluidmatrixinteractions/porenetwork/throat) +file(GLOB DUMUX_MATERIAL_FLUIDMATRIXINTERACTIONS_PORENETWORK_THROAT_HEADERS *.hh *.inc) +install(FILES ${DUMUX_MATERIAL_FLUIDMATRIXINTERACTIONS_PORENETWORK_THROAT_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/material/fluidmatrixinteractions/porenetwork/throat) diff --git a/dumux/material/fluidstates/CMakeLists.txt b/dumux/material/fluidstates/CMakeLists.txt index d7cccf038ac56475ef4e36a87bc56b4827abddf3..361d62b68a9f5ec536b443bad2c8e780806fe0fc 100644 --- a/dumux/material/fluidstates/CMakeLists.txt +++ b/dumux/material/fluidstates/CMakeLists.txt @@ -1,12 +1,3 @@ -install(FILES -adapter.hh -compositional.hh -immiscible.hh -isothermalimmiscible.hh -nonequilibrium.hh -nonequilibriummass.hh -pressureoverlay.hh -pseudo1p2c.hh -saturationoverlay.hh -temperatureoverlay.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/material/fluidstates) +file(GLOB DUMUX_MATERIAL_FLUIDSTATES_HEADERS *.hh *.inc) +install(FILES ${DUMUX_MATERIAL_FLUIDSTATES_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/material/fluidstates) diff --git a/dumux/material/fluidsystems/CMakeLists.txt b/dumux/material/fluidsystems/CMakeLists.txt index cbba9c937798fa8d9496ed286200f309e8545d5c..43671b04d2f99e4c3edb1684dc0f65bc63a2907e 100644 --- a/dumux/material/fluidsystems/CMakeLists.txt +++ b/dumux/material/fluidsystems/CMakeLists.txt @@ -1,24 +1,3 @@ -install(FILES -1padapter.hh -1pgas.hh -1pliquid.hh -2p1c.hh -2pimmiscible.hh -3pimmiscible.hh -base.hh -brine.hh -brineair.hh -brineco2.hh -h2oair.hh -h2oairmesitylene.hh -h2oairxylene.hh -h2oheavyoil.hh -h2on2.hh -h2on2kinetic.hh -h2on2o2.hh -liquidphase2c.hh -nullparametercache.hh -parametercachebase.hh -spe5.hh -spe5parametercache.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/material/fluidsystems) +file(GLOB DUMUX_MATERIAL_FLUIDSYSTEMS_HEADERS *.hh *.inc) +install(FILES ${DUMUX_MATERIAL_FLUIDSYSTEMS_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/material/fluidsystems) diff --git a/dumux/material/solidstates/CMakeLists.txt b/dumux/material/solidstates/CMakeLists.txt index 6e1e0d51cb1bee9a38fb2471ddd7a64b8c038cef..1989940ddfd590a1f125a0181c9d9265a26d5acc 100644 --- a/dumux/material/solidstates/CMakeLists.txt +++ b/dumux/material/solidstates/CMakeLists.txt @@ -1,5 +1,3 @@ -install(FILES -compositionalsolidstate.hh -inertsolidstate.hh -updatesolidvolumefractions.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/material/solidstates) +file(GLOB DUMUX_MATERIAL_SOLIDSTATES_HEADERS *.hh *.inc) +install(FILES ${DUMUX_MATERIAL_SOLIDSTATES_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/material/solidstates) diff --git a/dumux/material/solidsystems/CMakeLists.txt b/dumux/material/solidsystems/CMakeLists.txt index 7ac9b1f3583d48b231b5aaa1c1aa9bb0ff1a2342..18e2289ee3b81d84f5d294a8382304ff8d43d2f1 100644 --- a/dumux/material/solidsystems/CMakeLists.txt +++ b/dumux/material/solidsystems/CMakeLists.txt @@ -1,4 +1,3 @@ -install(FILES -1csolid.hh -compositionalsolidphase.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/material/solidsystems) +file(GLOB DUMUX_MATERIAL_SOLIDSYSTEMS_HEADERS *.hh *.inc) +install(FILES ${DUMUX_MATERIAL_SOLIDSYSTEMS_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/material/solidsystems) diff --git a/dumux/material/spatialparams/CMakeLists.txt b/dumux/material/spatialparams/CMakeLists.txt index 519c8fc126ab182bc023e90bdc775da842fbc4b2..f2ba9806584f1652e08d5aa866fd516a9cc67336 100644 --- a/dumux/material/spatialparams/CMakeLists.txt +++ b/dumux/material/spatialparams/CMakeLists.txt @@ -1,13 +1,5 @@ add_subdirectory(porenetwork) -install(FILES -fv.hh -fv1p.hh -fv1pconstant.hh -fvelastic.hh -fvnonequilibrium.hh -fvporoelastic.hh -gstatrandomfield.hh -sequentialfv.hh -sequentialfv1p.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/material/spatialparams) +file(GLOB DUMUX_MATERIAL_SPATIALPARAMS_HEADERS *.hh *.inc) +install(FILES ${DUMUX_MATERIAL_SPATIALPARAMS_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/material/spatialparams) diff --git a/dumux/material/spatialparams/porenetwork/CMakeLists.txt b/dumux/material/spatialparams/porenetwork/CMakeLists.txt index 283c3a0c7bfc607637fdcd0497fe2f76a996df0e..1e5bf2af1c2aed5d8bc83f724986f9eff0e145bf 100644 --- a/dumux/material/spatialparams/porenetwork/CMakeLists.txt +++ b/dumux/material/spatialparams/porenetwork/CMakeLists.txt @@ -1,5 +1,3 @@ -install(FILES -porenetwork1p.hh -porenetwork2p.hh -porenetworkbase.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/material/spatialparams/porenetwork) +file(GLOB DUMUX_MATERIAL_SPATIALPARAMS_PORENETWORK_HEADERS *.hh *.inc) +install(FILES ${DUMUX_MATERIAL_SPATIALPARAMS_PORENETWORK_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/material/spatialparams/porenetwork) diff --git a/dumux/multidomain/CMakeLists.txt b/dumux/multidomain/CMakeLists.txt index 66757d67253e5d6c2357f5a61503361bcf64c24b..b70ada1cc96294a20315e6b7897f706e61e53d33 100644 --- a/dumux/multidomain/CMakeLists.txt +++ b/dumux/multidomain/CMakeLists.txt @@ -3,19 +3,6 @@ add_subdirectory(embedded) add_subdirectory(facet) add_subdirectory(io) -install(FILES -couplingjacobianpattern.hh -couplingmanager.hh -fvassembler.hh -fvgridgeometry.hh -fvgridvariables.hh -fvproblem.hh -glue.hh -newtonsolver.hh -staggeredcouplingmanager.hh -staggeredtraits.hh -subdomainboxlocalassembler.hh -subdomaincclocalassembler.hh -subdomainstaggeredlocalassembler.hh -traits.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/multidomain) +file(GLOB DUMUX_MULTIDOMAIN_HEADERS *.hh *.inc) +install(FILES ${DUMUX_MULTIDOMAIN_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/multidomain) diff --git a/dumux/multidomain/boundary/darcydarcy/CMakeLists.txt b/dumux/multidomain/boundary/darcydarcy/CMakeLists.txt index 38ab77687c1c8c644aab5d337dab618e09f8b4ff..4ead0a1847905912c942d5c857da57fd77b9e425 100644 --- a/dumux/multidomain/boundary/darcydarcy/CMakeLists.txt +++ b/dumux/multidomain/boundary/darcydarcy/CMakeLists.txt @@ -1,4 +1,3 @@ -install(FILES -couplingmanager.hh -couplingmapper.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/multidomain/boundary/darcydarcy) +file(GLOB DUMUX_MULTIDOMAIN_BOUNDARY_DARCYDARCY_HEADERS *.hh *.inc) +install(FILES ${DUMUX_MULTIDOMAIN_BOUNDARY_DARCYDARCY_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/multidomain/boundary/darcydarcy) diff --git a/dumux/multidomain/boundary/stokesdarcy/CMakeLists.txt b/dumux/multidomain/boundary/stokesdarcy/CMakeLists.txt index e394ed1a0d523d88c70a587d05ba8a1ba0a88d27..d807a987bb6e552c1b6e84118a685bd0706d7c2e 100644 --- a/dumux/multidomain/boundary/stokesdarcy/CMakeLists.txt +++ b/dumux/multidomain/boundary/stokesdarcy/CMakeLists.txt @@ -1,5 +1,3 @@ -install(FILES -couplingdata.hh -couplingmanager.hh -couplingmapper.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/multidomain/boundary/stokesdarcy) +file(GLOB DUMUX_MULTIDOMAIN_BOUNDARY_STOKESDARCY_HEADERS *.hh *.inc) +install(FILES ${DUMUX_MULTIDOMAIN_BOUNDARY_STOKESDARCY_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/multidomain/boundary/stokesdarcy) diff --git a/dumux/multidomain/embedded/CMakeLists.txt b/dumux/multidomain/embedded/CMakeLists.txt index 825d6b505518f8d062b33ab2f9e4f36dfba1bef4..fb213ec4334ee6adc7874d916cabcccc7471601a 100644 --- a/dumux/multidomain/embedded/CMakeLists.txt +++ b/dumux/multidomain/embedded/CMakeLists.txt @@ -1,15 +1,3 @@ -install(FILES -circleaveragepointsourcetraits.hh -circlepoints.hh -couplingmanager1d3d.hh -couplingmanager1d3d_average.hh -couplingmanager1d3d_kernel.hh -couplingmanager1d3d_line.hh -couplingmanager1d3d_surface.hh -couplingmanager2d3d.hh -couplingmanagerbase.hh -cylinderintegration.hh -extendedsourcestencil.hh -integrationpointsource.hh -pointsourcedata.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/multidomain/embedded) +file(GLOB DUMUX_MULTIDOMAIN_EMBEDDED_HEADERS *.hh *.inc) +install(FILES ${DUMUX_MULTIDOMAIN_EMBEDDED_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/multidomain/embedded) diff --git a/dumux/multidomain/facet/CMakeLists.txt b/dumux/multidomain/facet/CMakeLists.txt index 90fe912174686dfcda7cbff9c2a8abf984f25b14..9a1c79b130b92bae12d1b5d8153177c49fc71a15 100644 --- a/dumux/multidomain/facet/CMakeLists.txt +++ b/dumux/multidomain/facet/CMakeLists.txt @@ -1,13 +1,6 @@ add_subdirectory(box) add_subdirectory(cellcentered) -install(FILES -codimonegridadapter.hh -couplingmanager.hh -couplingmapper.hh -couplingmapperbase.hh -enrichmenthelper.hh -gmshreader.hh -gridmanager.hh -vertexmapper.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/multidomain/facet) +file(GLOB DUMUX_MULTIDOMAIN_FACET_HEADERS *.hh *.inc) +install(FILES ${DUMUX_MULTIDOMAIN_FACET_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/multidomain/facet) diff --git a/dumux/multidomain/facet/box/CMakeLists.txt b/dumux/multidomain/facet/box/CMakeLists.txt index e33e34a79dce27e415b1d1a22007dca3afc5f5c8..702035db606fe8a63c16d69e1f3655b5d718ec91 100644 --- a/dumux/multidomain/facet/box/CMakeLists.txt +++ b/dumux/multidomain/facet/box/CMakeLists.txt @@ -1,13 +1,3 @@ -install(FILES -couplingmanager.hh -couplingmapper.hh -darcyslaw.hh -fickslaw.hh -fourierslaw.hh -fvelementgeometry.hh -fvgridgeometry.hh -localresidual.hh -properties.hh -subcontrolvolumeface.hh -upwindscheme.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/multidomain/facet/box) +file(GLOB DUMUX_MULTIDOMAIN_FACET_BOX_HEADERS *.hh *.inc) +install(FILES ${DUMUX_MULTIDOMAIN_FACET_BOX_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/multidomain/facet/box) diff --git a/dumux/multidomain/facet/cellcentered/CMakeLists.txt b/dumux/multidomain/facet/cellcentered/CMakeLists.txt index c0e2edd755ec49c07feccbe3ff8ddad04ce9d78a..b17cf8a92f6dd9f275853e98b3217ee5d3c251f5 100644 --- a/dumux/multidomain/facet/cellcentered/CMakeLists.txt +++ b/dumux/multidomain/facet/cellcentered/CMakeLists.txt @@ -1,7 +1,6 @@ add_subdirectory(mpfa) add_subdirectory(tpfa) -install(FILES -localresidual.hh -upwindscheme.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/multidomain/facet/cellcentered) +file(GLOB DUMUX_MULTIDOMAIN_FACET_CELLCENTERED_HEADERS *.hh *.inc) +install(FILES ${DUMUX_MULTIDOMAIN_FACET_CELLCENTERED_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/multidomain/facet/cellcentered) diff --git a/dumux/multidomain/facet/cellcentered/mpfa/CMakeLists.txt b/dumux/multidomain/facet/cellcentered/mpfa/CMakeLists.txt index 29c2e60f59bc48e54df105bbc4d276973e9ac8f8..bb4f2aaf20cd842f98d93a6883b2cfe497c6b9a2 100644 --- a/dumux/multidomain/facet/cellcentered/mpfa/CMakeLists.txt +++ b/dumux/multidomain/facet/cellcentered/mpfa/CMakeLists.txt @@ -1,8 +1,3 @@ -install(FILES -couplingmanager.hh -couplingmapper.hh -interactionvolume.hh -localassembler.hh -localsubcontrolentities.hh -properties.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/multidomain/facet/cellcentered/mpfa) +file(GLOB DUMUX_MULTIDOMAIN_FACET_CELLCENTERED_MPFA_HEADERS *.hh *.inc) +install(FILES ${DUMUX_MULTIDOMAIN_FACET_CELLCENTERED_MPFA_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/multidomain/facet/cellcentered/mpfa) diff --git a/dumux/multidomain/facet/cellcentered/tpfa/CMakeLists.txt b/dumux/multidomain/facet/cellcentered/tpfa/CMakeLists.txt index 0f21d29c226af444c6c63cfb82f3edf3998f781c..0991d79c1b1e38d69c9d22f5b82d0432869b5a93 100644 --- a/dumux/multidomain/facet/cellcentered/tpfa/CMakeLists.txt +++ b/dumux/multidomain/facet/cellcentered/tpfa/CMakeLists.txt @@ -1,8 +1,3 @@ -install(FILES -couplingmanager.hh -couplingmapper.hh -darcyslaw.hh -fickslaw.hh -fourierslaw.hh -properties.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/multidomain/facet/cellcentered/tpfa) +file(GLOB DUMUX_MULTIDOMAIN_FACET_CELLCENTERED_TPFA_HEADERS *.hh *.inc) +install(FILES ${DUMUX_MULTIDOMAIN_FACET_CELLCENTERED_TPFA_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/multidomain/facet/cellcentered/tpfa) diff --git a/dumux/multidomain/io/CMakeLists.txt b/dumux/multidomain/io/CMakeLists.txt index 7cde1469dd35bce881e05c4299033aeb51448815..863e88b75ac93fa4dd53b37c989212ad71d3591a 100644 --- a/dumux/multidomain/io/CMakeLists.txt +++ b/dumux/multidomain/io/CMakeLists.txt @@ -1,3 +1,3 @@ -install(FILES -vtkoutputmodule.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/multidomain/io) +file(GLOB DUMUX_MULTIDOMAIN_IO_HEADERS *.hh *.inc) +install(FILES ${DUMUX_MULTIDOMAIN_IO_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/multidomain/io) diff --git a/dumux/nonlinear/CMakeLists.txt b/dumux/nonlinear/CMakeLists.txt index 0cdeabcdf59f518eaaa23d65c3e0b756550de98c..ca3e9410a92fdbc2a83d0e45fa611ed54930cef1 100644 --- a/dumux/nonlinear/CMakeLists.txt +++ b/dumux/nonlinear/CMakeLists.txt @@ -1,7 +1,3 @@ -install(FILES -findscalarroot.hh -newtonconvergencewriter.hh -newtonsolver.hh -primaryvariableswitchadapter.hh -staggerednewtonconvergencewriter.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/nonlinear) +file(GLOB DUMUX_NONLINEAR_HEADERS *.hh *.inc) +install(FILES ${DUMUX_NONLINEAR_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/nonlinear) diff --git a/dumux/parallel/CMakeLists.txt b/dumux/parallel/CMakeLists.txt index 0c53ec92fdd8a3d8b8b6a8c399a4a5dcca4ccf61..478b9d473158a70b19df8d998d4a0e1d82eb110b 100644 --- a/dumux/parallel/CMakeLists.txt +++ b/dumux/parallel/CMakeLists.txt @@ -1,3 +1,3 @@ -install(FILES -vectorcommdatahandle.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/parallel) +file(GLOB DUMUX_PARALLEL_HEADERS *.hh *.inc) +install(FILES ${DUMUX_PARALLEL_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/parallel) diff --git a/dumux/porenetwork/1p/CMakeLists.txt b/dumux/porenetwork/1p/CMakeLists.txt index e50694d70856ef6ba0e84ded89d48458f374f3fc..9d48d351ca587f39fa7b0d55646bd7a661ff92d8 100644 --- a/dumux/porenetwork/1p/CMakeLists.txt +++ b/dumux/porenetwork/1p/CMakeLists.txt @@ -1,6 +1,3 @@ -install(FILES -fluxvariablescache.hh -iofields.hh -model.hh -volumevariables.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porenetwork/1p) +file(GLOB DUMUX_PORENETWORK_1P_HEADERS *.hh *.inc) +install(FILES ${DUMUX_PORENETWORK_1P_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porenetwork/1p) diff --git a/dumux/porenetwork/1pnc/CMakeLists.txt b/dumux/porenetwork/1pnc/CMakeLists.txt index bd18784610aa2c5ef4d0232830309258bee0bfec..9e4f03010342cdcb7deedde333a63c39b34aa91b 100644 --- a/dumux/porenetwork/1pnc/CMakeLists.txt +++ b/dumux/porenetwork/1pnc/CMakeLists.txt @@ -1,5 +1,3 @@ -install(FILES -iofields.hh -model.hh -volumevariables.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porenetwork/1pnc) +file(GLOB DUMUX_PORENETWORK_1PNC_HEADERS *.hh *.inc) +install(FILES ${DUMUX_PORENETWORK_1PNC_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porenetwork/1pnc) diff --git a/dumux/porenetwork/2p/CMakeLists.txt b/dumux/porenetwork/2p/CMakeLists.txt index acfb11fc312e351d3aeb18c6d3804d8cd841279c..39868ddbd0d1bce24ed4402e729cd3a26d686b66 100644 --- a/dumux/porenetwork/2p/CMakeLists.txt +++ b/dumux/porenetwork/2p/CMakeLists.txt @@ -1,13 +1,5 @@ add_subdirectory(static) -install(FILES -elementfluxvariablescache.hh -fluxvariablescache.hh -gridfluxvariablescache.hh -invasionstate.hh -iofields.hh -model.hh -newtonconsistencychecks.hh -newtonsolver.hh -volumevariables.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porenetwork/2p) +file(GLOB DUMUX_PORENETWORK_2P_HEADERS *.hh *.inc) +install(FILES ${DUMUX_PORENETWORK_2P_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porenetwork/2p) diff --git a/dumux/porenetwork/2p/static/CMakeLists.txt b/dumux/porenetwork/2p/static/CMakeLists.txt index 1a56a6268c7663a1df594e8b4e12ddc49128eb95..48cad902f9c4743f801bb7e7745ad70c6f5f3eb1 100644 --- a/dumux/porenetwork/2p/static/CMakeLists.txt +++ b/dumux/porenetwork/2p/static/CMakeLists.txt @@ -1,3 +1,3 @@ -install(FILES -staticdrainge.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porenetwork/2p/static) +file(GLOB DUMUX_PORENETWORK_2P_STATIC_HEADERS *.hh *.inc) +install(FILES ${DUMUX_PORENETWORK_2P_STATIC_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porenetwork/2p/static) diff --git a/dumux/porenetwork/CMakeLists.txt b/dumux/porenetwork/CMakeLists.txt index fc3acb68dbf1096c94511ac0112fab2dfa2425fb..940dab9ca1bb4463f32af626ce22616ffc792a06 100644 --- a/dumux/porenetwork/CMakeLists.txt +++ b/dumux/porenetwork/CMakeLists.txt @@ -3,6 +3,6 @@ add_subdirectory(1pnc) add_subdirectory(2p) add_subdirectory(common) -install(FILES -properties.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porenetwork) +file(GLOB DUMUX_PORENETWORK_HEADERS *.hh *.inc) +install(FILES ${DUMUX_PORENETWORK_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porenetwork) diff --git a/dumux/porenetwork/common/CMakeLists.txt b/dumux/porenetwork/common/CMakeLists.txt index 607b6245b18395b811e9c34f051e8e7ab814e07f..3cdfd4ad747a918dd25310d459652cbddfd2f57e 100644 --- a/dumux/porenetwork/common/CMakeLists.txt +++ b/dumux/porenetwork/common/CMakeLists.txt @@ -1,10 +1,3 @@ -install(FILES -boundaryflux.hh -iofields.hh -labels.hh -pnmvtkoutputmodule.hh -poreproperties.hh -throatproperties.hh -utilities.hh -velocityoutput.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porenetwork/common) +file(GLOB DUMUX_PORENETWORK_COMMON_HEADERS *.hh *.inc) +install(FILES ${DUMUX_PORENETWORK_COMMON_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porenetwork/common) diff --git a/dumux/porousmediumflow/1p/CMakeLists.txt b/dumux/porousmediumflow/1p/CMakeLists.txt index 9feafc42b617987f700b43fa3084a27c026f2378..f166e01426f0ec2fca1466e09103551690b0c444 100644 --- a/dumux/porousmediumflow/1p/CMakeLists.txt +++ b/dumux/porousmediumflow/1p/CMakeLists.txt @@ -1,9 +1,5 @@ add_subdirectory(sequential) -install(FILES -incompressiblelocalresidual.hh -indices.hh -iofields.hh -model.hh -volumevariables.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/1p) +file(GLOB DUMUX_POROUSMEDIUMFLOW_1P_HEADERS *.hh *.inc) +install(FILES ${DUMUX_POROUSMEDIUMFLOW_1P_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/1p) diff --git a/dumux/porousmediumflow/1p/sequential/CMakeLists.txt b/dumux/porousmediumflow/1p/sequential/CMakeLists.txt index da8412d2548aa3844e71177befdcbfe8e68de29b..3810316586cdf6282057bdd6a9cd3f47396d59cf 100644 --- a/dumux/porousmediumflow/1p/sequential/CMakeLists.txt +++ b/dumux/porousmediumflow/1p/sequential/CMakeLists.txt @@ -1,8 +1,5 @@ add_subdirectory(diffusion) -install(FILES -celldata.hh -fluxdata.hh -indices.hh -properties.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/1p/sequential) +file(GLOB DUMUX_POROUSMEDIUMFLOW_1P_SEQUENTIAL_HEADERS *.hh *.inc) +install(FILES ${DUMUX_POROUSMEDIUMFLOW_1P_SEQUENTIAL_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/1p/sequential) diff --git a/dumux/porousmediumflow/1p/sequential/diffusion/CMakeLists.txt b/dumux/porousmediumflow/1p/sequential/diffusion/CMakeLists.txt index c7902d29ac294d2116cd31a0f6021395532da3a6..393c1c0ad2287713356f4e1bef01f1c5e8d81579 100644 --- a/dumux/porousmediumflow/1p/sequential/diffusion/CMakeLists.txt +++ b/dumux/porousmediumflow/1p/sequential/diffusion/CMakeLists.txt @@ -1,6 +1,5 @@ add_subdirectory(cellcentered) -install(FILES -problem.hh -properties.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/1p/sequential/diffusion) +file(GLOB DUMUX_POROUSMEDIUMFLOW_1P_SEQUENTIAL_DIFFUSION_HEADERS *.hh *.inc) +install(FILES ${DUMUX_POROUSMEDIUMFLOW_1P_SEQUENTIAL_DIFFUSION_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/1p/sequential/diffusion) diff --git a/dumux/porousmediumflow/1p/sequential/diffusion/cellcentered/CMakeLists.txt b/dumux/porousmediumflow/1p/sequential/diffusion/cellcentered/CMakeLists.txt index 2b00d111985f689a19a3d3b52e2128ae479ff1b7..e14093b4e92926d1c1ddd1c7ae40701558a652d1 100644 --- a/dumux/porousmediumflow/1p/sequential/diffusion/cellcentered/CMakeLists.txt +++ b/dumux/porousmediumflow/1p/sequential/diffusion/cellcentered/CMakeLists.txt @@ -1,6 +1,3 @@ -install(FILES -pressure.hh -pressureproperties.hh -pressurevelocity.hh -velocity.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/1p/sequential/diffusion/cellcentered) +file(GLOB DUMUX_POROUSMEDIUMFLOW_1P_SEQUENTIAL_DIFFUSION_CELLCENTERED_HEADERS *.hh *.inc) +install(FILES ${DUMUX_POROUSMEDIUMFLOW_1P_SEQUENTIAL_DIFFUSION_CELLCENTERED_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/1p/sequential/diffusion/cellcentered) diff --git a/dumux/porousmediumflow/1pnc/CMakeLists.txt b/dumux/porousmediumflow/1pnc/CMakeLists.txt index eaa21fdcbffe2387f5d4a881a429048bf94a2d2e..f6bfb802c337ddcdd2d2f05ed31fd1517fee9d59 100644 --- a/dumux/porousmediumflow/1pnc/CMakeLists.txt +++ b/dumux/porousmediumflow/1pnc/CMakeLists.txt @@ -1,6 +1,3 @@ -install(FILES -indices.hh -iofields.hh -model.hh -volumevariables.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/1pnc) +file(GLOB DUMUX_POROUSMEDIUMFLOW_1PNC_HEADERS *.hh *.inc) +install(FILES ${DUMUX_POROUSMEDIUMFLOW_1PNC_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/1pnc) diff --git a/dumux/porousmediumflow/1pncmin/CMakeLists.txt b/dumux/porousmediumflow/1pncmin/CMakeLists.txt index 8a820083622869430cf7fa9c4a838a6b583d4d77..87bc06945e2fcb5bcb774c3c1a4216ab818745b0 100644 --- a/dumux/porousmediumflow/1pncmin/CMakeLists.txt +++ b/dumux/porousmediumflow/1pncmin/CMakeLists.txt @@ -1,3 +1,3 @@ -install(FILES -model.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/1pncmin) +file(GLOB DUMUX_POROUSMEDIUMFLOW_1PNCMIN_HEADERS *.hh *.inc) +install(FILES ${DUMUX_POROUSMEDIUMFLOW_1PNCMIN_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/1pncmin) diff --git a/dumux/porousmediumflow/2p/CMakeLists.txt b/dumux/porousmediumflow/2p/CMakeLists.txt index d7847edce06c9478d83dce41a0f7b323483704ff..0b42b6c16bed056907b06c2cb6ec9ed937179913 100644 --- a/dumux/porousmediumflow/2p/CMakeLists.txt +++ b/dumux/porousmediumflow/2p/CMakeLists.txt @@ -1,14 +1,5 @@ add_subdirectory(sequential) -install(FILES -boxmaterialinterfaces.hh -formulation.hh -gridadaptindicator.hh -griddatatransfer.hh -incompressiblelocalresidual.hh -indices.hh -iofields.hh -model.hh -saturationreconstruction.hh -volumevariables.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/2p) +file(GLOB DUMUX_POROUSMEDIUMFLOW_2P_HEADERS *.hh *.inc) +install(FILES ${DUMUX_POROUSMEDIUMFLOW_2P_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/2p) diff --git a/dumux/porousmediumflow/2p/sequential/CMakeLists.txt b/dumux/porousmediumflow/2p/sequential/CMakeLists.txt index 6629448f8ed7cf31060b46d4e034fafd4ad87fea..165426819913fc17acab591febeaee59777ea035 100644 --- a/dumux/porousmediumflow/2p/sequential/CMakeLists.txt +++ b/dumux/porousmediumflow/2p/sequential/CMakeLists.txt @@ -2,10 +2,6 @@ add_subdirectory(diffusion) add_subdirectory(impes) add_subdirectory(transport) -install(FILES -celldata.hh -celldataadaptive.hh -fluxdata.hh -indices.hh -properties.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/2p/sequential) +file(GLOB DUMUX_POROUSMEDIUMFLOW_2P_SEQUENTIAL_HEADERS *.hh *.inc) +install(FILES ${DUMUX_POROUSMEDIUMFLOW_2P_SEQUENTIAL_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/2p/sequential) diff --git a/dumux/porousmediumflow/2p/sequential/diffusion/CMakeLists.txt b/dumux/porousmediumflow/2p/sequential/diffusion/CMakeLists.txt index 3cb85f0eacdc67824cae3cb78ea45c0f2874ce11..014fd4bcaa50cb1bc3fe0de720c9254bd4dab2a3 100644 --- a/dumux/porousmediumflow/2p/sequential/diffusion/CMakeLists.txt +++ b/dumux/porousmediumflow/2p/sequential/diffusion/CMakeLists.txt @@ -2,7 +2,6 @@ add_subdirectory(cellcentered) add_subdirectory(mimetic) add_subdirectory(mpfa) -install(FILES -problem.hh -properties.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/2p/sequential/diffusion) +file(GLOB DUMUX_POROUSMEDIUMFLOW_2P_SEQUENTIAL_DIFFUSION_HEADERS *.hh *.inc) +install(FILES ${DUMUX_POROUSMEDIUMFLOW_2P_SEQUENTIAL_DIFFUSION_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/2p/sequential/diffusion) diff --git a/dumux/porousmediumflow/2p/sequential/diffusion/cellcentered/CMakeLists.txt b/dumux/porousmediumflow/2p/sequential/diffusion/cellcentered/CMakeLists.txt index b8c863a236abdb774d32412768f74cde3b36b58c..b012af4dab6a41dda6ea9f634efa573c0ee676cd 100644 --- a/dumux/porousmediumflow/2p/sequential/diffusion/cellcentered/CMakeLists.txt +++ b/dumux/porousmediumflow/2p/sequential/diffusion/cellcentered/CMakeLists.txt @@ -1,9 +1,3 @@ -install(FILES -pressure.hh -pressureadaptive.hh -pressureproperties.hh -pressurepropertiesadaptive.hh -pressurevelocity.hh -velocity.hh -velocityadaptive.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/2p/sequential/diffusion/cellcentered) +file(GLOB DUMUX_POROUSMEDIUMFLOW_2P_SEQUENTIAL_DIFFUSION_CELLCENTERED_HEADERS *.hh *.inc) +install(FILES ${DUMUX_POROUSMEDIUMFLOW_2P_SEQUENTIAL_DIFFUSION_CELLCENTERED_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/2p/sequential/diffusion/cellcentered) diff --git a/dumux/porousmediumflow/2p/sequential/diffusion/mimetic/CMakeLists.txt b/dumux/porousmediumflow/2p/sequential/diffusion/mimetic/CMakeLists.txt index 9de8a6efba6eb71f46b7a721e60816c9e85ef762..fdad97e3679bb1adc5d6fc67320e660f1a946498 100644 --- a/dumux/porousmediumflow/2p/sequential/diffusion/mimetic/CMakeLists.txt +++ b/dumux/porousmediumflow/2p/sequential/diffusion/mimetic/CMakeLists.txt @@ -1,13 +1,3 @@ -install(FILES -croperator.hh -croperatoradaptive.hh -localstiffness.hh -mimetic.hh -mimeticadaptive.hh -operator.hh -operatoradaptive.hh -pressure.hh -pressureadaptive.hh -pressureproperties.hh -pressurepropertiesadaptive.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/2p/sequential/diffusion/mimetic) +file(GLOB DUMUX_POROUSMEDIUMFLOW_2P_SEQUENTIAL_DIFFUSION_MIMETIC_HEADERS *.hh *.inc) +install(FILES ${DUMUX_POROUSMEDIUMFLOW_2P_SEQUENTIAL_DIFFUSION_MIMETIC_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/2p/sequential/diffusion/mimetic) diff --git a/dumux/porousmediumflow/2p/sequential/diffusion/mpfa/lmethod/CMakeLists.txt b/dumux/porousmediumflow/2p/sequential/diffusion/mpfa/lmethod/CMakeLists.txt index 15e47542004a24a1d34ec99e03637737e6f54185..24e9f823cfd25306461d9b96c13eb591e53c63b2 100644 --- a/dumux/porousmediumflow/2p/sequential/diffusion/mpfa/lmethod/CMakeLists.txt +++ b/dumux/porousmediumflow/2p/sequential/diffusion/mpfa/lmethod/CMakeLists.txt @@ -1,22 +1,3 @@ -install(FILES -2dpressure.hh -2dpressureadaptive.hh -2dpressureproperties.hh -2dpressurepropertiesadaptive.hh -2dpressurevelocity.hh -2dpressurevelocityadaptive.hh -2dtransmissibilitycalculator.hh -2dvelocity.hh -2dvelocityadaptive.hh -3dinteractionvolumecontainer.hh -3dinteractionvolumecontaineradaptive.hh -3dpressure.hh -3dpressureadaptive.hh -3dpressureproperties.hh -3dpressurepropertiesadaptive.hh -3dpressurevelocity.hh -3dpressurevelocityadaptive.hh -3dtransmissibilitycalculator.hh -3dvelocity.hh -3dvelocityadaptive.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/2p/sequential/diffusion/mpfa/lmethod) +file(GLOB DUMUX_POROUSMEDIUMFLOW_2P_SEQUENTIAL_DIFFUSION_MPFA_LMETHOD_HEADERS *.hh *.inc) +install(FILES ${DUMUX_POROUSMEDIUMFLOW_2P_SEQUENTIAL_DIFFUSION_MPFA_LMETHOD_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/2p/sequential/diffusion/mpfa/lmethod) diff --git a/dumux/porousmediumflow/2p/sequential/diffusion/mpfa/omethod/CMakeLists.txt b/dumux/porousmediumflow/2p/sequential/diffusion/mpfa/omethod/CMakeLists.txt index 520a0f412fd5f240e378dd0a76f7041d305af537..2d0104662abf96b3f7935b525a6a47c131da5c23 100644 --- a/dumux/porousmediumflow/2p/sequential/diffusion/mpfa/omethod/CMakeLists.txt +++ b/dumux/porousmediumflow/2p/sequential/diffusion/mpfa/omethod/CMakeLists.txt @@ -1,6 +1,3 @@ -install(FILES -2dpressure.hh -2dpressureproperties.hh -2dpressurevelocity.hh -2dvelocity.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/2p/sequential/diffusion/mpfa/omethod) +file(GLOB DUMUX_POROUSMEDIUMFLOW_2P_SEQUENTIAL_DIFFUSION_MPFA_OMETHOD_HEADERS *.hh *.inc) +install(FILES ${DUMUX_POROUSMEDIUMFLOW_2P_SEQUENTIAL_DIFFUSION_MPFA_OMETHOD_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/2p/sequential/diffusion/mpfa/omethod) diff --git a/dumux/porousmediumflow/2p/sequential/impes/CMakeLists.txt b/dumux/porousmediumflow/2p/sequential/impes/CMakeLists.txt index fe8706c5e368f65fcc5c1870c7020bd79cbb8be3..e1ba5d0a478a12006e63705d97d5d96000788fc8 100644 --- a/dumux/porousmediumflow/2p/sequential/impes/CMakeLists.txt +++ b/dumux/porousmediumflow/2p/sequential/impes/CMakeLists.txt @@ -1,7 +1,3 @@ -install(FILES -gridadaptionindicator.hh -gridadaptionindicatorlocal.hh -problem.hh -properties.hh -propertiesadaptive.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/2p/sequential/impes) +file(GLOB DUMUX_POROUSMEDIUMFLOW_2P_SEQUENTIAL_IMPES_HEADERS *.hh *.inc) +install(FILES ${DUMUX_POROUSMEDIUMFLOW_2P_SEQUENTIAL_IMPES_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/2p/sequential/impes) diff --git a/dumux/porousmediumflow/2p/sequential/transport/CMakeLists.txt b/dumux/porousmediumflow/2p/sequential/transport/CMakeLists.txt index c24bf025845d08d13b9c83658ab8465d19b5be44..127b8fa589738c8ac78aa387b71dbcf6f1d0de54 100644 --- a/dumux/porousmediumflow/2p/sequential/transport/CMakeLists.txt +++ b/dumux/porousmediumflow/2p/sequential/transport/CMakeLists.txt @@ -1,6 +1,5 @@ add_subdirectory(cellcentered) -install(FILES -problem.hh -properties.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/2p/sequential/transport) +file(GLOB DUMUX_POROUSMEDIUMFLOW_2P_SEQUENTIAL_TRANSPORT_HEADERS *.hh *.inc) +install(FILES ${DUMUX_POROUSMEDIUMFLOW_2P_SEQUENTIAL_TRANSPORT_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/2p/sequential/transport) diff --git a/dumux/porousmediumflow/2p/sequential/transport/cellcentered/CMakeLists.txt b/dumux/porousmediumflow/2p/sequential/transport/cellcentered/CMakeLists.txt index 67e8ace7667a9025422afd5846c38c19432f46a0..b45fccde1e58db49d445d34295ae391429a2b593 100644 --- a/dumux/porousmediumflow/2p/sequential/transport/cellcentered/CMakeLists.txt +++ b/dumux/porousmediumflow/2p/sequential/transport/cellcentered/CMakeLists.txt @@ -1,11 +1,3 @@ -install(FILES -capillarydiffusion.hh -convectivepart.hh -diffusivepart.hh -evalcflflux.hh -evalcflfluxcoats.hh -evalcflfluxdefault.hh -gravitypart.hh -properties.hh -saturation.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/2p/sequential/transport/cellcentered) +file(GLOB DUMUX_POROUSMEDIUMFLOW_2P_SEQUENTIAL_TRANSPORT_CELLCENTERED_HEADERS *.hh *.inc) +install(FILES ${DUMUX_POROUSMEDIUMFLOW_2P_SEQUENTIAL_TRANSPORT_CELLCENTERED_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/2p/sequential/transport/cellcentered) diff --git a/dumux/porousmediumflow/2p1c/CMakeLists.txt b/dumux/porousmediumflow/2p1c/CMakeLists.txt index ccae7bdedb25ef3437dcff05bebc6534b9efd9e3..ea92c0bcb8b16764b3725de4e9a2b2f558c63dd6 100644 --- a/dumux/porousmediumflow/2p1c/CMakeLists.txt +++ b/dumux/porousmediumflow/2p1c/CMakeLists.txt @@ -1,9 +1,3 @@ -install(FILES -darcyslaw.hh -indices.hh -iofields.hh -localresidual.hh -model.hh -primaryvariableswitch.hh -volumevariables.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/2p1c) +file(GLOB DUMUX_POROUSMEDIUMFLOW_2P1C_HEADERS *.hh *.inc) +install(FILES ${DUMUX_POROUSMEDIUMFLOW_2P1C_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/2p1c) diff --git a/dumux/porousmediumflow/2p2c/CMakeLists.txt b/dumux/porousmediumflow/2p2c/CMakeLists.txt index 26595092059a699f65ccefdefb8516d4a12d2cf9..a21c0a6dd41b73e591d9a08805c9d602f46146cb 100644 --- a/dumux/porousmediumflow/2p2c/CMakeLists.txt +++ b/dumux/porousmediumflow/2p2c/CMakeLists.txt @@ -1,6 +1,5 @@ add_subdirectory(sequential) -install(FILES -model.hh -volumevariables.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/2p2c) +file(GLOB DUMUX_POROUSMEDIUMFLOW_2P2C_HEADERS *.hh *.inc) +install(FILES ${DUMUX_POROUSMEDIUMFLOW_2P2C_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/2p2c) diff --git a/dumux/porousmediumflow/2p2c/sequential/CMakeLists.txt b/dumux/porousmediumflow/2p2c/sequential/CMakeLists.txt index 404e8333fee25dbad4449445154a8b2f5bd0f1c8..23bbbdeb5923e26a5de64e19e7d09ee0bcbb780d 100644 --- a/dumux/porousmediumflow/2p2c/sequential/CMakeLists.txt +++ b/dumux/porousmediumflow/2p2c/sequential/CMakeLists.txt @@ -1,20 +1,3 @@ -install(FILES -adaptiveproperties.hh -celldata.hh -celldataadaptive.hh -celldatamultiphysics.hh -fluxdata.hh -fv2dpressureadaptive.hh -fv2dtransportadaptive.hh -fv3dpressureadaptive.hh -fv3dtransportadaptive.hh -fvmpfal3dinteractionvolumecontaineradaptive.hh -fvpressure.hh -fvpressurecompositional.hh -fvpressuremultiphysics.hh -fvtransport.hh -fvtransportmultiphysics.hh -problem.hh -properties.hh -variableclassadaptive.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/2p2c/sequential) +file(GLOB DUMUX_POROUSMEDIUMFLOW_2P2C_SEQUENTIAL_HEADERS *.hh *.inc) +install(FILES ${DUMUX_POROUSMEDIUMFLOW_2P2C_SEQUENTIAL_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/2p2c/sequential) diff --git a/dumux/porousmediumflow/2pnc/CMakeLists.txt b/dumux/porousmediumflow/2pnc/CMakeLists.txt index 67e36948103202f5edc4255fee1af122b175764f..36a4387f4f765a484d707855705d90ed245461fe 100644 --- a/dumux/porousmediumflow/2pnc/CMakeLists.txt +++ b/dumux/porousmediumflow/2pnc/CMakeLists.txt @@ -1,7 +1,3 @@ -install(FILES -indices.hh -iofields.hh -model.hh -primaryvariableswitch.hh -volumevariables.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/2pnc) +file(GLOB DUMUX_POROUSMEDIUMFLOW_2PNC_HEADERS *.hh *.inc) +install(FILES ${DUMUX_POROUSMEDIUMFLOW_2PNC_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/2pnc) diff --git a/dumux/porousmediumflow/2pncmin/CMakeLists.txt b/dumux/porousmediumflow/2pncmin/CMakeLists.txt index 93ab4fa2aaba436e15f1662e5f9a795d2434771a..414277db1a5159cb06898184d3d4cb13a2556a12 100644 --- a/dumux/porousmediumflow/2pncmin/CMakeLists.txt +++ b/dumux/porousmediumflow/2pncmin/CMakeLists.txt @@ -1,3 +1,3 @@ -install(FILES -model.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/2pncmin) +file(GLOB DUMUX_POROUSMEDIUMFLOW_2PNCMIN_HEADERS *.hh *.inc) +install(FILES ${DUMUX_POROUSMEDIUMFLOW_2PNCMIN_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/2pncmin) diff --git a/dumux/porousmediumflow/3p/CMakeLists.txt b/dumux/porousmediumflow/3p/CMakeLists.txt index 83105dc55635a8c6b4287e20b867b7b6f79ff296..cb414870655583e08db19c5dba35f63925fc0ef1 100644 --- a/dumux/porousmediumflow/3p/CMakeLists.txt +++ b/dumux/porousmediumflow/3p/CMakeLists.txt @@ -1,6 +1,3 @@ -install(FILES -indices.hh -iofields.hh -model.hh -volumevariables.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/3p) +file(GLOB DUMUX_POROUSMEDIUMFLOW_3P_HEADERS *.hh *.inc) +install(FILES ${DUMUX_POROUSMEDIUMFLOW_3P_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/3p) diff --git a/dumux/porousmediumflow/3p3c/CMakeLists.txt b/dumux/porousmediumflow/3p3c/CMakeLists.txt index 619b9b12563f33541d5b3fd0eea0d8249bc2a65f..0db9a0e9f6f481054a79be06ac05ced855be30d8 100644 --- a/dumux/porousmediumflow/3p3c/CMakeLists.txt +++ b/dumux/porousmediumflow/3p3c/CMakeLists.txt @@ -1,8 +1,3 @@ -install(FILES -indices.hh -iofields.hh -localresidual.hh -model.hh -primaryvariableswitch.hh -volumevariables.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/3p3c) +file(GLOB DUMUX_POROUSMEDIUMFLOW_3P3C_HEADERS *.hh *.inc) +install(FILES ${DUMUX_POROUSMEDIUMFLOW_3P3C_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/3p3c) diff --git a/dumux/porousmediumflow/3pwateroil/CMakeLists.txt b/dumux/porousmediumflow/3pwateroil/CMakeLists.txt index 978dcc77935d4bb533229f6a329e85f716edfec7..db48ef9d6d9c23ad1b9769f7e3635fe71ff41183 100644 --- a/dumux/porousmediumflow/3pwateroil/CMakeLists.txt +++ b/dumux/porousmediumflow/3pwateroil/CMakeLists.txt @@ -1,8 +1,3 @@ -install(FILES -indices.hh -iofields.hh -localresidual.hh -model.hh -primaryvariableswitch.hh -volumevariables.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/3pwateroil) +file(GLOB DUMUX_POROUSMEDIUMFLOW_3PWATEROIL_HEADERS *.hh *.inc) +install(FILES ${DUMUX_POROUSMEDIUMFLOW_3PWATEROIL_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/3pwateroil) diff --git a/dumux/porousmediumflow/CMakeLists.txt b/dumux/porousmediumflow/CMakeLists.txt index 8d2b967a517ccb37ffdb6f55dccf0ed54762ace7..91a5144b9a9454db3b5fb91f3f8261390348d37f 100644 --- a/dumux/porousmediumflow/CMakeLists.txt +++ b/dumux/porousmediumflow/CMakeLists.txt @@ -23,13 +23,6 @@ add_subdirectory(sequential) add_subdirectory(solidenergy) add_subdirectory(tracer) -install(FILES -fluxvariables.hh -fluxvariablescache.hh -fluxvariablescachefiller.hh -problem.hh -properties.hh -velocity.hh -velocityoutput.hh -volumevariables.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow) +file(GLOB DUMUX_POROUSMEDIUMFLOW_HEADERS *.hh *.inc) +install(FILES ${DUMUX_POROUSMEDIUMFLOW_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow) diff --git a/dumux/porousmediumflow/boxdfm/CMakeLists.txt b/dumux/porousmediumflow/boxdfm/CMakeLists.txt index 25b70289f4f978b14bdec4143664fd551487ca5e..2f723e77e46baac8e4975b72309389b36a09e96f 100644 --- a/dumux/porousmediumflow/boxdfm/CMakeLists.txt +++ b/dumux/porousmediumflow/boxdfm/CMakeLists.txt @@ -1,10 +1,3 @@ -install(FILES -fluxvariablescache.hh -fvelementgeometry.hh -fvgridgeometry.hh -geometryhelper.hh -model.hh -subcontrolvolume.hh -subcontrolvolumeface.hh -vtkoutputmodule.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/boxdfm) +file(GLOB DUMUX_POROUSMEDIUMFLOW_BOXDFM_HEADERS *.hh *.inc) +install(FILES ${DUMUX_POROUSMEDIUMFLOW_BOXDFM_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/boxdfm) diff --git a/dumux/porousmediumflow/co2/CMakeLists.txt b/dumux/porousmediumflow/co2/CMakeLists.txt index 6427604a775ba2e136face40897b4f98683ddc02..3abd75923a757b9391fedd3607132ebfe1219f3f 100644 --- a/dumux/porousmediumflow/co2/CMakeLists.txt +++ b/dumux/porousmediumflow/co2/CMakeLists.txt @@ -1,5 +1,3 @@ -install(FILES -model.hh -primaryvariableswitch.hh -volumevariables.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/co2) +file(GLOB DUMUX_POROUSMEDIUMFLOW_CO2_HEADERS *.hh *.inc) +install(FILES ${DUMUX_POROUSMEDIUMFLOW_CO2_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/co2) diff --git a/dumux/porousmediumflow/compositional/CMakeLists.txt b/dumux/porousmediumflow/compositional/CMakeLists.txt index 47480589f7e5093ac80e97fdd0bbddf16dc40782..e556a0afd9ae82454a03c25529ece190b5b26bbe 100644 --- a/dumux/porousmediumflow/compositional/CMakeLists.txt +++ b/dumux/porousmediumflow/compositional/CMakeLists.txt @@ -1,5 +1,3 @@ -install(FILES -localresidual.hh -primaryvariableswitch.hh -switchableprimaryvariables.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/compositional) +file(GLOB DUMUX_POROUSMEDIUMFLOW_COMPOSITIONAL_HEADERS *.hh *.inc) +install(FILES ${DUMUX_POROUSMEDIUMFLOW_COMPOSITIONAL_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/compositional) diff --git a/dumux/porousmediumflow/immiscible/CMakeLists.txt b/dumux/porousmediumflow/immiscible/CMakeLists.txt index 192e7955c6e66f742d5ccdee1718cbc1d9979069..2057c90042328df6de788d5ee7ed4a9af8f8ef3a 100644 --- a/dumux/porousmediumflow/immiscible/CMakeLists.txt +++ b/dumux/porousmediumflow/immiscible/CMakeLists.txt @@ -1,3 +1,3 @@ -install(FILES -localresidual.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/immiscible) +file(GLOB DUMUX_POROUSMEDIUMFLOW_IMMISCIBLE_HEADERS *.hh *.inc) +install(FILES ${DUMUX_POROUSMEDIUMFLOW_IMMISCIBLE_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/immiscible) diff --git a/dumux/porousmediumflow/mineralization/CMakeLists.txt b/dumux/porousmediumflow/mineralization/CMakeLists.txt index 81deb3367656da618d32bc772c8cc410fbc1bb62..4fd7bd2dca6a8100dc0be9c7222c5e4a1fe261ef 100644 --- a/dumux/porousmediumflow/mineralization/CMakeLists.txt +++ b/dumux/porousmediumflow/mineralization/CMakeLists.txt @@ -1,6 +1,3 @@ -install(FILES -iofields.hh -localresidual.hh -model.hh -volumevariables.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/mineralization) +file(GLOB DUMUX_POROUSMEDIUMFLOW_MINERALIZATION_HEADERS *.hh *.inc) +install(FILES ${DUMUX_POROUSMEDIUMFLOW_MINERALIZATION_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/mineralization) diff --git a/dumux/porousmediumflow/mpnc/CMakeLists.txt b/dumux/porousmediumflow/mpnc/CMakeLists.txt index 9b1f704935b57978f7cd8c13a4a332fb9d430bdf..456e7e27342e791097f228de7ac752c009cb74a6 100644 --- a/dumux/porousmediumflow/mpnc/CMakeLists.txt +++ b/dumux/porousmediumflow/mpnc/CMakeLists.txt @@ -1,8 +1,3 @@ -install(FILES -indices.hh -iofields.hh -localresidual.hh -model.hh -pressureformulation.hh -volumevariables.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/mpnc) +file(GLOB DUMUX_POROUSMEDIUMFLOW_MPNC_HEADERS *.hh *.inc) +install(FILES ${DUMUX_POROUSMEDIUMFLOW_MPNC_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/mpnc) diff --git a/dumux/porousmediumflow/nonequilibrium/CMakeLists.txt b/dumux/porousmediumflow/nonequilibrium/CMakeLists.txt index a6d7048296d774b213ca86823f6cc9f39324e52f..fc95a79d02a384965fb474d958d14522db4e2e7e 100644 --- a/dumux/porousmediumflow/nonequilibrium/CMakeLists.txt +++ b/dumux/porousmediumflow/nonequilibrium/CMakeLists.txt @@ -1,11 +1,5 @@ add_subdirectory(thermal) -install(FILES -gridvariables.hh -indices.hh -iofields.hh -localresidual.hh -model.hh -newtonsolver.hh -volumevariables.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/nonequilibrium) +file(GLOB DUMUX_POROUSMEDIUMFLOW_NONEQUILIBRIUM_HEADERS *.hh *.inc) +install(FILES ${DUMUX_POROUSMEDIUMFLOW_NONEQUILIBRIUM_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/nonequilibrium) diff --git a/dumux/porousmediumflow/nonequilibrium/thermal/CMakeLists.txt b/dumux/porousmediumflow/nonequilibrium/thermal/CMakeLists.txt index c471edbd661ff37b75a767a8919e5e22705da2db..89e4369e45db49be25cae680607b9f4ee67f8cee 100644 --- a/dumux/porousmediumflow/nonequilibrium/thermal/CMakeLists.txt +++ b/dumux/porousmediumflow/nonequilibrium/thermal/CMakeLists.txt @@ -1,3 +1,3 @@ -install(FILES -localresidual.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/nonequilibrium/thermal) +file(GLOB DUMUX_POROUSMEDIUMFLOW_NONEQUILIBRIUM_THERMAL_HEADERS *.hh *.inc) +install(FILES ${DUMUX_POROUSMEDIUMFLOW_NONEQUILIBRIUM_THERMAL_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/nonequilibrium/thermal) diff --git a/dumux/porousmediumflow/nonisothermal/CMakeLists.txt b/dumux/porousmediumflow/nonisothermal/CMakeLists.txt index 24dc71bd458be782c29a4934952dbb8da06dcd4d..5032dc0acdf31823f09cd74911ffe34b5d0fb3a8 100644 --- a/dumux/porousmediumflow/nonisothermal/CMakeLists.txt +++ b/dumux/porousmediumflow/nonisothermal/CMakeLists.txt @@ -1,7 +1,3 @@ -install(FILES -indices.hh -iofields.hh -localresidual.hh -model.hh -volumevariables.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/nonisothermal) +file(GLOB DUMUX_POROUSMEDIUMFLOW_NONISOTHERMAL_HEADERS *.hh *.inc) +install(FILES ${DUMUX_POROUSMEDIUMFLOW_NONISOTHERMAL_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/nonisothermal) diff --git a/dumux/porousmediumflow/richards/CMakeLists.txt b/dumux/porousmediumflow/richards/CMakeLists.txt index da07bb511a997fd78a7a1f16d8ab8fea7935f184..d692ad2b3b4779f3de2242bbfb2087954f3b1035 100644 --- a/dumux/porousmediumflow/richards/CMakeLists.txt +++ b/dumux/porousmediumflow/richards/CMakeLists.txt @@ -1,9 +1,3 @@ -install(FILES -indices.hh -iofields.hh -localresidual.hh -model.hh -newtonsolver.hh -primaryvariableswitch.hh -volumevariables.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/richards) +file(GLOB DUMUX_POROUSMEDIUMFLOW_RICHARDS_HEADERS *.hh *.inc) +install(FILES ${DUMUX_POROUSMEDIUMFLOW_RICHARDS_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/richards) diff --git a/dumux/porousmediumflow/richardsnc/CMakeLists.txt b/dumux/porousmediumflow/richardsnc/CMakeLists.txt index 5a1f727425907790dd7ec9d7036e05d149eb336c..dffd3a2509d4e42d4d7d3d7a456b563761139b4a 100644 --- a/dumux/porousmediumflow/richardsnc/CMakeLists.txt +++ b/dumux/porousmediumflow/richardsnc/CMakeLists.txt @@ -1,6 +1,3 @@ -install(FILES -indices.hh -iofields.hh -model.hh -volumevariables.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/richardsnc) +file(GLOB DUMUX_POROUSMEDIUMFLOW_RICHARDSNC_HEADERS *.hh *.inc) +install(FILES ${DUMUX_POROUSMEDIUMFLOW_RICHARDSNC_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/richardsnc) diff --git a/dumux/porousmediumflow/sequential/CMakeLists.txt b/dumux/porousmediumflow/sequential/CMakeLists.txt index cfa8da3536de936c6c69d0094e8a6975f9f5de57..0c41110ad0faca6bb45ed8173a399a208c5a4688 100644 --- a/dumux/porousmediumflow/sequential/CMakeLists.txt +++ b/dumux/porousmediumflow/sequential/CMakeLists.txt @@ -1,18 +1,6 @@ add_subdirectory(cellcentered) add_subdirectory(mimetic) -install(FILES -gridadapt.hh -gridadaptinitializationindicator.hh -gridadaptinitializationindicatordefault.hh -gridadaptproperties.hh -impet.hh -impetproblem.hh -impetproperties.hh -onemodelproblem.hh -pressureproperties.hh -properties.hh -transportproperties.hh -variableclass.hh -variableclassadaptive.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/sequential) +file(GLOB DUMUX_POROUSMEDIUMFLOW_SEQUENTIAL_HEADERS *.hh *.inc) +install(FILES ${DUMUX_POROUSMEDIUMFLOW_SEQUENTIAL_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/sequential) diff --git a/dumux/porousmediumflow/sequential/cellcentered/CMakeLists.txt b/dumux/porousmediumflow/sequential/cellcentered/CMakeLists.txt index 6bc707769ebd28a8fa9f79f3f68fdf154801d62c..f862e0b7456c7de55ea65408574158edd5c340d2 100644 --- a/dumux/porousmediumflow/sequential/cellcentered/CMakeLists.txt +++ b/dumux/porousmediumflow/sequential/cellcentered/CMakeLists.txt @@ -1,8 +1,5 @@ add_subdirectory(mpfa) -install(FILES -pressure.hh -transport.hh -velocity.hh -velocitydefault.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/sequential/cellcentered) +file(GLOB DUMUX_POROUSMEDIUMFLOW_SEQUENTIAL_CELLCENTERED_HEADERS *.hh *.inc) +install(FILES ${DUMUX_POROUSMEDIUMFLOW_SEQUENTIAL_CELLCENTERED_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/sequential/cellcentered) diff --git a/dumux/porousmediumflow/sequential/cellcentered/mpfa/CMakeLists.txt b/dumux/porousmediumflow/sequential/cellcentered/mpfa/CMakeLists.txt index 437022c50a38463cf3c4e6a5724a18ecbdfd6d83..f4ac89c9732d48baeae83b22d5cab21ca30e17c7 100644 --- a/dumux/porousmediumflow/sequential/cellcentered/mpfa/CMakeLists.txt +++ b/dumux/porousmediumflow/sequential/cellcentered/mpfa/CMakeLists.txt @@ -1,8 +1,3 @@ -install(FILES -linteractionvolume.hh -linteractionvolume3d.hh -linteractionvolume3dadaptive.hh -ointeractionvolume.hh -properties.hh -velocityintransport.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/sequential/cellcentered/mpfa) +file(GLOB DUMUX_POROUSMEDIUMFLOW_SEQUENTIAL_CELLCENTERED_MPFA_HEADERS *.hh *.inc) +install(FILES ${DUMUX_POROUSMEDIUMFLOW_SEQUENTIAL_CELLCENTERED_MPFA_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/sequential/cellcentered/mpfa) diff --git a/dumux/porousmediumflow/sequential/mimetic/CMakeLists.txt b/dumux/porousmediumflow/sequential/mimetic/CMakeLists.txt index 8446f4a5e298b750b95214222022c5855a9e4b48..c6a6dc215be96c6b8e39e0c712d2ed379b5f04e3 100644 --- a/dumux/porousmediumflow/sequential/mimetic/CMakeLists.txt +++ b/dumux/porousmediumflow/sequential/mimetic/CMakeLists.txt @@ -1,3 +1,3 @@ -install(FILES -properties.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/sequential/mimetic) +file(GLOB DUMUX_POROUSMEDIUMFLOW_SEQUENTIAL_MIMETIC_HEADERS *.hh *.inc) +install(FILES ${DUMUX_POROUSMEDIUMFLOW_SEQUENTIAL_MIMETIC_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/sequential/mimetic) diff --git a/dumux/porousmediumflow/solidenergy/CMakeLists.txt b/dumux/porousmediumflow/solidenergy/CMakeLists.txt index 9d66c27c2ab4655c36f80b36af3b7061646ae705..4ad52ef8ab3a70383a712f874eb0f642941b3709 100644 --- a/dumux/porousmediumflow/solidenergy/CMakeLists.txt +++ b/dumux/porousmediumflow/solidenergy/CMakeLists.txt @@ -1,5 +1,3 @@ -install(FILES -localresidual.hh -model.hh -volumevariables.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/solidenergy) +file(GLOB DUMUX_POROUSMEDIUMFLOW_SOLIDENERGY_HEADERS *.hh *.inc) +install(FILES ${DUMUX_POROUSMEDIUMFLOW_SOLIDENERGY_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/solidenergy) diff --git a/dumux/porousmediumflow/tracer/CMakeLists.txt b/dumux/porousmediumflow/tracer/CMakeLists.txt index 1514ba5e2a170506f4da7902cce9eec2e7f956c7..bd3bf2d20c8b5051ee4cbc4cc1b8ec445a501e31 100644 --- a/dumux/porousmediumflow/tracer/CMakeLists.txt +++ b/dumux/porousmediumflow/tracer/CMakeLists.txt @@ -1,7 +1,3 @@ -install(FILES -indices.hh -iofields.hh -localresidual.hh -model.hh -volumevariables.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/tracer) +file(GLOB DUMUX_POROUSMEDIUMFLOW_TRACER_HEADERS *.hh *.inc) +install(FILES ${DUMUX_POROUSMEDIUMFLOW_TRACER_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/tracer) diff --git a/dumux/python/common/CMakeLists.txt b/dumux/python/common/CMakeLists.txt index 19d092e5cc5cdd6502a833d3f00f9654cf6c82f2..6d3c6a71f6065f610a514d7c990a6a2c678edf7a 100644 --- a/dumux/python/common/CMakeLists.txt +++ b/dumux/python/common/CMakeLists.txt @@ -1,5 +1,3 @@ -install(FILES -boundarytypes.hh -fvproblem.hh -timeloop.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/python/common) +file(GLOB DUMUX_PYTHON_COMMON_HEADERS *.hh *.inc) +install(FILES ${DUMUX_PYTHON_COMMON_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/python/common) diff --git a/dumux/python/discretization/CMakeLists.txt b/dumux/python/discretization/CMakeLists.txt index efe5f30fb1b4cb2ddd6ba7a4dd6e3775ea611bc3..53a78c6a951c31d95883fb074f294905813dfa65 100644 --- a/dumux/python/discretization/CMakeLists.txt +++ b/dumux/python/discretization/CMakeLists.txt @@ -1,3 +1,3 @@ -install(FILES -gridgeometry.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/python/discretization) +file(GLOB DUMUX_PYTHON_DISCRETIZATION_HEADERS *.hh *.inc) +install(FILES ${DUMUX_PYTHON_DISCRETIZATION_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/python/discretization) diff --git a/dumux/timestepping/CMakeLists.txt b/dumux/timestepping/CMakeLists.txt index 3042828afc156e42db77dfeb89782c058eae6070..4e3e2074b85481b676e6b2aac26ab7dfb9ae2497 100644 --- a/dumux/timestepping/CMakeLists.txt +++ b/dumux/timestepping/CMakeLists.txt @@ -1,5 +1,3 @@ -install(FILES -timelevel.hh -multistagemethods.hh -multistagetimestepper.hh -DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/timestepping) +file(GLOB DUMUX_TIMESTEPPING_HEADERS *.hh *.inc) +install(FILES ${DUMUX_TIMESTEPPING_HEADERS} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/timestepping)