Skip to content

Commit

Permalink
comment out openvds and hdf5
Browse files Browse the repository at this point in the history
  • Loading branch information
magnesj committed Dec 8, 2023
1 parent 8bed29b commit dd3ca4a
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions ApplicationExeCode/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -340,23 +340,23 @@ if(MSVC)
endif()

# OpenVDS Dlls
set(OPENVDS_DLL_NAMES openvds segyutils)
foreach(OPENVDS_DLL_NAME ${OPENVDS_DLL_NAMES})
list(APPEND RI_FILENAMES
${RESINSIGHT_OPENVDS_API_DIR}/bin/msvc_141/${OPENVDS_DLL_NAME}.dll
)
endforeach(OPENVDS_DLL_NAME)
list(APPEND RI_FILENAMES
${RESINSIGHT_OPENVDS_API_DIR}/bin/msvc_141/SEGYImport.exe
)
# set(OPENVDS_DLL_NAMES openvds segyutils)
# foreach(OPENVDS_DLL_NAME ${OPENVDS_DLL_NAMES})
# list(APPEND RI_FILENAMES
# ${RESINSIGHT_OPENVDS_API_DIR}/bin/msvc_141/${OPENVDS_DLL_NAME}.dll
# )
# endforeach(OPENVDS_DLL_NAME)
# list(APPEND RI_FILENAMES
# ${RESINSIGHT_OPENVDS_API_DIR}/bin/msvc_141/SEGYImport.exe
# )

# HDF5 Dlls
if(RESINSIGHT_FOUND_HDF5)
set(HDF5_DLL_NAMES hdf5 hdf5_cpp szip zlib)
foreach(HDF5_DLL_NAME ${HDF5_DLL_NAMES})
list(APPEND RI_FILENAMES ${RESINSIGHT_HDF5_DIR}/bin/${HDF5_DLL_NAME}.dll)
endforeach(HDF5_DLL_NAME)
endif()
# if(RESINSIGHT_FOUND_HDF5)
# set(HDF5_DLL_NAMES hdf5 hdf5_cpp szip zlib)
# foreach(HDF5_DLL_NAME ${HDF5_DLL_NAMES})
# list(APPEND RI_FILENAMES ${RESINSIGHT_HDF5_DIR}/bin/${HDF5_DLL_NAME}.dll)
# endforeach(HDF5_DLL_NAME)
# endif()

else()
# Linux
Expand All @@ -381,14 +381,14 @@ else()
endif(MSVC)

# Copy dependencies to make it possible to run ResInsight from the build folder
#foreach(FILE_TO_COPY ${RI_FILENAMES})
# add_custom_command(
# TARGET ResInsight
# POST_BUILD
# COMMAND ${CMAKE_COMMAND} -E copy_if_different ${FILE_TO_COPY}
# $<TARGET_FILE_DIR:ResInsight>
# )
#endforeach()
foreach(FILE_TO_COPY ${RI_FILENAMES})
add_custom_command(
TARGET ResInsight
POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy_if_different ${FILE_TO_COPY}
$<TARGET_FILE_DIR:ResInsight>
)
endforeach()

# Generate Python code in a target that is part of ALL_BUILD and depends on
# ResInsight
Expand Down

0 comments on commit dd3ca4a

Please sign in to comment.