mirror of https://github.com/ecmwf/eccodes.git
Copy over files to build area
This commit is contained in:
parent
2f72fdec8a
commit
8c09a49aa8
|
@ -23,7 +23,6 @@ if( ENABLE_TESTS )
|
||||||
set_property( TEST eccodes_download_gribs APPEND PROPERTY LABELS download_data )
|
set_property( TEST eccodes_download_gribs APPEND PROPERTY LABELS download_data )
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
||||||
# Copy other files - e.g. reference data, text files etc from the source data dir
|
# Copy other files - e.g. reference data, text files etc from the source data dir
|
||||||
LIST(APPEND other_files
|
LIST(APPEND other_files
|
||||||
60_model_levels
|
60_model_levels
|
||||||
|
@ -64,6 +63,7 @@ LIST(APPEND other_files
|
||||||
step_grib1.log
|
step_grib1.log
|
||||||
typeOfProcessedData.ok
|
typeOfProcessedData.ok
|
||||||
tigge_pf_ecmwf.grib2.ref
|
tigge_pf_ecmwf.grib2.ref
|
||||||
|
grib_data_files.txt
|
||||||
)
|
)
|
||||||
|
|
||||||
foreach( file ${other_files} )
|
foreach( file ${other_files} )
|
||||||
|
|
|
@ -11,3 +11,12 @@ ecbuild_get_test_multidata( TARGET eccodes_download_tigge_gribs
|
||||||
if( ENABLE_TESTS )
|
if( ENABLE_TESTS )
|
||||||
set_property( TEST eccodes_download_tigge_gribs APPEND PROPERTY LABELS download_data )
|
set_property( TEST eccodes_download_tigge_gribs APPEND PROPERTY LABELS download_data )
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
#######
|
||||||
|
# Copy other files - e.g. reference data, text files etc from the source data dir
|
||||||
|
LIST(APPEND other_files
|
||||||
|
tigge_data_files.txt
|
||||||
|
)
|
||||||
|
foreach( file ${other_files} )
|
||||||
|
execute_process( COMMAND ${CMAKE_COMMAND} -E copy_if_different ${CMAKE_CURRENT_SOURCE_DIR}/${file} ${CMAKE_CURRENT_BINARY_DIR} )
|
||||||
|
endforeach()
|
||||||
|
|
Loading…
Reference in New Issue