mirror of https://github.com/ecmwf/eccodes.git
CMake test changes
This commit is contained in:
parent
507528ce79
commit
6220118990
|
@ -153,6 +153,6 @@ endforeach()
|
|||
|
||||
# debug_var(tgts)
|
||||
# Another dummy target which depends on all previous targets
|
||||
#add_custom_target( getdata ALL DEPENDS ${tgts} )
|
||||
add_custom_target( getdata DEPENDS ${tgts} )
|
||||
add_dependencies( check getdata )
|
||||
#add_custom_target( get_gribs ALL DEPENDS ${tgts} )
|
||||
add_custom_target( get_gribs DEPENDS ${tgts} )
|
||||
add_dependencies( check get_gribs )
|
||||
|
|
|
@ -256,8 +256,6 @@ foreach (f ${tigge_files_to_download})
|
|||
LIST(APPEND tgts "${tgt}")
|
||||
endforeach()
|
||||
|
||||
# debug_var(tgts)
|
||||
# Anotehr dummy target which depends on all previous targets
|
||||
add_custom_target( get_tigge_data DEPENDS ${tgts} )
|
||||
add_dependencies( check get_tigge_data )
|
||||
add_custom_target( get_tigge_gribs DEPENDS ${tgts} )
|
||||
add_dependencies( check get_tigge_gribs )
|
||||
|
||||
|
|
|
@ -41,10 +41,12 @@ list( APPEND tests
|
|||
# )
|
||||
|
||||
foreach( tool ${tests} )
|
||||
|
||||
# Build the Fortran executable
|
||||
ecbuild_add_executable( TARGET f_${tool}
|
||||
NOINSTALL
|
||||
SOURCES ${tool}.f90
|
||||
CONDITION ENABLE_FORTRAN
|
||||
LINKER_LANGUAGE Fortran
|
||||
LIBS grib_api_f90 grib_api
|
||||
)
|
||||
|
@ -62,18 +64,21 @@ endforeach()
|
|||
ecbuild_add_executable( TARGET f_new_from_file
|
||||
NOINSTALL
|
||||
SOURCES new_from_file.f90
|
||||
CONDITION ENABLE_FORTRAN
|
||||
LINKER_LANGUAGE Fortran
|
||||
LIBS grib_api_f90 grib_api
|
||||
)
|
||||
ecbuild_add_executable( TARGET f_copy_namespace
|
||||
NOINSTALL
|
||||
SOURCES copy_namespace.f90
|
||||
CONDITION ENABLE_FORTRAN
|
||||
LINKER_LANGUAGE Fortran
|
||||
LIBS grib_api_f90 grib_api
|
||||
)
|
||||
ecbuild_add_executable( TARGET f_set_gvc
|
||||
NOINSTALL
|
||||
SOURCES set_gvc.f90
|
||||
CONDITION ENABLE_FORTRAN
|
||||
LINKER_LANGUAGE Fortran
|
||||
LIBS grib_api_f90 grib_api
|
||||
)
|
||||
|
|
|
@ -301,6 +301,7 @@ list( APPEND grib_api_srcs
|
|||
md5.h
|
||||
md5.c
|
||||
# Ship our generated lex/yacc C files
|
||||
grib_yacc.c grib_lex.c
|
||||
grib_windef.h
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue