CMake: remove dependency on target 'check'. Normal make will download data

This commit is contained in:
Shahram Najm 2014-07-11 13:25:27 +01:00
parent 35a9a71eb9
commit 0ed10ea106
4 changed files with 5 additions and 4 deletions

View File

@ -147,4 +147,4 @@ endforeach()
# Another dummy target which depends on all previous targets
#add_custom_target( get_gribs ALL DEPENDS ${tgts} )
add_custom_target( get_gribs DEPENDS ${tgts} )
add_dependencies( check get_gribs )

View File

@ -148,5 +148,4 @@ foreach (f ${bufr_files_to_download})
endforeach()
add_custom_target( get_bufr_gribs DEPENDS ${tgts} )
add_dependencies( check get_bufr_gribs )

View File

@ -257,5 +257,4 @@ foreach (f ${tigge_files_to_download})
endforeach()
add_custom_target( get_tigge_gribs DEPENDS ${tgts} )
add_dependencies( check get_tigge_gribs )

View File

@ -66,9 +66,12 @@ list( APPEND tests
)
foreach( test ${tests} )
# Note: making the test dependent on the grib data files
# means they will be downloaded at "make" time
# rather than when you do "make test"
ecbuild_add_test( TARGET t_${test}
TYPE SCRIPT
DEPENDS get_gribs get_tigge_gribs get_bufr_gribs
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/${test}.sh
RESOURCES include.sh
)