2018-02-27 19:05:04 +01:00
|
|
|
cmake_minimum_required (VERSION 2.8.12)
|
2015-04-23 13:24:15 +02:00
|
|
|
|
|
|
|
|
project (RigGeoMechDataModel)
|
|
|
|
|
|
2020-01-23 13:41:31 +01:00
|
|
|
# Unity Build
|
|
|
|
|
if (RESINSIGHT_ENABLE_UNITY_BUILD)
|
|
|
|
|
message("Cmake Unity build is enabled on : ${PROJECT_NAME}")
|
|
|
|
|
set(CMAKE_UNITY_BUILD true)
|
|
|
|
|
endif()
|
|
|
|
|
|
2015-04-23 13:24:15 +02:00
|
|
|
add_library( ${PROJECT_NAME}
|
|
|
|
|
RigFemPart.h
|
|
|
|
|
RigFemPart.cpp
|
|
|
|
|
RigFemTypes.h
|
2015-04-27 15:04:05 +02:00
|
|
|
RigFemTypes.cpp
|
2015-04-23 13:24:15 +02:00
|
|
|
RigGeoMechCaseData.cpp
|
|
|
|
|
RigGeoMechCaseData.h
|
2015-04-27 10:25:04 +02:00
|
|
|
RigFemPartCollection.cpp
|
|
|
|
|
RigFemPartCollection.h
|
2015-05-06 16:07:30 +02:00
|
|
|
RigFemPartResults.h
|
|
|
|
|
RigFemPartResults.cpp
|
2015-06-04 12:35:22 +02:00
|
|
|
RigFemPartResultsCollection.h
|
|
|
|
|
RigFemPartResultsCollection.cpp
|
2015-05-06 16:07:30 +02:00
|
|
|
RigFemScalarResultFrames.h
|
|
|
|
|
RigFemScalarResultFrames.cpp
|
2020-05-09 08:57:07 +02:00
|
|
|
RigFemClosestResultIndexCalculator.h
|
|
|
|
|
RigFemClosestResultIndexCalculator.cpp
|
2015-05-06 16:07:30 +02:00
|
|
|
RigFemNativeStatCalc.h
|
|
|
|
|
RigFemNativeStatCalc.cpp
|
2015-11-06 10:18:55 +01:00
|
|
|
RigFemNativeVisibleCellsStatCalc.h
|
|
|
|
|
RigFemNativeVisibleCellsStatCalc.cpp
|
2015-05-26 08:57:53 +02:00
|
|
|
RigFemFaceComparator.h
|
|
|
|
|
RigFemPartGrid.h
|
|
|
|
|
RigFemPartGrid.cpp
|
2015-06-04 12:35:22 +02:00
|
|
|
RigFemResultAddress.h
|
|
|
|
|
RigFemResultPosEnum.h
|
2020-01-23 13:41:31 +01:00
|
|
|
RimFemResultObserver.h
|
2020-01-16 13:54:26 +01:00
|
|
|
RimFemResultObserver.cpp
|
|
|
|
|
RigHexGradientTools.h
|
|
|
|
|
RigHexGradientTools.cpp
|
2020-05-09 08:57:07 +02:00
|
|
|
RigFemPartResultCalculator.h
|
|
|
|
|
RigFemPartResultCalculator.cpp
|
|
|
|
|
RigFemPartResultCalculatorNormalSE.h
|
|
|
|
|
RigFemPartResultCalculatorNormalSE.cpp
|
|
|
|
|
RigFemPartResultCalculatorShearSE.h
|
|
|
|
|
RigFemPartResultCalculatorShearSE.cpp
|
|
|
|
|
RigFemPartResultCalculatorNormalST.h
|
|
|
|
|
RigFemPartResultCalculatorNormalST.cpp
|
|
|
|
|
RigFemPartResultCalculatorShearST.h
|
|
|
|
|
RigFemPartResultCalculatorShearST.cpp
|
|
|
|
|
RigFemPartResultCalculatorTimeLapse.h
|
|
|
|
|
RigFemPartResultCalculatorTimeLapse.cpp
|
|
|
|
|
RigFemPartResultCalculatorGamma.h
|
|
|
|
|
RigFemPartResultCalculatorGamma.cpp
|
|
|
|
|
RigFemPartResultCalculatorNormalized.h
|
|
|
|
|
RigFemPartResultCalculatorNormalized.cpp
|
|
|
|
|
RigFemPartResultCalculatorSurfaceAngles.h
|
|
|
|
|
RigFemPartResultCalculatorSurfaceAngles.cpp
|
|
|
|
|
RigFemPartResultCalculatorSurfaceAlignedStress.h
|
|
|
|
|
RigFemPartResultCalculatorSurfaceAlignedStress.cpp
|
|
|
|
|
RigFemPartResultCalculatorPrincipalStrain.h
|
|
|
|
|
RigFemPartResultCalculatorPrincipalStrain.cpp
|
|
|
|
|
RigFemPartResultCalculatorPrincipalStress.h
|
|
|
|
|
RigFemPartResultCalculatorPrincipalStress.cpp
|
|
|
|
|
RigFemPartResultCalculatorSFI.h
|
|
|
|
|
RigFemPartResultCalculatorSFI.cpp
|
|
|
|
|
RigFemPartResultCalculatorDSM.h
|
|
|
|
|
RigFemPartResultCalculatorDSM.cpp
|
|
|
|
|
RigFemPartResultCalculatorFOS.h
|
|
|
|
|
RigFemPartResultCalculatorFOS.cpp
|
|
|
|
|
RigFemPartResultCalculatorED.h
|
|
|
|
|
RigFemPartResultCalculatorED.cpp
|
|
|
|
|
RigFemPartResultCalculatorEV.h
|
|
|
|
|
RigFemPartResultCalculatorEV.cpp
|
|
|
|
|
RigFemPartResultCalculatorQ.h
|
|
|
|
|
RigFemPartResultCalculatorQ.cpp
|
2020-06-05 11:09:56 +02:00
|
|
|
RigFemPartResultCalculatorSM.h
|
|
|
|
|
RigFemPartResultCalculatorSM.cpp
|
2020-05-09 08:57:07 +02:00
|
|
|
RigFemPartResultCalculatorCompaction.h
|
|
|
|
|
RigFemPartResultCalculatorCompaction.cpp
|
|
|
|
|
RigFemPartResultCalculatorStressGradients.h
|
|
|
|
|
RigFemPartResultCalculatorStressGradients.cpp
|
|
|
|
|
RigFemPartResultCalculatorNE.h
|
|
|
|
|
RigFemPartResultCalculatorNE.cpp
|
|
|
|
|
RigFemPartResultCalculatorFormationIndices.h
|
|
|
|
|
RigFemPartResultCalculatorFormationIndices.cpp
|
|
|
|
|
RigFemPartResultCalculatorBarConverted.h
|
|
|
|
|
RigFemPartResultCalculatorBarConverted.cpp
|
|
|
|
|
RigFemPartResultCalculatorEnIpPorBar.h
|
|
|
|
|
RigFemPartResultCalculatorEnIpPorBar.cpp
|
|
|
|
|
RigFemPartResultCalculatorNodalGradients.h
|
|
|
|
|
RigFemPartResultCalculatorNodalGradients.cpp
|
2020-05-12 11:51:55 +02:00
|
|
|
RigFemPartResultCalculatorStressAnisotropy.h
|
|
|
|
|
RigFemPartResultCalculatorStressAnisotropy.cpp
|
2020-05-14 11:49:53 +02:00
|
|
|
RigFemPartResultCalculatorPoreCompressibility.h
|
|
|
|
|
RigFemPartResultCalculatorPoreCompressibility.cpp
|
2020-06-22 23:20:03 +02:00
|
|
|
RigFemPartResultCalculatorPorosityPermeability.h
|
|
|
|
|
RigFemPartResultCalculatorPorosityPermeability.cpp
|
2020-07-06 10:42:21 +02:00
|
|
|
RigFemPartResultCalculatorMudWeightWindow.h
|
|
|
|
|
RigFemPartResultCalculatorMudWeightWindow.cpp
|
2020-01-16 13:54:26 +01:00
|
|
|
RimGeoMechGeometrySelectionItem.h
|
|
|
|
|
RimGeoMechGeometrySelectionItem.cpp
|
2015-04-23 13:24:15 +02:00
|
|
|
)
|
2015-04-24 15:53:50 +02:00
|
|
|
|
2018-02-27 19:05:04 +01:00
|
|
|
target_include_directories(${PROJECT_NAME}
|
|
|
|
|
PUBLIC
|
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
|
|
|
)
|
|
|
|
|
|
2018-02-28 10:54:53 +01:00
|
|
|
set( LINK_LIBRARIES
|
2018-02-27 20:00:56 +01:00
|
|
|
LibCore
|
|
|
|
|
|
|
|
|
|
cafPdmCvf
|
|
|
|
|
cafTensor
|
|
|
|
|
cafUserInterface
|
|
|
|
|
CommonCode
|
|
|
|
|
|
|
|
|
|
ResultStatisticsCache
|
2018-02-28 10:54:53 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
target_link_libraries( ${PROJECT_NAME}
|
|
|
|
|
${LINK_LIBRARIES}
|
2018-02-27 20:00:56 +01:00
|
|
|
)
|
2018-02-27 19:05:04 +01:00
|
|
|
|
|
|
|
|
source_group("" FILES ${PROJECT_FILES})
|
2019-02-01 06:56:11 +01:00
|
|
|
|
2019-02-11 07:13:08 +01:00
|
|
|
# cotire
|
|
|
|
|
if (COMMAND caf_apply_cotire)
|
|
|
|
|
caf_apply_cotire("${PROJECT_NAME}")
|
2019-02-01 06:56:11 +01:00
|
|
|
endif()
|