Commit c22ed141 authored by GILLES Sebastien's avatar GILLES Sebastien

#1217 Improving the CMake target_list following advices from...

#1217 Improving the CMake target_list following advices from https://crascit.com/2016/01/31/enhanced-source-file-handling-with-target_sources/
parent bf804d07
# A minimum version for cmake command is required.
cmake_minimum_required(VERSION 3.8)
project( "MoReFEM")
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
set (CMAKE_CXX_STANDARD 17)
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
......@@ -12,14 +16,7 @@ include(Paths)
MESSAGE("Generated with config types: ${CMAKE_CONFIGURATION_TYPES}")
# Check whether
# string(COMPARE EQUAL "${CMAKE_BUILD_TYPE}" "" NO_BUILD_TYPE)
# if(NO_BUILD_TYPE)
# set(CMAKE_BUILD_TYPE ${MODE})
# endif()
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} --my-debug-flags")
#set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} --my-debug-flags")
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/Sources /
${CMAKE_CURRENT_SOURCE_DIR}/Sources/ThirdParty/Source/Tclap/include /
......
......@@ -57,12 +57,11 @@ def GenerateInModule(morefem_directory, subdirectory, library_name, ignore_list
SourceList.write("target_sources({}\n\tPRIVATE\n".format(library_name))
for myfile in file_list:
SourceList.write("{}\"{}\" / \n".format(tab_prefix, os.path.join(reduced_source_root, myfile)))
SourceList.write("{}\"{}/{}\" / \n".format(tab_prefix, r"${CMAKE_CURRENT_LIST_DIR}", myfile))
SourceList.write(")\n\n")
for directory in dirs:
SourceList.write("include({}/SourceList.cmake)\n".format(os.path.join(reduced_source_root, directory)))
SourceList.write("include({}/{}/SourceList.cmake)\n".format(r"${CMAKE_CURRENT_LIST_DIR}", directory))
......
add_library(morefem_utilities STATIC "")
include(Utilities/SourceList.cmake)
include(ThirdParty/SourceList.cmake)
add_library(morefem_core STATIC "")
include(Core/SourceList.cmake)
add_library(morefem_geometry STATIC "")
include(Geometry/SourceList.cmake)
add_library(morefem_felt STATIC "")
include(FiniteElement/SourceList.cmake)
add_library(morefem_param STATIC "")
include(Parameters/SourceList.cmake)
add_library(morefem_op STATIC "")
include(Operators/SourceList.cmake)
add_library(morefem_op_instances STATIC "")
include(OperatorInstances/SourceList.cmake)
add_library(morefem_param_instances STATIC "")
include(ParameterInstances/SourceList.cmake)
add_library(morefem_formulation_solver STATIC "")
include(FormulationSolver/SourceList.cmake)
add_library(morefem_model STATIC "")
include(Model/SourceList.cmake)
add_library(morefem_post_processing STATIC "")
include(PostProcessing/SourceList.cmake)
#source_group(ThirdParty REGULAR_EXPRESSION "ThirdParty/*")
# add_library(morefem_core STATIC "")
# include(Core/SourceList.cmake)
# set_property(TARGET morefem_core PROPERTY FOLDER "Core")
#
# add_library(morefem_geometry STATIC "")
# include(Geometry/SourceList.cmake)
#
# add_library(morefem_felt STATIC "")
# include(FiniteElement/SourceList.cmake)
#
# add_library(morefem_param STATIC "")
# include(Parameters/SourceList.cmake)
#
# add_library(morefem_op STATIC "")
# include(Operators/SourceList.cmake)
#
# add_library(morefem_op_instances STATIC "")
# include(OperatorInstances/SourceList.cmake)
#
# add_library(morefem_param_instances STATIC "")
# include(ParameterInstances/SourceList.cmake)
#
# add_library(morefem_formulation_solver STATIC "")
# include(FormulationSolver/SourceList.cmake)
#
# add_library(morefem_model STATIC "")
# include(Model/SourceList.cmake)
#
# add_library(morefem_post_processing STATIC "")
# include(PostProcessing/SourceList.cmake)
target_sources(morefem_core
PRIVATE
"Core/Crtp/NumberingSubsetForMatrix.hpp" /
"Core/Crtp/NumberingSubsetForMatrix.hxx" /
"${CMAKE_CURRENT_LIST_DIR}/NumberingSubsetForMatrix.hpp" /
"${CMAKE_CURRENT_LIST_DIR}/NumberingSubsetForMatrix.hxx" /
)
target_sources(morefem_core
PRIVATE
"Core/EnsightCaseReader/EnsightCaseReader.cpp" /
"Core/EnsightCaseReader/EnsightCaseReader.hpp" /
"Core/EnsightCaseReader/EnsightCaseReader.hxx" /
"${CMAKE_CURRENT_LIST_DIR}/EnsightCaseReader.cpp" /
"${CMAKE_CURRENT_LIST_DIR}/EnsightCaseReader.hpp" /
"${CMAKE_CURRENT_LIST_DIR}/EnsightCaseReader.hxx" /
)
target_sources(morefem_core
PRIVATE
"Core/InputParameter/Crtp/Section.cpp" /
"Core/InputParameter/Crtp/Section.hpp" /
"Core/InputParameter/Crtp/Section.hxx" /
"${CMAKE_CURRENT_LIST_DIR}/Section.cpp" /
"${CMAKE_CURRENT_LIST_DIR}/Section.hpp" /
"${CMAKE_CURRENT_LIST_DIR}/Section.hxx" /
)
target_sources(morefem_core
PRIVATE
"Core/InputParameter/DirichletBoundaryCondition/Impl/DirichletBoundaryCondition.cpp" /
"Core/InputParameter/DirichletBoundaryCondition/Impl/DirichletBoundaryCondition.hpp" /
"${CMAKE_CURRENT_LIST_DIR}/DirichletBoundaryCondition.cpp" /
"${CMAKE_CURRENT_LIST_DIR}/DirichletBoundaryCondition.hpp" /
)
target_sources(morefem_core
PRIVATE
"Core/InputParameter/DirichletBoundaryCondition/DirichletBoundaryCondition.hpp" /
"Core/InputParameter/DirichletBoundaryCondition/DirichletBoundaryCondition.hxx" /
"${CMAKE_CURRENT_LIST_DIR}/DirichletBoundaryCondition.hpp" /
"${CMAKE_CURRENT_LIST_DIR}/DirichletBoundaryCondition.hxx" /
)
include(Core/InputParameter/DirichletBoundaryCondition/Impl/SourceList.cmake)
include(${CMAKE_CURRENT_LIST_DIR}/Impl/SourceList.cmake)
target_sources(morefem_core
PRIVATE
"Core/InputParameter/FElt/Impl/FEltSpace.cpp" /
"Core/InputParameter/FElt/Impl/FEltSpace.hpp" /
"Core/InputParameter/FElt/Impl/NumberingSubset.cpp" /
"Core/InputParameter/FElt/Impl/NumberingSubset.hpp" /
"Core/InputParameter/FElt/Impl/Unknown.cpp" /
"Core/InputParameter/FElt/Impl/Unknown.hpp" /
"${CMAKE_CURRENT_LIST_DIR}/FEltSpace.cpp" /
"${CMAKE_CURRENT_LIST_DIR}/FEltSpace.hpp" /
"${CMAKE_CURRENT_LIST_DIR}/NumberingSubset.cpp" /
"${CMAKE_CURRENT_LIST_DIR}/NumberingSubset.hpp" /
"${CMAKE_CURRENT_LIST_DIR}/Unknown.cpp" /
"${CMAKE_CURRENT_LIST_DIR}/Unknown.hpp" /
)
target_sources(morefem_core
PRIVATE
"Core/InputParameter/FElt/FEltSpace.hpp" /
"Core/InputParameter/FElt/FEltSpace.hxx" /
"Core/InputParameter/FElt/NumberingSubset.hpp" /
"Core/InputParameter/FElt/NumberingSubset.hxx" /
"Core/InputParameter/FElt/Unknown.hpp" /
"Core/InputParameter/FElt/Unknown.hxx" /
"${CMAKE_CURRENT_LIST_DIR}/FEltSpace.hpp" /
"${CMAKE_CURRENT_LIST_DIR}/FEltSpace.hxx" /
"${CMAKE_CURRENT_LIST_DIR}/NumberingSubset.hpp" /
"${CMAKE_CURRENT_LIST_DIR}/NumberingSubset.hxx" /
"${CMAKE_CURRENT_LIST_DIR}/Unknown.hpp" /
"${CMAKE_CURRENT_LIST_DIR}/Unknown.hxx" /
)
include(Core/InputParameter/FElt/Impl/SourceList.cmake)
include(${CMAKE_CURRENT_LIST_DIR}/Impl/SourceList.cmake)
target_sources(morefem_core
PRIVATE
"Core/InputParameter/Geometry/Impl/Domain.cpp" /
"Core/InputParameter/Geometry/Impl/Domain.hpp" /
"Core/InputParameter/Geometry/Impl/LightweightDomainList.cpp" /
"Core/InputParameter/Geometry/Impl/LightweightDomainList.hpp" /
"Core/InputParameter/Geometry/Impl/Mesh.cpp" /
"Core/InputParameter/Geometry/Impl/Mesh.hpp" /
"Core/InputParameter/Geometry/Impl/PseudoNormals.cpp" /
"Core/InputParameter/Geometry/Impl/PseudoNormals.hpp" /
"${CMAKE_CURRENT_LIST_DIR}/Domain.cpp" /
"${CMAKE_CURRENT_LIST_DIR}/Domain.hpp" /
"${CMAKE_CURRENT_LIST_DIR}/LightweightDomainList.cpp" /
"${CMAKE_CURRENT_LIST_DIR}/LightweightDomainList.hpp" /
"${CMAKE_CURRENT_LIST_DIR}/Mesh.cpp" /
"${CMAKE_CURRENT_LIST_DIR}/Mesh.hpp" /
"${CMAKE_CURRENT_LIST_DIR}/PseudoNormals.cpp" /
"${CMAKE_CURRENT_LIST_DIR}/PseudoNormals.hpp" /
)
target_sources(morefem_core
PRIVATE
"Core/InputParameter/Geometry/Domain.hpp" /
"Core/InputParameter/Geometry/Domain.hxx" /
"Core/InputParameter/Geometry/InterpolationFile.cpp" /
"Core/InputParameter/Geometry/InterpolationFile.hpp" /
"Core/InputParameter/Geometry/InterpolationFile.hxx" /
"Core/InputParameter/Geometry/LightweightDomainList.hpp" /
"Core/InputParameter/Geometry/LightweightDomainList.hxx" /
"Core/InputParameter/Geometry/Mesh.hpp" /
"Core/InputParameter/Geometry/Mesh.hxx" /
"Core/InputParameter/Geometry/PseudoNormals.hpp" /
"Core/InputParameter/Geometry/PseudoNormals.hxx" /
"${CMAKE_CURRENT_LIST_DIR}/Domain.hpp" /
"${CMAKE_CURRENT_LIST_DIR}/Domain.hxx" /
"${CMAKE_CURRENT_LIST_DIR}/InterpolationFile.cpp" /
"${CMAKE_CURRENT_LIST_DIR}/InterpolationFile.hpp" /
"${CMAKE_CURRENT_LIST_DIR}/InterpolationFile.hxx" /
"${CMAKE_CURRENT_LIST_DIR}/LightweightDomainList.hpp" /
"${CMAKE_CURRENT_LIST_DIR}/LightweightDomainList.hxx" /
"${CMAKE_CURRENT_LIST_DIR}/Mesh.hpp" /
"${CMAKE_CURRENT_LIST_DIR}/Mesh.hxx" /
"${CMAKE_CURRENT_LIST_DIR}/PseudoNormals.hpp" /
"${CMAKE_CURRENT_LIST_DIR}/PseudoNormals.hxx" /
)
include(Core/InputParameter/Geometry/Impl/SourceList.cmake)
include(${CMAKE_CURRENT_LIST_DIR}/Impl/SourceList.cmake)
target_sources(morefem_core
PRIVATE
"Core/InputParameter/InitialCondition/Impl/InitialCondition.cpp" /
"Core/InputParameter/InitialCondition/Impl/InitialCondition.hpp" /
"${CMAKE_CURRENT_LIST_DIR}/InitialCondition.cpp" /
"${CMAKE_CURRENT_LIST_DIR}/InitialCondition.hpp" /
)
target_sources(morefem_core
PRIVATE
"Core/InputParameter/InitialCondition/InitialCondition.hpp" /
"Core/InputParameter/InitialCondition/InitialCondition.hxx" /
"${CMAKE_CURRENT_LIST_DIR}/InitialCondition.hpp" /
"${CMAKE_CURRENT_LIST_DIR}/InitialCondition.hxx" /
)
include(Core/InputParameter/InitialCondition/Impl/SourceList.cmake)
include(${CMAKE_CURRENT_LIST_DIR}/Impl/SourceList.cmake)
target_sources(morefem_core
PRIVATE
"Core/InputParameter/Interpolator/Impl/InitVertexMatching.cpp" /
"Core/InputParameter/Interpolator/Impl/InitVertexMatching.hpp" /
"${CMAKE_CURRENT_LIST_DIR}/InitVertexMatching.cpp" /
"${CMAKE_CURRENT_LIST_DIR}/InitVertexMatching.hpp" /
)
target_sources(morefem_core
PRIVATE
"Core/InputParameter/Interpolator/InitVertexMatching.hpp" /
"Core/InputParameter/Interpolator/InitVertexMatching.hxx" /
"${CMAKE_CURRENT_LIST_DIR}/InitVertexMatching.hpp" /
"${CMAKE_CURRENT_LIST_DIR}/InitVertexMatching.hxx" /
)
include(Core/InputParameter/Interpolator/Impl/SourceList.cmake)
include(${CMAKE_CURRENT_LIST_DIR}/Impl/SourceList.cmake)
target_sources(morefem_core
PRIVATE
"Core/InputParameter/Parameter/AnalyticalPrestress/AnalyticalPrestress.cpp" /
"Core/InputParameter/Parameter/AnalyticalPrestress/AnalyticalPrestress.hpp" /
"Core/InputParameter/Parameter/AnalyticalPrestress/AnalyticalPrestress.hxx" /
"${CMAKE_CURRENT_LIST_DIR}/AnalyticalPrestress.cpp" /
"${CMAKE_CURRENT_LIST_DIR}/AnalyticalPrestress.hpp" /
"${CMAKE_CURRENT_LIST_DIR}/AnalyticalPrestress.hxx" /
)
target_sources(morefem_core
PRIVATE
"Core/InputParameter/Parameter/Diffusion/Density.cpp" /
"Core/InputParameter/Parameter/Diffusion/Diffusion.cpp" /
"Core/InputParameter/Parameter/Diffusion/Diffusion.hpp" /
"Core/InputParameter/Parameter/Diffusion/Diffusion.hxx" /
"Core/InputParameter/Parameter/Diffusion/TransfertCoefficient.cpp" /
"${CMAKE_CURRENT_LIST_DIR}/Density.cpp" /
"${CMAKE_CURRENT_LIST_DIR}/Diffusion.cpp" /
"${CMAKE_CURRENT_LIST_DIR}/Diffusion.hpp" /
"${CMAKE_CURRENT_LIST_DIR}/Diffusion.hxx" /
"${CMAKE_CURRENT_LIST_DIR}/TransfertCoefficient.cpp" /
)
target_sources(morefem_core
PRIVATE
"Core/InputParameter/Parameter/ElectricalActivation/ElectricalActivation.cpp" /
"Core/InputParameter/Parameter/ElectricalActivation/ElectricalActivation.hpp" /
"Core/InputParameter/Parameter/ElectricalActivation/ElectricalActivation.hxx" /
"${CMAKE_CURRENT_LIST_DIR}/ElectricalActivation.cpp" /
"${CMAKE_CURRENT_LIST_DIR}/ElectricalActivation.hpp" /
"${CMAKE_CURRENT_LIST_DIR}/ElectricalActivation.hxx" /
)
target_sources(morefem_core
PRIVATE
"Core/InputParameter/Parameter/Fiber/Impl/Fiber.cpp" /
"Core/InputParameter/Parameter/Fiber/Impl/Fiber.hpp" /
"${CMAKE_CURRENT_LIST_DIR}/Fiber.cpp" /
"${CMAKE_CURRENT_LIST_DIR}/Fiber.hpp" /
)
target_sources(morefem_core
PRIVATE
"Core/InputParameter/Parameter/Fiber/Fiber.hpp" /
"Core/InputParameter/Parameter/Fiber/Fiber.hxx" /
"${CMAKE_CURRENT_LIST_DIR}/Fiber.hpp" /
"${CMAKE_CURRENT_LIST_DIR}/Fiber.hxx" /
)
include(Core/InputParameter/Parameter/Fiber/Impl/SourceList.cmake)
include(${CMAKE_CURRENT_LIST_DIR}/Impl/SourceList.cmake)
target_sources(morefem_core
PRIVATE
"Core/InputParameter/Parameter/Fluid/Fluid.cpp" /
"Core/InputParameter/Parameter/Fluid/Fluid.hpp" /
"${CMAKE_CURRENT_LIST_DIR}/Fluid.cpp" /
"${CMAKE_CURRENT_LIST_DIR}/Fluid.hpp" /
)
target_sources(morefem_core
PRIVATE
"Core/InputParameter/Parameter/Heart/Heart.cpp" /
"Core/InputParameter/Parameter/Heart/Heart.hpp" /
"Core/InputParameter/Parameter/Heart/Heart.hxx" /
"${CMAKE_CURRENT_LIST_DIR}/Heart.cpp" /
"${CMAKE_CURRENT_LIST_DIR}/Heart.hpp" /
"${CMAKE_CURRENT_LIST_DIR}/Heart.hxx" /
)
target_sources(morefem_core
PRIVATE
"Core/InputParameter/Parameter/Impl/ParameterUsualDescription.cpp" /
"Core/InputParameter/Parameter/Impl/ParameterUsualDescription.hpp" /
"Core/InputParameter/Parameter/Impl/ParameterUsualDescription.hxx" /
"${CMAKE_CURRENT_LIST_DIR}/ParameterUsualDescription.cpp" /
"${CMAKE_CURRENT_LIST_DIR}/ParameterUsualDescription.hpp" /
"${CMAKE_CURRENT_LIST_DIR}/ParameterUsualDescription.hxx" /
)
target_sources(morefem_core
PRIVATE
"Core/InputParameter/Parameter/MaterialProperty/VolumicMass.hpp" /
"Core/InputParameter/Parameter/MaterialProperty/VolumicMass.hxx" /
"${CMAKE_CURRENT_LIST_DIR}/VolumicMass.hpp" /
"${CMAKE_CURRENT_LIST_DIR}/VolumicMass.hxx" /
)
target_sources(morefem_core
PRIVATE
"Core/InputParameter/Parameter/Solid/C_i_Mu_i.cpp" /
"Core/InputParameter/Parameter/Solid/HyperelasticBulk.cpp" /
"Core/InputParameter/Parameter/Solid/Kappa1.cpp" /
"Core/InputParameter/Parameter/Solid/Kappa2.cpp" /
"Core/InputParameter/Parameter/Solid/LameLambda.cpp" /
"Core/InputParameter/Parameter/Solid/LameMu.cpp" /
"Core/InputParameter/Parameter/Solid/PoissonRatio.cpp" /
"Core/InputParameter/Parameter/Solid/Solid.cpp" /
"Core/InputParameter/Parameter/Solid/Solid.hpp" /
"Core/InputParameter/Parameter/Solid/Viscosity.cpp" /
"Core/InputParameter/Parameter/Solid/YoungModulus.cpp" /
"${CMAKE_CURRENT_LIST_DIR}/C_i_Mu_i.cpp" /
"${CMAKE_CURRENT_LIST_DIR}/HyperelasticBulk.cpp" /
"${CMAKE_CURRENT_LIST_DIR}/Kappa1.cpp" /
"${CMAKE_CURRENT_LIST_DIR}/Kappa2.cpp" /
"${CMAKE_CURRENT_LIST_DIR}/LameLambda.cpp" /
"${CMAKE_CURRENT_LIST_DIR}/LameMu.cpp" /
"${CMAKE_CURRENT_LIST_DIR}/PoissonRatio.cpp" /
"${CMAKE_CURRENT_LIST_DIR}/Solid.cpp" /
"${CMAKE_CURRENT_LIST_DIR}/Solid.hpp" /
"${CMAKE_CURRENT_LIST_DIR}/Viscosity.cpp" /
"${CMAKE_CURRENT_LIST_DIR}/YoungModulus.cpp" /
)
target_sources(morefem_core
PRIVATE
"Core/InputParameter/Parameter/Source/Impl/RectangularSourceTimeParameter.cpp" /
"Core/InputParameter/Parameter/Source/Impl/RectangularSourceTimeParameter.hpp" /
"Core/InputParameter/Parameter/Source/Impl/TransientSource.cpp" /
"Core/InputParameter/Parameter/Source/Impl/TransientSource.hpp" /
"${CMAKE_CURRENT_LIST_DIR}/RectangularSourceTimeParameter.cpp" /
"${CMAKE_CURRENT_LIST_DIR}/RectangularSourceTimeParameter.hpp" /
"${CMAKE_CURRENT_LIST_DIR}/TransientSource.cpp" /
"${CMAKE_CURRENT_LIST_DIR}/TransientSource.hpp" /
)
target_sources(morefem_core
PRIVATE
"Core/InputParameter/Parameter/Source/Pressure.cpp" /
"Core/InputParameter/Parameter/Source/Pressure.hpp" /
"Core/InputParameter/Parameter/Source/Pressure.hxx" /
"Core/InputParameter/Parameter/Source/RectangularSourceTimeParameter.hpp" /
"Core/InputParameter/Parameter/Source/RectangularSourceTimeParameter.hxx" /
"Core/InputParameter/Parameter/Source/ScalarTransientSource.hpp" /
"Core/InputParameter/Parameter/Source/ScalarTransientSource.hxx" /
"Core/InputParameter/Parameter/Source/VectorialTransientSource.hpp" /
"Core/InputParameter/Parameter/Source/VectorialTransientSource.hxx" /
"${CMAKE_CURRENT_LIST_DIR}/Pressure.cpp" /
"${CMAKE_CURRENT_LIST_DIR}/Pressure.hpp" /
"${CMAKE_CURRENT_LIST_DIR}/Pressure.hxx" /
"${CMAKE_CURRENT_LIST_DIR}/RectangularSourceTimeParameter.hpp" /
"${CMAKE_CURRENT_LIST_DIR}/RectangularSourceTimeParameter.hxx" /
"${CMAKE_CURRENT_LIST_DIR}/ScalarTransientSource.hpp" /
"${CMAKE_CURRENT_LIST_DIR}/ScalarTransientSource.hxx" /
"${CMAKE_CURRENT_LIST_DIR}/VectorialTransientSource.hpp" /
"${CMAKE_CURRENT_LIST_DIR}/VectorialTransientSource.hxx" /
)
include(Core/InputParameter/Parameter/Source/Impl/SourceList.cmake)
include(${CMAKE_CURRENT_LIST_DIR}/Impl/SourceList.cmake)
target_sources(morefem_core
PRIVATE
"Core/InputParameter/Parameter/SpatialFunction.cpp" /
"Core/InputParameter/Parameter/SpatialFunction.hpp" /
"Core/InputParameter/Parameter/SpatialFunction.hxx" /
"${CMAKE_CURRENT_LIST_DIR}/SpatialFunction.cpp" /
"${CMAKE_CURRENT_LIST_DIR}/SpatialFunction.hpp" /
"${CMAKE_CURRENT_LIST_DIR}/SpatialFunction.hxx" /
)
include(Core/InputParameter/Parameter/Impl/SourceList.cmake)
include(Core/InputParameter/Parameter/Heart/SourceList.cmake)
include(Core/InputParameter/Parameter/Source/SourceList.cmake)
include(Core/InputParameter/Parameter/AnalyticalPrestress/SourceList.cmake)
include(Core/InputParameter/Parameter/Solid/SourceList.cmake)
include(Core/InputParameter/Parameter/Diffusion/SourceList.cmake)
include(Core/InputParameter/Parameter/Fluid/SourceList.cmake)
include(Core/InputParameter/Parameter/MaterialProperty/SourceList.cmake)
include(Core/InputParameter/Parameter/ViscoelasticBoundaryCondition/SourceList.cmake)
include(Core/InputParameter/Parameter/ElectricalActivation/SourceList.cmake)
include(Core/InputParameter/Parameter/Fiber/SourceList.cmake)
include(${CMAKE_CURRENT_LIST_DIR}/Impl/SourceList.cmake)
include(${CMAKE_CURRENT_LIST_DIR}/Heart/SourceList.cmake)
include(${CMAKE_CURRENT_LIST_DIR}/Source/SourceList.cmake)
include(${CMAKE_CURRENT_LIST_DIR}/AnalyticalPrestress/SourceList.cmake)
include(${CMAKE_CURRENT_LIST_DIR}/Solid/SourceList.cmake)
include(${CMAKE_CURRENT_LIST_DIR}/Diffusion/SourceList.cmake)
include(${CMAKE_CURRENT_LIST_DIR}/Fluid/SourceList.cmake)
include(${CMAKE_CURRENT_LIST_DIR}/MaterialProperty/SourceList.cmake)
include(${CMAKE_CURRENT_LIST_DIR}/ViscoelasticBoundaryCondition/SourceList.cmake)
include(${CMAKE_CURRENT_LIST_DIR}/ElectricalActivation/SourceList.cmake)
include(${CMAKE_CURRENT_LIST_DIR}/Fiber/SourceList.cmake)
target_sources(morefem_core
PRIVATE
"Core/InputParameter/Parameter/ViscoelasticBoundaryCondition/ViscoelasticBoundaryCondition.cpp" /
"Core/InputParameter/Parameter/ViscoelasticBoundaryCondition/ViscoelasticBoundaryCondition.hpp" /
"Core/InputParameter/Parameter/ViscoelasticBoundaryCondition/ViscoelasticBoundaryCondition.hxx" /
"${CMAKE_CURRENT_LIST_DIR}/ViscoelasticBoundaryCondition.cpp" /
"${CMAKE_CURRENT_LIST_DIR}/ViscoelasticBoundaryCondition.hpp" /
"${CMAKE_CURRENT_LIST_DIR}/ViscoelasticBoundaryCondition.hxx" /
)
target_sources(morefem_core
PRIVATE
"Core/InputParameter/Reaction/FitzHughNagumo.cpp" /
"Core/InputParameter/Reaction/FitzHughNagumo.hpp" /
"Core/InputParameter/Reaction/FitzHughNagumo.hxx" /
"Core/InputParameter/Reaction/MitchellSchaeffer.cpp" /
"Core/InputParameter/Reaction/MitchellSchaeffer.hpp" /
"Core/InputParameter/Reaction/MitchellSchaeffer.hxx" /
"Core/InputParameter/Reaction/ReactionCoefficient.cpp" /
"Core/InputParameter/Reaction/ReactionCoefficient.hpp" /
"Core/InputParameter/Reaction/ReactionCoefficient.hxx" /
"${CMAKE_CURRENT_LIST_DIR}/FitzHughNagumo.cpp" /
"${CMAKE_CURRENT_LIST_DIR}/FitzHughNagumo.hpp" /
"${CMAKE_CURRENT_LIST_DIR}/FitzHughNagumo.hxx" /
"${CMAKE_CURRENT_LIST_DIR}/MitchellSchaeffer.cpp" /
"${CMAKE_CURRENT_LIST_DIR}/MitchellSchaeffer.hpp" /
"${CMAKE_CURRENT_LIST_DIR}/MitchellSchaeffer.hxx" /
"${CMAKE_CURRENT_LIST_DIR}/ReactionCoefficient.cpp" /
"${CMAKE_CURRENT_LIST_DIR}/ReactionCoefficient.hpp" /
"${CMAKE_CURRENT_LIST_DIR}/ReactionCoefficient.hxx" /
)
target_sources(morefem_core
PRIVATE
"Core/InputParameter/Solver/Impl/Petsc.cpp" /
"Core/InputParameter/Solver/Impl/Petsc.hpp" /
"${CMAKE_CURRENT_LIST_DIR}/Petsc.cpp" /
"${CMAKE_CURRENT_LIST_DIR}/Petsc.hpp" /
)
target_sources(morefem_core
PRIVATE
"Core/InputParameter/Solver/ConvergenceTest.cpp" /
"Core/InputParameter/Solver/ConvergenceTest.hpp" /
"Core/InputParameter/Solver/ConvergenceTest.hxx" /