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
|
|
|
|
|
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
|
|
|
|
|
RimFemResultObserver.cpp
|
|
|
|
|
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()
|