Skip to content
Snippets Groups Projects
Commit dd76b5df authored by Ansgar Burchardt's avatar Ansgar Burchardt Committed by ansgar
Browse files

Initial support for CMake.

[[Imported from SVN: r12698]]
parent e8150be8
No related branches found
No related tags found
No related merge requests found
Showing
with 215 additions and 0 deletions
project("dune-fufem" CXX)
cmake_minimum_required(VERSION 2.8.6)
find_package(dune-common)
list(APPEND CMAKE_MODULE_PATH ${dune-common_MODULE_PATH})
include(DuneMacros)
dune_project()
add_subdirectory("doc")
add_subdirectory("dune")
finalize_dune_project(GENERATE_CONFIG_H_CMAKE)
if(NOT @DUNE_MOD_NAME@_FOUND)
#compute installation prefix relative to this file
get_filename_component(_dir "${CMAKE_CURRENT_LIST_FILE}" PATH)
get_filename_component(_prefix "${_dir}/../../.." ABSOLUTE)
#import the target
#include("${_prefix}/lib/cmake/@DUNE_MOD_NAME@-targets.cmake")
#report other information
set(@DUNE_MOD_NAME@_PREFIX "${_prefix}")
set(@DUNE_MOD_NAME@_INCLUDE_DIRS "${_prefix}/include")
set(@DUNE_MOD_NAME@_CXX_FLAGS "@CMAKE_CXX_FLAGS@")
set(@DUNE_MOD_NAME@_CXX_FLAGS_DEBUG "@CMAKE_CXX_FLAGS_DEBUG@")
set(@DUNE_MOD_NAME@_CXX_FLAGS_MINSIZEREL "@CMAKE_CXX_FLAGS_MINSIZEREL@")
set(@DUNE_MOD_NAME@_CXX_FLAGS_RELEASE "@CMAKE_CXX_FLAGS_RELEASE@")
set(@DUNE_MOD_NAME@_CXX_FLAGS_RELWITHDEBINFO "@CMAKE_CXX_FLAGS_RELWITHDEBINFO@")
set(@DUNE_MOD_NAME@_DEPENDS "@DUNE_DEPENDS@")
set(@DUNE_MOD_NAME@_SUGGESTS "@DUNE_SUGGESTS@")
set(@DUNE_MOD_NAME@_MODULE_PATH "${_prefix}/@DUNE_INSTALL_MODULEDIR@")
endif(NOT @DUNE_MOD_NAME@_FOUND)
\ No newline at end of file
add_subdirectory(doxygen)
add_doxygen_target()
add_subdirectory(fufem)
add_subdirectory(assemblers)
add_subdirectory(estimators)
add_subdirectory(functions)
add_subdirectory(functionspacebases)
add_subdirectory(functiontools)
add_subdirectory(mechanics)
add_subdirectory(quadraturerules)
add_subdirectory(test)
install(FILES
any.hh
arcofcircle.hh
arithmetic.hh
basistraceindexset.hh
blockmatrixview.hh
boundaryiterator.hh
boundarypatch.hh
boundarypatchprolongator.hh
boundarywriter.hh
boundingbox.hh
box.hh
computestress.hh
crossproduct.hh
dataio.hh
dgindexset.hh
dgpqkindexset.hh
differencenormsquared.hh
discretizationerror.hh
dunedataio.hh
dunepython.hh
facehierarchy.hh
facelocalfiniteelement.hh
globalintersectioniterator.hh
improvegrid.hh
interval.hh
lumpmatrix.hh
makehalfcircle.hh
makering.hh
makesphere.hh
mappedmatrix.hh
matlab_io.hh
orientedsubface.hh
prolongboundarypatch.hh
readbitfield.hh
referenceelementhelper.hh
refinedfehelper.hh
sampleonbitfield.hh
sharedpointermap.hh
staticmatrixtools.hh
surfmassmatrix.hh
symmetrictensor.hh
ulis_tools.hh
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dune/fufem)
add_subdirectory(localassemblers)
install(FILES
assembler.hh
boundaryfunctionalassembler.hh
boundaryoperatorassembler.hh
functionalassembler.hh
integraloperatorassembler.hh
intersectionoperatorassembler.hh
localassembler.hh
localboundaryassembler.hh
localfunctionalassembler.hh
localoperatorassembler.hh
operatorassembler.hh
preconditioneddefectassembler.hh
transferoperatorassembler.hh
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dune/fufem/assemblers)
install(FILES
boundarymassassembler.hh
convolutionassembler.hh
generalizedboundarymassassembler.hh
generalizedlaplaceassembler.hh
geononlinlinearizedstvenantassembler.hh
geononlinstvenantfunctionalassembler.hh
gradientassembler.hh
h1functionalassembler.hh
l2functionalassembler.hh
laplaceassembler.hh
lumpedmassassembler.hh
massassembler.hh
neumannboundaryassembler.hh
normalstressboundaryassembler.hh
strainproductassembler.hh
stvenantkirchhoffassembler.hh
subgridh1functionalassembler.hh
subgridl2functionalassembler.hh
viscosityassembler.hh
vonmisesstressassembler.hh
vvlaplaceassembler.hh
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dune/fufem/assemblers/localassemblers)
install(FILES
errorfractionmarking.hh
fractionalmarking.hh
geometricmarking.hh
hierarchicalestimator.hh
hierarchicestimatorbase.hh
refinementindicator.hh
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dune/fufem/estimators)
install(FILES
alienelementlocalbasisfunction.hh
analyticgridfunction.hh
basisgridfunction.hh
cachedcomponentwrapper.hh
coarsegridfunctionwrapper.hh
composedfunction.hh
composedgridfunction.hh
constantfunction.hh
deformationfunction.hh
localbasisderivativefunction.hh
localbasisjacobianfunction.hh
polynomial.hh
portablegreymap.hh
portablepixelmap.hh
sumfunction.hh
sumgridfunction.hh
virtualdifferentiablefunction.hh
virtualfunctiontoboundarysegmentadapter.hh
virtualgridfunction.hh
vtkbasisgridfunction.hh
vtkvirtualfunction.hh
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dune/fufem/functions)
install(FILES
conformingbasis.hh
dgpqkbasis.hh
dofconstraints.hh
extensionbasis.hh
functionspacebasis.hh
p0basis.hh
p1nodalbasis.hh
p2hierarchicalbasis.hh
p2hierarchicalwithelementbubblesbasis.hh
p2nodalbasis.hh
p3nodalbasis.hh
q1nodalbasis.hh
reducedconformingbasis.hh
refinedp0basis.hh
refinedp1nodalbasis.hh
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dune/fufem/functionspacebases)
install(FILES
amirameshbasiswriter.hh
basisidmapper.hh
basisinterpolator.hh
boundarydofs.hh
compositequadraturerule.hh
functionintegrator.hh
gradientbasis.hh
gridfunctionadaptor.hh
namedfunctionmap.hh
quadraturerulecache.hh
refinedquadraturerule.hh
vtkbasiswriter.hh
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dune/fufem/functiontools)
install(FILES
cubictensor.hh
elasticitytensor.hh
isotropictensor.hh
newpfeassembler.hh
tetratensor.hh
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dune/fufem/mechanics)
install(FILES
compositequadraturerule.hh
lumpingquadraturerule.hh
quadraturerulecache.hh
refinedquadraturerule.hh
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dune/fufem/quadraturerules)
# TODO: add tests
install(FILES
hierarchicleafiterator.hh
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dune/fufem/utilities)
install(FILES
ax_python_devel.m4
dune_fufem.m4
m4_ax_boost_base.m4
m4_ax_boost_serialization.m4
DESTINATION share/aclocal)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment