check_fortran_source_runs(<code> <resultVar> [SRC_EXT <extension>])
check_fortran_source_runs(<code> <resultVar> [SRC_EXT <extension>])
check_fortran_source_runs(
"program testf
use netcdf
write(6,*) nf90_strerror(0)
write(6,*) 'testing a Fortran program'
end program testf"
NetCDF_F90_WORKS)
check_fortran_source_runs (${PROG_SRC_CODE} FC_AVAIL_KINDS_RESULT SRC_EXT f90)
check_fortran_source_runs(
"program testf
use netcdf
write(6,*) nf90_strerror(0)
write(6,*) 'testing a Fortran program'
end program testf"
NetCDF_F90_WORKS)