2013-04-03 10:45:13 +00:00
|
|
|
set( _basedir grib1 )
|
|
|
|
|
|
|
|
list( APPEND ifs_samples_${_basedir}
|
|
|
|
gg_ml.tmpl
|
|
|
|
gg_sfc.tmpl
|
|
|
|
sh_ml.tmpl
|
|
|
|
sh_sfc.tmpl
|
|
|
|
)
|
|
|
|
|
2015-09-24 15:05:30 +00:00
|
|
|
install( FILES ${ECCODES_SAMPLES_FILES} ${ifs_samples_${_basedir}}
|
2015-09-22 10:42:54 +00:00
|
|
|
DESTINATION ${CMAKE_INSTALL_PREFIX}/${ECCODES_IFS_SAMPLES_SUFF}/${_basedir}
|
2013-04-03 10:45:13 +00:00
|
|
|
PERMISSIONS OWNER_WRITE OWNER_READ GROUP_READ WORLD_READ )
|
2015-01-19 10:23:02 +00:00
|
|
|
|
|
|
|
file( COPY ${ifs_samples_${_basedir}}
|
2015-09-22 10:42:54 +00:00
|
|
|
DESTINATION ${CMAKE_BINARY_DIR}/${ECCODES_IFS_SAMPLES_SUFF}/${_basedir} )
|
2015-09-24 15:05:30 +00:00
|
|
|
|
|
|
|
# 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} )
|