mirror of https://github.com/ecmwf/eccodes.git
GRIB-838: CMake: IFS sample files not copied to build directory
This commit is contained in:
parent
77e108821e
commit
6a31fdedbc
|
@ -7,9 +7,13 @@ list( APPEND ifs_samples_${_basedir}
|
|||
sh_sfc.tmpl
|
||||
)
|
||||
|
||||
install( FILES ${ECCODES_SAMPLES_FILES} ${ifs_samples_${_basedir}}
|
||||
install( FILES ${ECCODES_SAMPLES_FILES} ${ifs_samples_${_basedir}}
|
||||
DESTINATION ${CMAKE_INSTALL_PREFIX}/${ECCODES_IFS_SAMPLES_SUFF}/${_basedir}
|
||||
PERMISSIONS OWNER_WRITE OWNER_READ GROUP_READ WORLD_READ )
|
||||
|
||||
file( COPY ${ifs_samples_${_basedir}}
|
||||
DESTINATION ${CMAKE_BINARY_DIR}/${ECCODES_IFS_SAMPLES_SUFF}/${_basedir} )
|
||||
|
||||
# Also copy the ifs sample files to the build dir (for developer mode)
|
||||
file( COPY ${ECCODES_SAMPLES_FILES} ${ifs_samples_${_basedir}}
|
||||
DESTINATION ${CMAKE_CURRENT_BINARY_DIR} )
|
||||
|
|
|
@ -13,3 +13,7 @@ install( FILES ${ECCODES_SAMPLES_FILES} ${ifs_samples_${_basedir}}
|
|||
|
||||
file( COPY ${ifs_samples_${_basedir}}
|
||||
DESTINATION ${CMAKE_BINARY_DIR}/${ECCODES_IFS_SAMPLES_SUFF}/${_basedir} )
|
||||
|
||||
# Also copy the ifs sample files to the build dir (for developer mode)
|
||||
file( COPY ${ECCODES_SAMPLES_FILES} ${ifs_samples_${_basedir}}
|
||||
DESTINATION ${CMAKE_CURRENT_BINARY_DIR} )
|
||||
|
|
|
@ -7,9 +7,13 @@ list( APPEND ifs_samples_${_basedir}
|
|||
sh_sfc.tmpl
|
||||
)
|
||||
|
||||
install( FILES ${ECCODES_SAMPLES_FILES} ${ifs_samples_${_basedir}}
|
||||
install( FILES ${ECCODES_SAMPLES_FILES} ${ifs_samples_${_basedir}}
|
||||
DESTINATION ${ECCODES_IFS_SAMPLES_PATH}/${_basedir}
|
||||
PERMISSIONS OWNER_WRITE OWNER_READ GROUP_READ WORLD_READ )
|
||||
|
||||
file( COPY ${ifs_samples_${_basedir}}
|
||||
DESTINATION ${CMAKE_BINARY_DIR}/share/${PROJECT_NAME}/ifs_samples/${_basedir} )
|
||||
|
||||
# Also copy the ifs sample files to the build dir (for developer mode)
|
||||
file( COPY ${ECCODES_SAMPLES_FILES} ${ifs_samples_${_basedir}}
|
||||
DESTINATION ${CMAKE_CURRENT_BINARY_DIR} )
|
||||
|
|
|
@ -7,9 +7,13 @@ list( APPEND ifs_samples_${_basedir}
|
|||
sh_sfc.tmpl
|
||||
)
|
||||
|
||||
install( FILES ${ECCODES_SAMPLES_FILES} ${ifs_samples_${_basedir}}
|
||||
install( FILES ${ECCODES_SAMPLES_FILES} ${ifs_samples_${_basedir}}
|
||||
DESTINATION ${CMAKE_INSTALL_PREFIX}/${ECCODES_IFS_SAMPLES_SUFF}/${_basedir}
|
||||
PERMISSIONS OWNER_WRITE OWNER_READ GROUP_READ WORLD_READ )
|
||||
|
||||
file( COPY ${ifs_samples_${_basedir}}
|
||||
DESTINATION ${CMAKE_BINARY_DIR}/${ECCODES_IFS_SAMPLES_SUFF}/${_basedir} )
|
||||
|
||||
# Also copy the ifs sample files to the build dir (for developer mode)
|
||||
file( COPY ${ECCODES_SAMPLES_FILES} ${ifs_samples_${_basedir}}
|
||||
DESTINATION ${CMAKE_CURRENT_BINARY_DIR} )
|
||||
|
|
Loading…
Reference in New Issue