From e15662ef058f9f6f767fbdc5b5a534ba8a60073e Mon Sep 17 00:00:00 2001
From: Bernd Flemisch <bernd@iws.uni-stuttgart.de>
Date: Fri, 22 Jan 2016 15:39:28 +0100
Subject: [PATCH] [folder structure] adapt CMake infrastructure to the new
 folders and files

---
 dumux/CMakeLists.txt                          |  1 +
 dumux/freeflow/stokes/CMakeLists.txt          | 10 ++++++++
 dumux/freeflow/stokesnc/CMakeLists.txt        |  7 ++++++
 dumux/freeflow/stokesncni/CMakeLists.txt      |  7 ++++++
 dumux/freeflow/zeroeq/CMakeLists.txt          |  6 +++++
 dumux/freeflow/zeroeqnc/CMakeLists.txt        |  5 ++++
 dumux/freeflow/zeroeqncni/CMakeLists.txt      |  5 ++++
 dumux/geomechanics/el1p2c/CMakeLists.txt      |  9 +++++++
 dumux/geomechanics/el2p/CMakeLists.txt        | 14 +++++++++++
 dumux/geomechanics/elastic/CMakeLists.txt     |  7 ++++++
 dumux/implicit/CMakeLists.txt                 | 11 +++++++++
 dumux/implicit/box/CMakeLists.txt             |  7 ++++++
 dumux/implicit/cellcentered/CMakeLists.txt    |  7 ++++++
 dumux/implicit/cornerpoint/CMakeLists.txt     |  2 ++
 dumux/material/fluidstates/CMakeLists.txt     |  9 +++++++
 dumux/material/fluidsystems/CMakeLists.txt    | 14 +++++++++++
 dumux/material/spatialparams/CMakeLists.txt   |  4 ++++
 .../2cnistokes2p2cni/CMakeLists.txt           |  5 ++++
 dumux/multidomain/2cstokes2p2c/CMakeLists.txt |  6 +++++
 dumux/multidomain/CMakeLists.txt              | 16 +++++++++++++
 dumux/porousmediumflow/1p/CMakeLists.txt      |  2 ++
 .../1p/implicit/CMakeLists.txt                | 10 ++++++++
 .../1p/sequential/CMakeLists.txt              |  9 +++++++
 .../1p/sequential/diffusion/CMakeLists.txt    |  7 ++++++
 .../diffusion/cellcentered/CMakeLists.txt     |  9 +++++++
 dumux/porousmediumflow/1p2c/CMakeLists.txt    |  1 +
 .../1p2c/implicit/CMakeLists.txt              | 11 +++++++++
 dumux/porousmediumflow/2p/CMakeLists.txt      |  2 ++
 .../2p/implicit/CMakeLists.txt                | 11 +++++++++
 .../2p/sequential/CMakeLists.txt              | 12 ++++++++++
 .../2p/sequential/diffusion/CMakeLists.txt    |  9 +++++++
 .../diffusion/cellcentered/CMakeLists.txt     | 12 ++++++++++
 .../diffusion/mimetic/CMakeLists.txt          | 15 ++++++++++++
 .../sequential/diffusion/mpfa/CMakeLists.txt  |  2 ++
 .../diffusion/mpfa/lmethod/CMakeLists.txt     | 24 +++++++++++++++++++
 .../diffusion/mpfa/omethod/CMakeLists.txt     |  8 +++++++
 .../2p/sequential/impes/CMakeLists.txt        | 10 ++++++++
 .../2p/sequential/transport/CMakeLists.txt    |  7 ++++++
 .../transport/cellcentered/CMakeLists.txt     | 13 ++++++++++
 dumux/porousmediumflow/2p2c/CMakeLists.txt    |  2 ++
 .../2p2c/implicit/CMakeLists.txt              | 12 ++++++++++
 .../2p2c/sequential/CMakeLists.txt            | 24 +++++++++++++++++++
 dumux/porousmediumflow/2pdfm/CMakeLists.txt   |  1 +
 .../2pdfm/implicit/CMakeLists.txt             | 12 ++++++++++
 dumux/porousmediumflow/2pminc/CMakeLists.txt  |  1 +
 .../2pminc/implicit/CMakeLists.txt            | 11 +++++++++
 dumux/porousmediumflow/2pnc/CMakeLists.txt    |  1 +
 .../2pnc/implicit/CMakeLists.txt              | 12 ++++++++++
 dumux/porousmediumflow/2pncmin/CMakeLists.txt |  1 +
 .../2pncmin/implicit/CMakeLists.txt           | 11 +++++++++
 dumux/porousmediumflow/3p/CMakeLists.txt      |  1 +
 .../3p/implicit/CMakeLists.txt                | 10 ++++++++
 dumux/porousmediumflow/3p3c/CMakeLists.txt    |  1 +
 .../3p3c/implicit/CMakeLists.txt              | 12 ++++++++++
 dumux/porousmediumflow/CMakeLists.txt         | 16 +++++++++++++
 dumux/porousmediumflow/co2/CMakeLists.txt     |  1 +
 .../co2/implicit/CMakeLists.txt               |  6 +++++
 .../porousmediumflow/implicit/CMakeLists.txt  |  9 +++++++
 dumux/porousmediumflow/mpnc/CMakeLists.txt    |  1 +
 .../mpnc/implicit/CMakeLists.txt              | 24 +++++++++++++++++++
 .../mpnc/implicit/diffusion/CMakeLists.txt    |  7 ++++++
 .../mpnc/implicit/energy/CMakeLists.txt       | 14 +++++++++++
 .../mpnc/implicit/mass/CMakeLists.txt         | 12 ++++++++++
 .../nonisothermal/CMakeLists.txt              |  1 +
 .../nonisothermal/implicit/CMakeLists.txt     | 11 +++++++++
 .../porousmediumflow/richards/CMakeLists.txt  |  1 +
 .../richards/implicit/CMakeLists.txt          | 13 ++++++++++
 .../sequential/CMakeLists.txt                 | 19 +++++++++++++++
 .../sequential/cellcentered/CMakeLists.txt    |  9 +++++++
 .../cellcentered/mpfa/CMakeLists.txt          | 10 ++++++++
 .../sequential/mimetic/CMakeLists.txt         |  5 ++++
 71 files changed, 597 insertions(+)
 create mode 100644 dumux/porousmediumflow/1p/CMakeLists.txt
 create mode 100644 dumux/porousmediumflow/1p/implicit/CMakeLists.txt
 create mode 100644 dumux/porousmediumflow/1p/sequential/CMakeLists.txt
 create mode 100644 dumux/porousmediumflow/1p/sequential/diffusion/CMakeLists.txt
 create mode 100644 dumux/porousmediumflow/1p/sequential/diffusion/cellcentered/CMakeLists.txt
 create mode 100644 dumux/porousmediumflow/1p2c/CMakeLists.txt
 create mode 100644 dumux/porousmediumflow/1p2c/implicit/CMakeLists.txt
 create mode 100644 dumux/porousmediumflow/2p/CMakeLists.txt
 create mode 100644 dumux/porousmediumflow/2p/implicit/CMakeLists.txt
 create mode 100644 dumux/porousmediumflow/2p/sequential/CMakeLists.txt
 create mode 100644 dumux/porousmediumflow/2p/sequential/diffusion/CMakeLists.txt
 create mode 100644 dumux/porousmediumflow/2p/sequential/diffusion/cellcentered/CMakeLists.txt
 create mode 100644 dumux/porousmediumflow/2p/sequential/diffusion/mimetic/CMakeLists.txt
 create mode 100644 dumux/porousmediumflow/2p/sequential/diffusion/mpfa/CMakeLists.txt
 create mode 100644 dumux/porousmediumflow/2p/sequential/diffusion/mpfa/lmethod/CMakeLists.txt
 create mode 100644 dumux/porousmediumflow/2p/sequential/diffusion/mpfa/omethod/CMakeLists.txt
 create mode 100644 dumux/porousmediumflow/2p/sequential/impes/CMakeLists.txt
 create mode 100644 dumux/porousmediumflow/2p/sequential/transport/CMakeLists.txt
 create mode 100644 dumux/porousmediumflow/2p/sequential/transport/cellcentered/CMakeLists.txt
 create mode 100644 dumux/porousmediumflow/2p2c/CMakeLists.txt
 create mode 100644 dumux/porousmediumflow/2p2c/implicit/CMakeLists.txt
 create mode 100644 dumux/porousmediumflow/2p2c/sequential/CMakeLists.txt
 create mode 100644 dumux/porousmediumflow/2pdfm/CMakeLists.txt
 create mode 100644 dumux/porousmediumflow/2pdfm/implicit/CMakeLists.txt
 create mode 100644 dumux/porousmediumflow/2pminc/CMakeLists.txt
 create mode 100644 dumux/porousmediumflow/2pminc/implicit/CMakeLists.txt
 create mode 100644 dumux/porousmediumflow/2pnc/CMakeLists.txt
 create mode 100644 dumux/porousmediumflow/2pnc/implicit/CMakeLists.txt
 create mode 100644 dumux/porousmediumflow/2pncmin/CMakeLists.txt
 create mode 100644 dumux/porousmediumflow/2pncmin/implicit/CMakeLists.txt
 create mode 100644 dumux/porousmediumflow/3p/CMakeLists.txt
 create mode 100644 dumux/porousmediumflow/3p/implicit/CMakeLists.txt
 create mode 100644 dumux/porousmediumflow/3p3c/CMakeLists.txt
 create mode 100644 dumux/porousmediumflow/3p3c/implicit/CMakeLists.txt
 create mode 100644 dumux/porousmediumflow/CMakeLists.txt
 create mode 100644 dumux/porousmediumflow/co2/CMakeLists.txt
 create mode 100644 dumux/porousmediumflow/co2/implicit/CMakeLists.txt
 create mode 100644 dumux/porousmediumflow/implicit/CMakeLists.txt
 create mode 100644 dumux/porousmediumflow/mpnc/CMakeLists.txt
 create mode 100644 dumux/porousmediumflow/mpnc/implicit/CMakeLists.txt
 create mode 100644 dumux/porousmediumflow/mpnc/implicit/diffusion/CMakeLists.txt
 create mode 100644 dumux/porousmediumflow/mpnc/implicit/energy/CMakeLists.txt
 create mode 100644 dumux/porousmediumflow/mpnc/implicit/mass/CMakeLists.txt
 create mode 100644 dumux/porousmediumflow/nonisothermal/CMakeLists.txt
 create mode 100644 dumux/porousmediumflow/nonisothermal/implicit/CMakeLists.txt
 create mode 100644 dumux/porousmediumflow/richards/CMakeLists.txt
 create mode 100644 dumux/porousmediumflow/richards/implicit/CMakeLists.txt
 create mode 100644 dumux/porousmediumflow/sequential/CMakeLists.txt
 create mode 100644 dumux/porousmediumflow/sequential/cellcentered/CMakeLists.txt
 create mode 100644 dumux/porousmediumflow/sequential/cellcentered/mpfa/CMakeLists.txt
 create mode 100644 dumux/porousmediumflow/sequential/mimetic/CMakeLists.txt

diff --git a/dumux/CMakeLists.txt b/dumux/CMakeLists.txt
index cea65f968e..93fa9f1ffe 100644
--- a/dumux/CMakeLists.txt
+++ b/dumux/CMakeLists.txt
@@ -9,3 +9,4 @@ add_subdirectory("material")
 add_subdirectory("multidomain")
 add_subdirectory("nonlinear")
 add_subdirectory("parallel")
+add_subdirectory("porousmediumflow")
diff --git a/dumux/freeflow/stokes/CMakeLists.txt b/dumux/freeflow/stokes/CMakeLists.txt
index b96104c63a..99e79cdc33 100644
--- a/dumux/freeflow/stokes/CMakeLists.txt
+++ b/dumux/freeflow/stokes/CMakeLists.txt
@@ -11,4 +11,14 @@ stokesproblem.hh
 stokesproperties.hh
 stokespropertydefaults.hh
 stokesvolumevariables.hh
+fluxvariables.hh
+indices.hh
+localjacobian.hh
+localresidual.hh
+model.hh
+newtoncontroller.hh
+problem.hh
+properties.hh
+propertydefaults.hh
+volumevariables.hh
 DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/freeflow/stokes)
diff --git a/dumux/freeflow/stokesnc/CMakeLists.txt b/dumux/freeflow/stokesnc/CMakeLists.txt
index b6464e1ede..7f9e9abc59 100644
--- a/dumux/freeflow/stokesnc/CMakeLists.txt
+++ b/dumux/freeflow/stokesnc/CMakeLists.txt
@@ -8,4 +8,11 @@ stokesncmodel.hh
 stokesncproperties.hh
 stokesncpropertydefaults.hh
 stokesncvolumevariables.hh
+fluxvariables.hh
+indices.hh
+localresidual.hh
+model.hh
+properties.hh
+propertydefaults.hh
+volumevariables.hh
 DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/freeflow/stokesnc)
diff --git a/dumux/freeflow/stokesncni/CMakeLists.txt b/dumux/freeflow/stokesncni/CMakeLists.txt
index 85940da0af..374121643b 100644
--- a/dumux/freeflow/stokesncni/CMakeLists.txt
+++ b/dumux/freeflow/stokesncni/CMakeLists.txt
@@ -8,4 +8,11 @@ stokesncnimodel.hh
 stokesncniproperties.hh
 stokesncnipropertydefaults.hh
 stokesncnivolumevariables.hh
+fluxvariables.hh
+indices.hh
+localresidual.hh
+model.hh
+properties.hh
+propertydefaults.hh
+volumevariables.hh
 DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/freeflow/stokesncni)
diff --git a/dumux/freeflow/zeroeq/CMakeLists.txt b/dumux/freeflow/zeroeq/CMakeLists.txt
index 224bc4a800..cb4ec38429 100644
--- a/dumux/freeflow/zeroeq/CMakeLists.txt
+++ b/dumux/freeflow/zeroeq/CMakeLists.txt
@@ -7,4 +7,10 @@ zeroeqmodel.hh
 zeroeqproblem.hh
 zeroeqproperties.hh
 zeroeqpropertydefaults.hh
+fluxvariables.hh
+indices.hh
+model.hh
+problem.hh
+properties.hh
+propertydefaults.hh
 DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/freeflow/zeroeq)
diff --git a/dumux/freeflow/zeroeqnc/CMakeLists.txt b/dumux/freeflow/zeroeqnc/CMakeLists.txt
index 09cf4905b4..9d63c29e5a 100644
--- a/dumux/freeflow/zeroeqnc/CMakeLists.txt
+++ b/dumux/freeflow/zeroeqnc/CMakeLists.txt
@@ -6,4 +6,9 @@ zeroeqncindices.hh
 zeroeqncmodel.hh
 zeroeqncproperties.hh
 zeroeqncpropertydefaults.hh
+fluxvariables.hh
+indices.hh
+model.hh
+properties.hh
+propertydefaults.hh
 DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/freeflow/zeroeqnc)
diff --git a/dumux/freeflow/zeroeqncni/CMakeLists.txt b/dumux/freeflow/zeroeqncni/CMakeLists.txt
index c79a507982..8bdfc1ed7a 100644
--- a/dumux/freeflow/zeroeqncni/CMakeLists.txt
+++ b/dumux/freeflow/zeroeqncni/CMakeLists.txt
@@ -6,4 +6,9 @@ zeroeqncniindices.hh
 zeroeqncnimodel.hh
 zeroeqncniproperties.hh
 zeroeqncnipropertydefaults.hh
+fluxvariables.hh
+indices.hh
+model.hh
+properties.hh
+propertydefaults.hh
 DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/freeflow/zeroeqncni)
diff --git a/dumux/geomechanics/el1p2c/CMakeLists.txt b/dumux/geomechanics/el1p2c/CMakeLists.txt
index d7bd40c6c2..d6d37d0ed7 100644
--- a/dumux/geomechanics/el1p2c/CMakeLists.txt
+++ b/dumux/geomechanics/el1p2c/CMakeLists.txt
@@ -10,4 +10,13 @@ el1p2cmodel.hh
 el1p2cproperties.hh
 el1p2cpropertydefaults.hh
 el1p2cvolumevariables.hh
+elementvolumevariables.hh
+fluxvariables.hh
+indices.hh
+localjacobian.hh
+localresidual.hh
+model.hh
+properties.hh
+propertydefaults.hh
+volumevariables.hh
 DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/geomechanics/el1p2c)
diff --git a/dumux/geomechanics/el2p/CMakeLists.txt b/dumux/geomechanics/el2p/CMakeLists.txt
index 33c7b32658..08e1adee28 100644
--- a/dumux/geomechanics/el2p/CMakeLists.txt
+++ b/dumux/geomechanics/el2p/CMakeLists.txt
@@ -15,4 +15,18 @@ el2pnewtoncontroller.hh
 el2pproperties.hh
 el2ppropertydefaults.hh
 el2pvolumevariables.hh
+amgbackend.hh
+assembler.hh
+basemodel.hh
+elementvolumevariables.hh
+fluxvariables.hh
+indices.hh
+localjacobian.hh
+localoperator.hh
+localresidual.hh
+model.hh
+newtoncontroller.hh
+properties.hh
+propertydefaults.hh
+volumevariables.hh
 DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/geomechanics/el2p)
diff --git a/dumux/geomechanics/elastic/CMakeLists.txt b/dumux/geomechanics/elastic/CMakeLists.txt
index 35f2a237cf..a0c57de975 100644
--- a/dumux/geomechanics/elastic/CMakeLists.txt
+++ b/dumux/geomechanics/elastic/CMakeLists.txt
@@ -8,4 +8,11 @@ elasticmodel.hh
 elasticproperties.hh
 elasticpropertydefaults.hh
 elasticvolumevariables.hh
+fluxvariables.hh
+indices.hh
+localresidual.hh
+model.hh
+properties.hh
+propertydefaults.hh
+volumevariables.hh
 DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/geomechanics/elastic)
diff --git a/dumux/implicit/CMakeLists.txt b/dumux/implicit/CMakeLists.txt
index 1174c381c3..31220fe854 100644
--- a/dumux/implicit/CMakeLists.txt
+++ b/dumux/implicit/CMakeLists.txt
@@ -16,3 +16,14 @@ add_subdirectory("cornerpoint")
 add_subdirectory("mpnc")
 add_subdirectory("nonisothermal")
 add_subdirectory("richards")
+
+install(FILES
+assembler.hh
+localjacobian.hh
+localresidual.hh
+model.hh
+problem.hh
+properties.hh
+propertydefaults.hh
+volumevariables.hh
+DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/implicit)
diff --git a/dumux/implicit/box/CMakeLists.txt b/dumux/implicit/box/CMakeLists.txt
index 88df3ab60f..0ae61da891 100644
--- a/dumux/implicit/box/CMakeLists.txt
+++ b/dumux/implicit/box/CMakeLists.txt
@@ -9,4 +9,11 @@ boxlocalresidual.hh
 boxproperties.hh
 boxpropertydefaults.hh
 intersectiontovertexbc.hh
+assembler.hh
+elementboundarytypes.hh
+elementvolumevariables.hh
+fvelementgeometry.hh
+localresidual.hh
+properties.hh
+propertydefaults.hh
 DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/implicit/box)
diff --git a/dumux/implicit/cellcentered/CMakeLists.txt b/dumux/implicit/cellcentered/CMakeLists.txt
index b66b9d4779..4cc6fcf10f 100644
--- a/dumux/implicit/cellcentered/CMakeLists.txt
+++ b/dumux/implicit/cellcentered/CMakeLists.txt
@@ -8,4 +8,11 @@ ccfvelementgeometry.hh
 cclocalresidual.hh
 ccproperties.hh
 ccpropertydefaults.hh
+assembler.hh
+elementboundarytypes.hh
+elementvolumevariables.hh
+fvelementgeometry.hh
+localresidual.hh
+properties.hh
+propertydefaults.hh
 DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/implicit/cellcentered)
diff --git a/dumux/implicit/cornerpoint/CMakeLists.txt b/dumux/implicit/cornerpoint/CMakeLists.txt
index 209d1bfcd9..9914aaab30 100644
--- a/dumux/implicit/cornerpoint/CMakeLists.txt
+++ b/dumux/implicit/cornerpoint/CMakeLists.txt
@@ -4,4 +4,6 @@ install(FILES
 cpdarcyfluxvariables.hh
 cpelementvolumevariables.hh
 cpfvelementgeometry.hh
+elementvolumevariables.hh
+fvelementgeometry.hh
 DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/implicit/cornerpoint)
diff --git a/dumux/material/fluidstates/CMakeLists.txt b/dumux/material/fluidstates/CMakeLists.txt
index 51270c30ff..04917873a8 100644
--- a/dumux/material/fluidstates/CMakeLists.txt
+++ b/dumux/material/fluidstates/CMakeLists.txt
@@ -10,4 +10,13 @@ nonequilibriummassfluidstate.hh
 pressureoverlayfluidstate.hh
 saturationoverlayfluidstate.hh
 temperatureoverlayfluidstate.hh
+compositional.hh
+immiscible.hh
+isothermalimmiscible.hh
+nonequilibriumenergy.hh
+nonequilibrium.hh
+nonequilibriummass.hh
+pressureoverlay.hh
+saturationoverlay.hh
+temperatureoverlay.hh
 DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/material/fluidstates)
diff --git a/dumux/material/fluidsystems/CMakeLists.txt b/dumux/material/fluidsystems/CMakeLists.txt
index 14b48aceee..75a8c105dc 100644
--- a/dumux/material/fluidsystems/CMakeLists.txt
+++ b/dumux/material/fluidsystems/CMakeLists.txt
@@ -21,4 +21,18 @@ parametercachebase.hh
 purewatersimplefluidsystem.hh
 spe5fluidsystem.hh
 spe5parametercache.hh
+1p.hh
+2pimmiscible.hh
+base.hh
+brineair.hh
+brineco2.hh
+h2oair.hh
+h2oairmesitylene.hh
+h2oairxylene.hh
+h2on2.hh
+h2on2kinetic.hh
+h2on2liquidphase.hh
+h2on2o2.hh
+purewatersimple.hh
+spe5.hh
 DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/material/fluidsystems)
diff --git a/dumux/material/spatialparams/CMakeLists.txt b/dumux/material/spatialparams/CMakeLists.txt
index 174eed4f3e..54cdaabf19 100644
--- a/dumux/material/spatialparams/CMakeLists.txt
+++ b/dumux/material/spatialparams/CMakeLists.txt
@@ -5,4 +5,8 @@ fvspatialparams1p.hh
 fvspatialparams.hh
 implicitspatialparams1p.hh
 implicitspatialparams.hh
+fv1p.hh
+fv.hh
+implicit1p.hh
+implicit.hh
 DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/material/spatialparams)
diff --git a/dumux/multidomain/2cnistokes2p2cni/CMakeLists.txt b/dumux/multidomain/2cnistokes2p2cni/CMakeLists.txt
index f457f562ca..49749c8c94 100644
--- a/dumux/multidomain/2cnistokes2p2cni/CMakeLists.txt
+++ b/dumux/multidomain/2cnistokes2p2cni/CMakeLists.txt
@@ -4,4 +4,9 @@ install(FILES
 2cnistokes2p2cnilocaloperator.hh
 2cnistokes2p2cniproperties.hh
 2cnistokes2p2cnipropertydefaults.hh
+localoperator.hh
+properties.hh
+propertydefaults.hh
+2p2cnicouplinglocalresidual.hh
+stokesncnicouplinglocalresidual.hh
 DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/multidomain/2cnistokes2p2cni)
diff --git a/dumux/multidomain/2cstokes2p2c/CMakeLists.txt b/dumux/multidomain/2cstokes2p2c/CMakeLists.txt
index 389ad3eb26..66a70d64c1 100644
--- a/dumux/multidomain/2cstokes2p2c/CMakeLists.txt
+++ b/dumux/multidomain/2cstokes2p2c/CMakeLists.txt
@@ -5,4 +5,10 @@ install(FILES
 2cstokes2p2cnewtoncontroller.hh
 2cstokes2p2cproperties.hh
 2cstokes2p2cpropertydefaults.hh
+localoperator.hh
+newtoncontroller.hh
+properties.hh
+propertydefaults.hh
+2p2ccouplinglocalresidual.hh
+stokesnccouplinglocalresidual.hh
 DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/multidomain/2cstokes2p2c)
diff --git a/dumux/multidomain/CMakeLists.txt b/dumux/multidomain/CMakeLists.txt
index b69fdd3148..78568b4364 100644
--- a/dumux/multidomain/CMakeLists.txt
+++ b/dumux/multidomain/CMakeLists.txt
@@ -2,3 +2,19 @@ add_subdirectory("2cnistokes2p2cni")
 add_subdirectory("2cstokes2p2c")
 add_subdirectory("common")
 add_subdirectory("couplinglocalresiduals")
+
+#install headers
+install(FILES
+assembler.hh
+boxcouplinglocalresidual.hh
+convergencewriter.hh
+localoperator.hh
+model.hh
+newtoncontroller.hh
+problem.hh
+properties.hh
+propertydefaults.hh
+splitandmerge.hh
+subdomainproperties.hh
+subdomainpropertydefaults.hh
+DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/multidomain)
diff --git a/dumux/porousmediumflow/1p/CMakeLists.txt b/dumux/porousmediumflow/1p/CMakeLists.txt
new file mode 100644
index 0000000000..fffa571735
--- /dev/null
+++ b/dumux/porousmediumflow/1p/CMakeLists.txt
@@ -0,0 +1,2 @@
+add_subdirectory("implicit")
+add_subdirectory("sequential")
diff --git a/dumux/porousmediumflow/1p/implicit/CMakeLists.txt b/dumux/porousmediumflow/1p/implicit/CMakeLists.txt
new file mode 100644
index 0000000000..8baf812d98
--- /dev/null
+++ b/dumux/porousmediumflow/1p/implicit/CMakeLists.txt
@@ -0,0 +1,10 @@
+
+#install headers
+install(FILES
+indices.hh
+localresidual.hh
+model.hh
+properties.hh
+propertydefaults.hh
+volumevariables.hh
+DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/1p/implicit)
diff --git a/dumux/porousmediumflow/1p/sequential/CMakeLists.txt b/dumux/porousmediumflow/1p/sequential/CMakeLists.txt
new file mode 100644
index 0000000000..f32fc9ec4d
--- /dev/null
+++ b/dumux/porousmediumflow/1p/sequential/CMakeLists.txt
@@ -0,0 +1,9 @@
+add_subdirectory("diffusion")
+
+#install headers
+install(FILES
+indices.hh
+properties.hh
+celldata.hh
+fluxdata.hh
+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
new file mode 100644
index 0000000000..0e54cefb8b
--- /dev/null
+++ b/dumux/porousmediumflow/1p/sequential/diffusion/CMakeLists.txt
@@ -0,0 +1,7 @@
+add_subdirectory("cellcentered")
+
+#install headers
+install(FILES
+problem.hh
+properties.hh
+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
new file mode 100644
index 0000000000..1d7b40451f
--- /dev/null
+++ b/dumux/porousmediumflow/1p/sequential/diffusion/cellcentered/CMakeLists.txt
@@ -0,0 +1,9 @@
+
+#install headers
+install(FILES
+pressure.hh
+pressureproperties.hh
+pressurevelocity.hh
+pressurevelocityproperties.hh
+velocity.hh
+DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/1p/sequential/diffusion/cellcentered)
diff --git a/dumux/porousmediumflow/1p2c/CMakeLists.txt b/dumux/porousmediumflow/1p2c/CMakeLists.txt
new file mode 100644
index 0000000000..ba8341c614
--- /dev/null
+++ b/dumux/porousmediumflow/1p2c/CMakeLists.txt
@@ -0,0 +1 @@
+add_subdirectory("implicit")
diff --git a/dumux/porousmediumflow/1p2c/implicit/CMakeLists.txt b/dumux/porousmediumflow/1p2c/implicit/CMakeLists.txt
new file mode 100644
index 0000000000..351b07833c
--- /dev/null
+++ b/dumux/porousmediumflow/1p2c/implicit/CMakeLists.txt
@@ -0,0 +1,11 @@
+
+#install headers
+install(FILES
+fluxvariables.hh
+indices.hh
+localresidual.hh
+model.hh
+properties.hh
+propertydefaults.hh
+volumevariables.hh
+DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/1p2c/implicit)
diff --git a/dumux/porousmediumflow/2p/CMakeLists.txt b/dumux/porousmediumflow/2p/CMakeLists.txt
new file mode 100644
index 0000000000..fffa571735
--- /dev/null
+++ b/dumux/porousmediumflow/2p/CMakeLists.txt
@@ -0,0 +1,2 @@
+add_subdirectory("implicit")
+add_subdirectory("sequential")
diff --git a/dumux/porousmediumflow/2p/implicit/CMakeLists.txt b/dumux/porousmediumflow/2p/implicit/CMakeLists.txt
new file mode 100644
index 0000000000..14092df9d3
--- /dev/null
+++ b/dumux/porousmediumflow/2p/implicit/CMakeLists.txt
@@ -0,0 +1,11 @@
+
+#install headers
+install(FILES
+gridadaptindicator.hh
+indices.hh
+localresidual.hh
+model.hh
+properties.hh
+propertydefaults.hh
+volumevariables.hh
+DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/2p/implicit)
diff --git a/dumux/porousmediumflow/2p/sequential/CMakeLists.txt b/dumux/porousmediumflow/2p/sequential/CMakeLists.txt
new file mode 100644
index 0000000000..e45b9d4134
--- /dev/null
+++ b/dumux/porousmediumflow/2p/sequential/CMakeLists.txt
@@ -0,0 +1,12 @@
+add_subdirectory("diffusion")
+add_subdirectory("impes")
+add_subdirectory("transport")
+
+#install headers
+install(FILES
+indices.hh
+properties.hh
+celldataadaptive.hh
+celldata.hh
+fluxdata.hh
+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
new file mode 100644
index 0000000000..9e28061579
--- /dev/null
+++ b/dumux/porousmediumflow/2p/sequential/diffusion/CMakeLists.txt
@@ -0,0 +1,9 @@
+add_subdirectory("cellcentered")
+add_subdirectory("mpfa")
+add_subdirectory("mimetic")
+
+#install headers
+install(FILES
+problem.hh
+properties.hh
+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
new file mode 100644
index 0000000000..49859e0513
--- /dev/null
+++ b/dumux/porousmediumflow/2p/sequential/diffusion/cellcentered/CMakeLists.txt
@@ -0,0 +1,12 @@
+
+#install headers
+install(FILES
+pressureadaptive.hh
+pressure.hh
+pressurepropertiesadaptive.hh
+pressureproperties.hh
+pressurevelocity.hh
+pressurevelocityproperties.hh
+velocityadaptive.hh
+velocity.hh
+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
new file mode 100644
index 0000000000..309c47d3c5
--- /dev/null
+++ b/dumux/porousmediumflow/2p/sequential/diffusion/mimetic/CMakeLists.txt
@@ -0,0 +1,15 @@
+
+#install headers
+install(FILES
+croperatoradaptive.hh
+croperator.hh
+localstiffness.hh
+mimeticadaptive.hh
+mimetic.hh
+operatoradaptive.hh
+operator.hh
+pressureadaptive.hh
+pressure.hh
+pressurepropertiesadaptive.hh
+pressureproperties.hh
+DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/2p/sequential/diffusion/mimetic)
diff --git a/dumux/porousmediumflow/2p/sequential/diffusion/mpfa/CMakeLists.txt b/dumux/porousmediumflow/2p/sequential/diffusion/mpfa/CMakeLists.txt
new file mode 100644
index 0000000000..6a6fefac95
--- /dev/null
+++ b/dumux/porousmediumflow/2p/sequential/diffusion/mpfa/CMakeLists.txt
@@ -0,0 +1,2 @@
+add_subdirectory("lmethod")
+add_subdirectory("omethod")
diff --git a/dumux/porousmediumflow/2p/sequential/diffusion/mpfa/lmethod/CMakeLists.txt b/dumux/porousmediumflow/2p/sequential/diffusion/mpfa/lmethod/CMakeLists.txt
new file mode 100644
index 0000000000..fbaffbdc06
--- /dev/null
+++ b/dumux/porousmediumflow/2p/sequential/diffusion/mpfa/lmethod/CMakeLists.txt
@@ -0,0 +1,24 @@
+
+#install headers
+install(FILES
+2dpressureadaptive.hh
+2dpressure.hh
+2dpressurepropertiesadaptive.hh
+2dpressureproperties.hh
+2dpressurevelocityadaptive.hh
+2dpressurevelocity.hh
+2dtransmissibilitycalculator.hh
+2dvelocityadaptive.hh
+2dvelocity.hh
+3dinteractionvolumecontaineradaptive.hh
+3dinteractionvolumecontainer.hh
+3dpressureadaptive.hh
+3dpressure.hh
+3dpressurepropertiesadaptive.hh
+3dpressureproperties.hh
+3dpressurevelocityadaptive.hh
+3dpressurevelocity.hh
+3dtransmissibilitycalculator.hh
+3dvelocityadaptive.hh
+3dvelocity.hh
+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
new file mode 100644
index 0000000000..68679f8227
--- /dev/null
+++ b/dumux/porousmediumflow/2p/sequential/diffusion/mpfa/omethod/CMakeLists.txt
@@ -0,0 +1,8 @@
+
+#install headers
+install(FILES
+2dpressure.hh
+2dpressureproperties.hh
+2dpressurevelocity.hh
+2dvelocity.hh
+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
new file mode 100644
index 0000000000..a146a7a8a4
--- /dev/null
+++ b/dumux/porousmediumflow/2p/sequential/impes/CMakeLists.txt
@@ -0,0 +1,10 @@
+
+#install headers
+install(FILES
+gridadaptionindicator.hh
+gridadaptionindicatorlocalflux.hh
+gridadaptionindicatorlocal.hh
+problem.hh
+propertiesadaptive.hh
+properties.hh
+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
new file mode 100644
index 0000000000..ce742a4fd6
--- /dev/null
+++ b/dumux/porousmediumflow/2p/sequential/transport/CMakeLists.txt
@@ -0,0 +1,7 @@
+add_subdirectory("cellcentered")
+
+#install headers
+install(FILES
+problem.hh
+properties.hh
+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
new file mode 100644
index 0000000000..6b3ce1554a
--- /dev/null
+++ b/dumux/porousmediumflow/2p/sequential/transport/cellcentered/CMakeLists.txt
@@ -0,0 +1,13 @@
+
+#install headers
+install(FILES
+capillarydiffusion.hh
+convectivepart.hh
+diffusivepart.hh
+evalcflfluxcoats.hh
+evalcflfluxdefault.hh
+evalcflflux.hh
+saturation.hh
+transportproperties.hh
+gravitypart.hh
+DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/2p/sequential/transport/cellcentered)
diff --git a/dumux/porousmediumflow/2p2c/CMakeLists.txt b/dumux/porousmediumflow/2p2c/CMakeLists.txt
new file mode 100644
index 0000000000..fffa571735
--- /dev/null
+++ b/dumux/porousmediumflow/2p2c/CMakeLists.txt
@@ -0,0 +1,2 @@
+add_subdirectory("implicit")
+add_subdirectory("sequential")
diff --git a/dumux/porousmediumflow/2p2c/implicit/CMakeLists.txt b/dumux/porousmediumflow/2p2c/implicit/CMakeLists.txt
new file mode 100644
index 0000000000..295bab91e2
--- /dev/null
+++ b/dumux/porousmediumflow/2p2c/implicit/CMakeLists.txt
@@ -0,0 +1,12 @@
+
+#install headers
+install(FILES
+fluxvariables.hh
+indices.hh
+localresidual.hh
+model.hh
+newtoncontroller.hh
+properties.hh
+propertydefaults.hh
+volumevariables.hh
+DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/2p2c/implicit)
diff --git a/dumux/porousmediumflow/2p2c/sequential/CMakeLists.txt b/dumux/porousmediumflow/2p2c/sequential/CMakeLists.txt
new file mode 100644
index 0000000000..7d852b7fe9
--- /dev/null
+++ b/dumux/porousmediumflow/2p2c/sequential/CMakeLists.txt
@@ -0,0 +1,24 @@
+
+#install headers
+install(FILES
+adaptiveproperties.hh
+fluidstate.hh
+problem.hh
+properties.hh
+celldataadaptive.hh
+celldata.hh
+celldatamultiphysics.hh
+fluxdata.hh
+fv2dpressureadaptive.hh
+fv2dtransportadaptive.hh
+fv3dpressureadaptive.hh
+fv3dtransportadaptive.hh
+fvmpfal3dinteractionvolumecontaineradaptive.hh
+fvpressure.hh
+fvpressuremultiphysics.hh
+fvpressurecompositional.hh
+fvtransport.hh
+fvtransportmultiphysics.hh
+pseudo1p2cfluidstate.hh
+variableclassadaptive.hh
+DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/2p2c/sequential)
diff --git a/dumux/porousmediumflow/2pdfm/CMakeLists.txt b/dumux/porousmediumflow/2pdfm/CMakeLists.txt
new file mode 100644
index 0000000000..ba8341c614
--- /dev/null
+++ b/dumux/porousmediumflow/2pdfm/CMakeLists.txt
@@ -0,0 +1 @@
+add_subdirectory("implicit")
diff --git a/dumux/porousmediumflow/2pdfm/implicit/CMakeLists.txt b/dumux/porousmediumflow/2pdfm/implicit/CMakeLists.txt
new file mode 100644
index 0000000000..981f1abe4a
--- /dev/null
+++ b/dumux/porousmediumflow/2pdfm/implicit/CMakeLists.txt
@@ -0,0 +1,12 @@
+
+#install headers
+install(FILES
+fluxvariables.hh
+indices.hh
+localresidual.hh
+model.hh
+problem.hh
+properties.hh
+propertydefaults.hh
+volumevariables.hh
+DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/2pdfm/implicit)
diff --git a/dumux/porousmediumflow/2pminc/CMakeLists.txt b/dumux/porousmediumflow/2pminc/CMakeLists.txt
new file mode 100644
index 0000000000..ba8341c614
--- /dev/null
+++ b/dumux/porousmediumflow/2pminc/CMakeLists.txt
@@ -0,0 +1 @@
+add_subdirectory("implicit")
diff --git a/dumux/porousmediumflow/2pminc/implicit/CMakeLists.txt b/dumux/porousmediumflow/2pminc/implicit/CMakeLists.txt
new file mode 100644
index 0000000000..47f5d3d3d1
--- /dev/null
+++ b/dumux/porousmediumflow/2pminc/implicit/CMakeLists.txt
@@ -0,0 +1,11 @@
+
+#install headers
+install(FILES
+fluxvariables.hh
+indices.hh
+localresidual.hh
+model.hh
+properties.hh
+propertydefaults.hh
+volumevariables.hh
+DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/2pminc/implicit)
diff --git a/dumux/porousmediumflow/2pnc/CMakeLists.txt b/dumux/porousmediumflow/2pnc/CMakeLists.txt
new file mode 100644
index 0000000000..ba8341c614
--- /dev/null
+++ b/dumux/porousmediumflow/2pnc/CMakeLists.txt
@@ -0,0 +1 @@
+add_subdirectory("implicit")
diff --git a/dumux/porousmediumflow/2pnc/implicit/CMakeLists.txt b/dumux/porousmediumflow/2pnc/implicit/CMakeLists.txt
new file mode 100644
index 0000000000..5164fba7ab
--- /dev/null
+++ b/dumux/porousmediumflow/2pnc/implicit/CMakeLists.txt
@@ -0,0 +1,12 @@
+
+#install headers
+install(FILES
+fluxvariables.hh
+indices.hh
+localresidual.hh
+model.hh
+newtoncontroller.hh
+properties.hh
+propertydefaults.hh
+volumevariables.hh
+DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/2pnc/implicit)
diff --git a/dumux/porousmediumflow/2pncmin/CMakeLists.txt b/dumux/porousmediumflow/2pncmin/CMakeLists.txt
new file mode 100644
index 0000000000..ba8341c614
--- /dev/null
+++ b/dumux/porousmediumflow/2pncmin/CMakeLists.txt
@@ -0,0 +1 @@
+add_subdirectory("implicit")
diff --git a/dumux/porousmediumflow/2pncmin/implicit/CMakeLists.txt b/dumux/porousmediumflow/2pncmin/implicit/CMakeLists.txt
new file mode 100644
index 0000000000..cab7236a26
--- /dev/null
+++ b/dumux/porousmediumflow/2pncmin/implicit/CMakeLists.txt
@@ -0,0 +1,11 @@
+
+#install headers
+install(FILES
+fluxvariables.hh
+indices.hh
+localresidual.hh
+model.hh
+properties.hh
+propertydefaults.hh
+volumevariables.hh
+DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/2pncmin/implicit)
diff --git a/dumux/porousmediumflow/3p/CMakeLists.txt b/dumux/porousmediumflow/3p/CMakeLists.txt
new file mode 100644
index 0000000000..ba8341c614
--- /dev/null
+++ b/dumux/porousmediumflow/3p/CMakeLists.txt
@@ -0,0 +1 @@
+add_subdirectory("implicit")
diff --git a/dumux/porousmediumflow/3p/implicit/CMakeLists.txt b/dumux/porousmediumflow/3p/implicit/CMakeLists.txt
new file mode 100644
index 0000000000..9ecbeb74b7
--- /dev/null
+++ b/dumux/porousmediumflow/3p/implicit/CMakeLists.txt
@@ -0,0 +1,10 @@
+
+#install headers
+install(FILES
+indices.hh
+localresidual.hh
+model.hh
+properties.hh
+propertydefaults.hh
+volumevariables.hh
+DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/3p/implicit)
diff --git a/dumux/porousmediumflow/3p3c/CMakeLists.txt b/dumux/porousmediumflow/3p3c/CMakeLists.txt
new file mode 100644
index 0000000000..ba8341c614
--- /dev/null
+++ b/dumux/porousmediumflow/3p3c/CMakeLists.txt
@@ -0,0 +1 @@
+add_subdirectory("implicit")
diff --git a/dumux/porousmediumflow/3p3c/implicit/CMakeLists.txt b/dumux/porousmediumflow/3p3c/implicit/CMakeLists.txt
new file mode 100644
index 0000000000..8df41cae35
--- /dev/null
+++ b/dumux/porousmediumflow/3p3c/implicit/CMakeLists.txt
@@ -0,0 +1,12 @@
+
+#install headers
+install(FILES
+fluxvariables.hh
+indices.hh
+localresidual.hh
+model.hh
+newtoncontroller.hh
+properties.hh
+propertydefaults.hh
+volumevariables.hh
+DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/3p3c/implicit)
diff --git a/dumux/porousmediumflow/CMakeLists.txt b/dumux/porousmediumflow/CMakeLists.txt
new file mode 100644
index 0000000000..643a57f0ee
--- /dev/null
+++ b/dumux/porousmediumflow/CMakeLists.txt
@@ -0,0 +1,16 @@
+add_subdirectory("1p")
+add_subdirectory("1p2c")
+add_subdirectory("2p")
+add_subdirectory("2p2c")
+add_subdirectory("2pdfm")
+add_subdirectory("2pminc")
+add_subdirectory("2pnc")
+add_subdirectory("2pncmin")
+add_subdirectory("3p")
+add_subdirectory("3p3c")
+add_subdirectory("co2")
+add_subdirectory("implicit")
+add_subdirectory("mpnc")
+add_subdirectory("nonisothermal")
+add_subdirectory("richards")
+add_subdirectory("sequential")
diff --git a/dumux/porousmediumflow/co2/CMakeLists.txt b/dumux/porousmediumflow/co2/CMakeLists.txt
new file mode 100644
index 0000000000..ba8341c614
--- /dev/null
+++ b/dumux/porousmediumflow/co2/CMakeLists.txt
@@ -0,0 +1 @@
+add_subdirectory("implicit")
diff --git a/dumux/porousmediumflow/co2/implicit/CMakeLists.txt b/dumux/porousmediumflow/co2/implicit/CMakeLists.txt
new file mode 100644
index 0000000000..ead35fb69d
--- /dev/null
+++ b/dumux/porousmediumflow/co2/implicit/CMakeLists.txt
@@ -0,0 +1,6 @@
+
+#install headers
+install(FILES
+model.hh
+volumevariables.hh
+DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/co2/implicit)
diff --git a/dumux/porousmediumflow/implicit/CMakeLists.txt b/dumux/porousmediumflow/implicit/CMakeLists.txt
new file mode 100644
index 0000000000..0540c9217d
--- /dev/null
+++ b/dumux/porousmediumflow/implicit/CMakeLists.txt
@@ -0,0 +1,9 @@
+
+#install headers
+install(FILES
+cpdarcyfluxvariables.hh
+darcyfluxvariables.hh
+forchheimerfluxvariables.hh
+problem.hh
+velocityoutput.hh
+DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/implicit)
diff --git a/dumux/porousmediumflow/mpnc/CMakeLists.txt b/dumux/porousmediumflow/mpnc/CMakeLists.txt
new file mode 100644
index 0000000000..ba8341c614
--- /dev/null
+++ b/dumux/porousmediumflow/mpnc/CMakeLists.txt
@@ -0,0 +1 @@
+add_subdirectory("implicit")
diff --git a/dumux/porousmediumflow/mpnc/implicit/CMakeLists.txt b/dumux/porousmediumflow/mpnc/implicit/CMakeLists.txt
new file mode 100644
index 0000000000..6348e2566a
--- /dev/null
+++ b/dumux/porousmediumflow/mpnc/implicit/CMakeLists.txt
@@ -0,0 +1,24 @@
+add_subdirectory("diffusion")
+add_subdirectory("energy")
+add_subdirectory("mass")
+
+#install headers
+install(FILES
+fluxvariables.hh
+indices.hh
+localresidual.hh
+model.hh
+modelkinetic.hh
+newtoncontroller.hh
+properties.hh
+propertieskinetic.hh
+propertydefaults.hh
+propertydefaultskinetic.hh
+volumevariables.hh
+volumevariablesia.hh
+volumevariablesiakinetic.hh
+vtkwritercommon.hh
+vtkwriter.hh
+vtkwritermodule.hh
+velomodelnewtoncontroller.hh
+DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/mpnc/implicit)
diff --git a/dumux/porousmediumflow/mpnc/implicit/diffusion/CMakeLists.txt b/dumux/porousmediumflow/mpnc/implicit/diffusion/CMakeLists.txt
new file mode 100644
index 0000000000..59bc8bfab5
--- /dev/null
+++ b/dumux/porousmediumflow/mpnc/implicit/diffusion/CMakeLists.txt
@@ -0,0 +1,7 @@
+
+#install headers
+install(FILES
+diffusion.hh
+fluxvariables.hh
+volumevariables.hh
+DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/mpnc/implicit/diffusion)
diff --git a/dumux/porousmediumflow/mpnc/implicit/energy/CMakeLists.txt b/dumux/porousmediumflow/mpnc/implicit/energy/CMakeLists.txt
new file mode 100644
index 0000000000..0bd8035d94
--- /dev/null
+++ b/dumux/porousmediumflow/mpnc/implicit/energy/CMakeLists.txt
@@ -0,0 +1,14 @@
+
+#install headers
+install(FILES
+fluxvariablesenergy.hh
+fluxvariablesenergykinetic.hh
+indicesenergy.hh
+indicesenergykinetic.hh
+localresidualenergy.hh
+localresidualenergykinetic.hh
+volumevariablesenergy.hh
+volumevariablesenergykinetic.hh
+vtkwriterenergy.hh
+vtkwriterenergykinetic.hh
+DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/mpnc/implicit/energy)
diff --git a/dumux/porousmediumflow/mpnc/implicit/mass/CMakeLists.txt b/dumux/porousmediumflow/mpnc/implicit/mass/CMakeLists.txt
new file mode 100644
index 0000000000..93428a29ab
--- /dev/null
+++ b/dumux/porousmediumflow/mpnc/implicit/mass/CMakeLists.txt
@@ -0,0 +1,12 @@
+
+#install headers
+install(FILES
+indicesmass.hh
+indicesmasskinetic.hh
+localresidualmass.hh
+localresidualmasskinetic.hh
+volumevariablesmass.hh
+volumevariablesmasskinetic.hh
+vtkwritermass.hh
+vtkwritermasskinetic.hh
+DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/mpnc/implicit/mass)
diff --git a/dumux/porousmediumflow/nonisothermal/CMakeLists.txt b/dumux/porousmediumflow/nonisothermal/CMakeLists.txt
new file mode 100644
index 0000000000..ba8341c614
--- /dev/null
+++ b/dumux/porousmediumflow/nonisothermal/CMakeLists.txt
@@ -0,0 +1 @@
+add_subdirectory("implicit")
diff --git a/dumux/porousmediumflow/nonisothermal/implicit/CMakeLists.txt b/dumux/porousmediumflow/nonisothermal/implicit/CMakeLists.txt
new file mode 100644
index 0000000000..c610a83285
--- /dev/null
+++ b/dumux/porousmediumflow/nonisothermal/implicit/CMakeLists.txt
@@ -0,0 +1,11 @@
+
+#install headers
+install(FILES
+fluxvariables.hh
+indices.hh
+localresidual.hh
+model.hh
+properties.hh
+propertydefaults.hh
+volumevariables.hh
+DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/nonisothermal/implicit)
diff --git a/dumux/porousmediumflow/richards/CMakeLists.txt b/dumux/porousmediumflow/richards/CMakeLists.txt
new file mode 100644
index 0000000000..ba8341c614
--- /dev/null
+++ b/dumux/porousmediumflow/richards/CMakeLists.txt
@@ -0,0 +1 @@
+add_subdirectory("implicit")
diff --git a/dumux/porousmediumflow/richards/implicit/CMakeLists.txt b/dumux/porousmediumflow/richards/implicit/CMakeLists.txt
new file mode 100644
index 0000000000..87521bbaa0
--- /dev/null
+++ b/dumux/porousmediumflow/richards/implicit/CMakeLists.txt
@@ -0,0 +1,13 @@
+
+#install headers
+install(FILES
+fluxvariables.hh
+indices.hh
+localresidual.hh
+model.hh
+newtoncontroller.hh
+problem.hh
+properties.hh
+propertydefaults.hh
+volumevariables.hh
+DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/richards/implicit)
diff --git a/dumux/porousmediumflow/sequential/CMakeLists.txt b/dumux/porousmediumflow/sequential/CMakeLists.txt
new file mode 100644
index 0000000000..166bfcc98d
--- /dev/null
+++ b/dumux/porousmediumflow/sequential/CMakeLists.txt
@@ -0,0 +1,19 @@
+add_subdirectory("cellcentered")
+add_subdirectory("mimetic")
+
+#install headers
+install(FILES
+gridadapt.hh
+gridadaptinitializationindicatordefault.hh
+gridadaptinitializationindicator.hh
+gridadaptproperties.hh
+impet.hh
+impetproblem.hh
+impetproperties.hh
+onemodelproblem.hh
+pressureproperties.hh
+properties.hh
+transportproperties.hh
+variableclassadaptive.hh
+variableclass.hh
+DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/sequential)
diff --git a/dumux/porousmediumflow/sequential/cellcentered/CMakeLists.txt b/dumux/porousmediumflow/sequential/cellcentered/CMakeLists.txt
new file mode 100644
index 0000000000..cec886a212
--- /dev/null
+++ b/dumux/porousmediumflow/sequential/cellcentered/CMakeLists.txt
@@ -0,0 +1,9 @@
+add_subdirectory("mpfa")
+
+#install headers
+install(FILES
+pressure.hh
+transport.hh
+velocitydefault.hh
+velocity.hh
+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
new file mode 100644
index 0000000000..5f9b5eece9
--- /dev/null
+++ b/dumux/porousmediumflow/sequential/cellcentered/mpfa/CMakeLists.txt
@@ -0,0 +1,10 @@
+
+#install headers
+install(FILES
+properties.hh
+velocityintransport.hh
+linteractionvolume3dadaptive.hh
+linteractionvolume3d.hh
+linteractionvolume.hh
+ointeractionvolume.hh
+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
new file mode 100644
index 0000000000..3bff03ce9b
--- /dev/null
+++ b/dumux/porousmediumflow/sequential/mimetic/CMakeLists.txt
@@ -0,0 +1,5 @@
+
+#install headers
+install(FILES
+properties.hh
+DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/porousmediumflow/sequential/mimetic)
-- 
GitLab