mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-21 14:03:18 -06:00
dc8931f782
Fixes incorrect horizontal and vertical end-point scaling of model's saturation functions. API Change: No longer supports user-selected behaviour for treating scaled end-points with a sentinel value (-1.0E+20). That option was introduced due to incomplete understanding of the semantics of the sentinel value. Now that we understand the meaning (use actual, unscaled end-point value from input table), we no longer need the option. Update the calling code in RigFlowDiagSolverInterface.cpp accordingly.
40 lines
908 B
CMake
40 lines
908 B
CMake
cmake_minimum_required (VERSION 2.8.12)
|
|
|
|
project (custom-opm-flowdiag-app)
|
|
|
|
include_directories(
|
|
../custom-opm-flowdiagnostics/opm-flowdiagnostics
|
|
opm-flowdiagnostics-applications
|
|
)
|
|
|
|
include (opm-flowdiagnostics-applications/CMakeLists_files.cmake)
|
|
|
|
set(project_source_files
|
|
${MAIN_SOURCE_FILES}
|
|
${PUBLIC_HEADER_FILES}
|
|
)
|
|
|
|
foreach (file ${project_source_files} )
|
|
list(APPEND project_source_files_complete_path1 "opm-flowdiagnostics-applications/${file}" )
|
|
endforeach()
|
|
|
|
add_definitions(-DHAVE_ERT_ECL_TYPE_H)
|
|
|
|
add_library(custom-opm-flowdiag-app
|
|
${project_source_files_complete_path1}
|
|
)
|
|
|
|
target_link_libraries(custom-opm-flowdiag-app
|
|
ecl
|
|
boost-Subset
|
|
)
|
|
|
|
if (MSVC)
|
|
set_target_properties(${PROJECT_NAME} PROPERTIES COMPILE_FLAGS "/wd4190 /wd4267")
|
|
endif()
|
|
|
|
target_include_directories(${PROJECT_NAME}
|
|
PUBLIC
|
|
${CMAKE_CURRENT_SOURCE_DIR}/opm-flowdiagnostics-applications
|
|
)
|