mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-03 12:16:45 -05:00
Replaced all references to RiaStatisticsTools with RigStatisticsTools across the codebase, including header includes, static method calls, and test files. Updated CMake configuration to remove RiaStatisticsTools and add RigStatisticsTools. Renamed and updated related unit tests. No changes to logic or algorithms; this is a namespace and organizational refactor for consistency. Also added ApplicationLibCode include directories as PRIVATE to relevant targets.
31 lines
784 B
CMake
31 lines
784 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)
|
|
target_include_directories(
|
|
RifGeoMechFileInterface
|
|
PRIVATE "$<TARGET_PROPERTY:ApplicationLibCode,INTERFACE_INCLUDE_DIRECTORIES>"
|
|
)
|