mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-29 08:30:17 -05:00
27 lines
648 B
CMake
27 lines
648 B
CMake
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}
|
|
RifInpReader.h
|
|
RifInpReader.cpp
|
|
RifGeoMechReaderInterface.h
|
|
RifGeoMechReaderInterface.cpp
|
|
RifInpIncludeReader.h
|
|
RifInpIncludeReader.cpp
|
|
RifVtkReader.h
|
|
RifVtkReader.cpp
|
|
)
|
|
|
|
target_include_directories(${PROJECT_NAME} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
|
|
|
target_link_libraries(
|
|
RifGeoMechFileInterface PUBLIC RigGeoMechDataModel LibCore
|
|
)
|
|
target_link_libraries(RifGeoMechFileInterface PRIVATE ResInsightCommonSettings)
|