2024-01-03 11:55:35 +01:00
|
|
|
project(RifGeoMechFileInterface)
|
|
|
|
|
|
|
|
|
|
# Unity Build
|
|
|
|
|
if(RESINSIGHT_ENABLE_UNITY_BUILD)
|
|
|
|
|
message("Cmake Unity build is enabled on : ${PROJECT_NAME}")
|
|
|
|
|
set(CMAKE_UNITY_BUILD true)
|
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
add_library(
|
|
|
|
|
${PROJECT_NAME}
|
2025-05-21 16:12:29 +02:00
|
|
|
RifInpReader.h
|
|
|
|
|
RifInpReader.cpp
|
|
|
|
|
RifGeoMechReaderInterface.h
|
|
|
|
|
RifGeoMechReaderInterface.cpp
|
|
|
|
|
RifInpIncludeReader.h
|
|
|
|
|
RifInpIncludeReader.cpp
|
|
|
|
|
RifVtkReader.h
|
|
|
|
|
RifVtkReader.cpp
|
2024-01-03 11:55:35 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
target_include_directories(${PROJECT_NAME} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
|
|
|
|
|
2025-06-17 07:10:43 +02:00
|
|
|
target_link_libraries(
|
|
|
|
|
RifGeoMechFileInterface PUBLIC RigGeoMechDataModel LibCore
|
|
|
|
|
)
|
|
|
|
|
target_link_libraries(RifGeoMechFileInterface PRIVATE ResInsightCommonSettings)
|