Files
ResInsight/ThirdParty/Ert/devel/libecl_well/applications/CMakeLists.txt
Magne Sjaastad 7a24b2664e Updated ERT to handle multi segment wells
Updated input code in ResInsight accordingly

ERT version on GitHub
067fa99faa
p4#: 21920
2013-06-13 22:12:02 +02:00

24 lines
794 B
CMake

add_executable( well_info_test well_info_test.c )
add_executable( segment_info segment_info.c )
set(program_list well_info_test segment_info )
foreach(prog ${program_list})
target_link_libraries( ${prog} ecl_well ecl)
#-----------------------------------------------------------------
if (WELL_INSTALL_PREFIX)
set (destination ${CMAKE_INSTALL_PREFIX}/${WELL_INSTALL_PREFIX}/bin)
else()
set (destination ${CMAKE_INSTALL_PREFIX}/bin)
endif()
if (INSTALL_ERT)
install(TARGETS ${prog} DESTINATION ${destination})
if (INSTALL_GROUP)
install(CODE "EXECUTE_PROCESS(COMMAND chgrp ${INSTALL_GROUP} ${destination}/${prog})")
install(CODE "EXECUTE_PROCESS(COMMAND chmod g+w ${destination}/${prog})")
endif()
endif()
endforeach()