Commit 5bcb2486 authored by Alexander Kissinger's avatar Alexander Kissinger
Browse files

Adding and modifying CMakeLists.txt files in order to make Dumux installable.

- All headers and source files are moved to the specfied include directory during installation.

- Existing CMakeLists.txt files were appended.
- CMakeLists.txt were added in folders that did not contain any CMakeLists.txt files but contain headers
- The installed version of dumux has been tested by Bernd with the dumux-lecture module

Reviewed, modified and tested by Bernd.



git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@15347 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent b2f9e6bc
......@@ -24,6 +24,7 @@ dune_project()
add_subdirectory(cmake/modules)
add_subdirectory(doc)
add_subdirectory(dumux)
add_subdirectory(test EXCLUDE_FROM_ALL)
add_subdirectory(tutorial EXCLUDE_FROM_ALL)
......
set(modules
AddInputFileLinks.cmake
CheckConstexpr.cmake
CopyOfDuneSymlinkOrCopy.cmake
DumuxMacros.cmake
DumuxTestMacros.cmake)
include(GNUInstallDirs)
......
add_subdirectory("common")
add_subdirectory("decoupled")
add_subdirectory("freeflow")
add_subdirectory("geomechanics")
add_subdirectory("implicit")
add_subdirectory("io")
add_subdirectory("linear")
add_subdirectory("material")
add_subdirectory("multidomain")
add_subdirectory("nonlinear")
add_subdirectory("parallel")
add_subdirectory("common")
add_subdirectory("decoupled")
add_subdirectory("freeflow")
add_subdirectory("geomechanics")
add_subdirectory("implicit")
add_subdirectory("io")
add_subdirectory("linear")
add_subdirectory("material")
add_subdirectory("multidomain")
add_subdirectory("nonlinear")
add_subdirectory("parallel")
#install headers
install(FILES
basicproperties.hh
boundaryconditions.hh
boundarytypes.hh
dimensionlessnumbers.hh
eigenvalues.hh
exceptions.hh
fixedlengthspline_.hh
intersectionmapper.hh
math.hh
parameters.hh
propertysystem.hh
quad.hh
splinecommon_.hh
spline.hh
start.hh
tabulated2dfunction.hh
timemanager.hh
valgrind.hh
variablelengthspline_.hh
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/common)
add_subdirectory("diffusion")
#install headers
install(FILES
1pindices.hh
1pproperties.hh
celldata1p.hh
fluxdata1p.hh
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/decoupled/1p)
add_subdirectory("fv")
#install headers
install(FILES
diffusionproblem1p.hh
diffusionproperties1p.hh
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/decoupled/1p/diffusion)
#install headers
install(FILES
fvpressure1p.hh
fvpressureproperties1p.hh
fvpressurevelocity1p.hh
fvpressurevelocityproperties1p.hh
fvvelocity1p.hh
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/decoupled/1p/diffusion/fv)
add_subdirectory("diffusion")
add_subdirectory("impes")
add_subdirectory("transport")
#install headers
install(FILES
2pindices.hh
2pproperties.hh
celldata2padaptive.hh
celldata2p.hh
fluxdata2p.hh
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/decoupled/2p)
add_subdirectory("fv")
add_subdirectory("fvmpfa")
add_subdirectory("mimetic")
#install headers
install(FILES
diffusionproblem2p.hh
diffusionproperties2p.hh
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/decoupled/2p/diffusion)
#install headers
install(FILES
fvpressure2padaptive.hh
fvpressure2p.hh
fvpressureproperties2padaptive.hh
fvpressureproperties2p.hh
fvpressurevelocity2p.hh
fvpressurevelocityproperties2p.hh
fvvelocity2padaptive.hh
fvvelocity2p.hh
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/decoupled/2p/diffusion/fv)
add_subdirectory("lmethod")
add_subdirectory("omethod")
#install headers
install(FILES
fvmpfal2dpressure2padaptive.hh
fvmpfal2dpressure2p.hh
fvmpfal2dpressureproperties2padaptive.hh
fvmpfal2dpressureproperties2p.hh
fvmpfal2dpressurevelocity2padaptive.hh
fvmpfal2dpressurevelocity2p.hh
fvmpfal2dtransmissibilitycalculator.hh
fvmpfal2dvelocity2padaptive.hh
fvmpfal2dvelocity2p.hh
fvmpfal3dinteractionvolumecontaineradaptive.hh
fvmpfal3dinteractionvolumecontainer.hh
fvmpfal3dpressure2padaptive.hh
fvmpfal3dpressure2p.hh
fvmpfal3dpressureproperties2padaptive.hh
fvmpfal3dpressureproperties2p.hh
fvmpfal3dpressurevelocity2padaptive.hh
fvmpfal3dpressurevelocity2p.hh
fvmpfal3dtransmissibilitycalculator.hh
fvmpfal3dvelocity2padaptive.hh
fvmpfal3dvelocity2p.hh
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/decoupled/2p/diffusion/fvmpfa/lmethod)
#install headers
install(FILES
fvmpfao2dpressure2p.hh
fvmpfao2dpressureproperties2p.hh
fvmpfao2dpressurevelocity2p.hh
fvmpfao2dvelocity2p.hh
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/decoupled/2p/diffusion/fvmpfa/omethod)
#install headers
install(FILES
croperator2padaptive.hh
croperator2p.hh
localstiffness.hh
mimetic2padaptive.hh
mimetic2p.hh
mimeticoperator2padaptive.hh
mimeticoperator2p.hh
mimeticpressure2padaptive.hh
mimeticpressure2p.hh
mimeticpressureproperties2padaptive.hh
mimeticpressureproperties2p.hh
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/decoupled/2p/diffusion/mimetic)
#install headers
install(FILES
gridadaptionindicator2p.hh
gridadaptionindicator2plocalflux.hh
gridadaptionindicator2plocal.hh
impesproblem2p.hh
impesproperties2padaptive.hh
impesproperties2p.hh
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/decoupled/2p/impes)
add_subdirectory("fv")
#install headers
install(FILES
transportproblem2p.hh
transportproperties2p.hh
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/decoupled/2p/transport)
#install headers
install(FILES
capillarydiffusion.hh
convectivepart.hh
diffusivepart.hh
evalcflfluxcoats.hh
evalcflfluxdefault.hh
evalcflflux.hh
fvsaturation2p.hh
fvtransportproperties2p.hh
gravitypart.hh
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/decoupled/2p/transport/fv)
#install headers
install(FILES
2p2cadaptiveproperties.hh
2p2cfluidstate.hh
2p2cproblem.hh
2p2cproperties.hh
celldata2p2cadaptive.hh
celldata2p2c.hh
celldata2p2cmultiphysics.hh
fluxdata2p2c.hh
fv2dpressure2p2cadaptive.hh
fv2dtransport2p2cadaptive.hh
fv3dpressure2p2cadaptive.hh
fv3dtransport2p2cadaptive.hh
fvmpfal3d2p2cinteractionvolumecontaineradaptive.hh
fvpressure2p2c.hh
fvpressure2p2cmultiphysics.hh
fvpressurecompositional.hh
fvtransport2p2c.hh
fvtransport2p2cmultiphysics.hh
pseudo1p2cfluidstate.hh
variableclass2p2cadaptive.hh
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/decoupled/2p2c)
add_subdirectory("1p")
add_subdirectory("2p")
add_subdirectory("2p2c")
add_subdirectory("common")
add_subdirectory("fv")
add_subdirectory("mimetic")
#install headers
install(FILES
decoupledproperties.hh
gridadapt.hh
gridadaptinitializationindicatordefault.hh
gridadaptinitializationindicator.hh
gridadaptproperties.hh
impet.hh
impetproblem.hh
impetproperties.hh
onemodelproblem.hh
pressureproperties.hh
transportproperties.hh
variableclassadaptive.hh
variableclass.hh
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dumux/decoupled/common)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment