https://gitlab.opengeosys.org/ogs/ogs.git
Tip revision: 9b2d0280672d27ec5f11020de1a0f989c101b07a authored by Dmitry Yu. Naumov on 11 December 2017, 20:57:27 UTC
Merge pull request #2019 from wenqing/fixing
Merge pull request #2019 from wenqing/fixing
Tip revision: 9b2d028
CMakeLists.txt
include(${PROJECT_SOURCE_DIR}/scripts/cmake/OGSEnabledElements.cmake)
APPEND_SOURCE_FILES(SOURCES)
APPEND_SOURCE_FILES(SOURCES BoundaryCondition)
APPEND_SOURCE_FILES(SOURCES CalculateSurfaceFlux)
APPEND_SOURCE_FILES(SOURCES ComponentTransport)
APPEND_SOURCE_FILES(SOURCES RichardsComponentTransport)
APPEND_SOURCE_FILES(SOURCES Deformation)
APPEND_SOURCE_FILES(SOURCES GroundwaterFlow)
APPEND_SOURCE_FILES(SOURCES HeatConduction)
APPEND_SOURCE_FILES(SOURCES HT)
APPEND_SOURCE_FILES(SOURCES HydroMechanics)
APPEND_SOURCE_FILES(SOURCES LIE/BoundaryCondition)
APPEND_SOURCE_FILES(SOURCES LIE/Common)
APPEND_SOURCE_FILES(SOURCES LIE/HydroMechanics)
APPEND_SOURCE_FILES(SOURCES LIE/HydroMechanics/LocalAssembler)
APPEND_SOURCE_FILES(SOURCES LIE/SmallDeformation)
APPEND_SOURCE_FILES(SOURCES LIE/SmallDeformation/LocalAssembler)
APPEND_SOURCE_FILES(SOURCES LiquidFlow)
APPEND_SOURCE_FILES(SOURCES Parameter)
APPEND_SOURCE_FILES(SOURCES PhaseField)
APPEND_SOURCE_FILES(SOURCES RichardsFlow)
APPEND_SOURCE_FILES(SOURCES SmallDeformation)
APPEND_SOURCE_FILES(SOURCES SourceTerms)
APPEND_SOURCE_FILES(SOURCES TES)
APPEND_SOURCE_FILES(SOURCES ThermoMechanics)
APPEND_SOURCE_FILES(SOURCES TwoPhaseFlowWithPP)
APPEND_SOURCE_FILES(SOURCES TwoPhaseFlowWithPrho)
APPEND_SOURCE_FILES(SOURCES ThermalTwoPhaseFlowWithPP)
APPEND_SOURCE_FILES(SOURCES Utils)
add_library(ProcessLib ${SOURCES})
target_link_libraries(ProcessLib
PUBLIC BaseLib GeoLib MaterialLib MathLib MeshLib NumLib logog
PRIVATE MeshGeoToolsLib
)
if(TARGET Eigen)
add_dependencies(ProcessLib Eigen)
endif()
if(TARGET Boost)
add_dependencies(ProcessLib Boost)
endif()
if(OGS_INSITU)
target_link_libraries(ProcessLib InSituLib)
endif()
if(OGS_USE_PCH)
cotire(ProcessLib)
endif()
### Tests ###
include(ComponentTransport/Tests.cmake)
include(GroundwaterFlow/Tests.cmake)
include(HeatConduction/Tests.cmake)
include(HT/Tests.cmake)
include(HydroMechanics/Tests.cmake)
include(LIE/HydroMechanics/Tests.cmake)
include(LIE/SmallDeformation/Tests.cmake)
include(LiquidFlow/Tests.cmake)
include(PhaseField/Tests.cmake)
include(RichardsFlow/Tests.cmake)
include(RichardsComponentTransport/Tests.cmake)
include(SmallDeformation/Tests.cmake)
include(TES/Tests.cmake)
include(ThermoMechanics/Tests.cmake)
include(TwoPhaseFlowWithPP/Tests.cmake)
include(TwoPhaseFlowWithPrho/Tests.cmake)
include(ThermalTwoPhaseFlowWithPP/Tests.cmake)