"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "examples/F90/CMakeLists.txt" between
netcdf-fortran-4.4.4.tar.gz and netcdf-fortran-4.4.5.tar.gz

About: NetCDF (network Common Data Form) is a set of software libraries and machine-independent data formats that support the creation, access, and sharing of array-oriented scientific data (Fortran library).

CMakeLists.txt  (netcdf-fortran-4.4.4):CMakeLists.txt  (netcdf-fortran-4.4.5)
SET(example_F90_tests simple_xy_wr simple_xy_rd sfc_pres_temp_wr sfc_pres_temp_r d pres_temp_4D_wr pres_temp_4D_rd) SET(example_F90_tests simple_xy_wr simple_xy_rd sfc_pres_temp_wr sfc_pres_temp_r d pres_temp_4D_wr pres_temp_4D_rd)
SET(example_F90_tests_source "") SET(example_F90_tests_source "")
##
# Copy over shell scripts
##
FILE(GLOB COPY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/*.sh)
FILE(COPY ${COPY_FILES} DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/)
FOREACH(F ${example_F90_tests}) FOREACH(F ${example_F90_tests})
SET(example_F90_tests_source ${example_F90_test_source} ${F}.f90) SET(example_F90_tests_source ${example_F90_test_source} ${F}.f90)
ENDFOREACH() ENDFOREACH()
SET(prefix F90_tests) SET(prefix F90_tests)
FOREACH(F ${example_F90_tests}) FOREACH(F ${example_F90_tests})
ADD_EXECUTABLE(${prefix}_${F} ${F}.f90) ADD_EXECUTABLE(${prefix}_${F} ${F}.f90)
TARGET_LINK_LIBRARIES(${prefix}_${F} netcdff ${NETCDF_C_LIBRARY}) TARGET_LINK_LIBRARIES(${prefix}_${F} netcdff ${NETCDF_C_LIBRARY})
IF(MSVC) IF(MSVC)
SET_TARGET_PROPERTIES(${prefix}_${F} SET_TARGET_PROPERTIES(${prefix}_${F}
PROPERTIES LINK_FLAGS_DEBUG " /NODEFAULTLIB:MSVCRT" PROPERTIES LINK_FLAGS_DEBUG " /NODEFAULTLIB:MSVCRT"
) )
ENDIF() ENDIF()
ADD_TEST(${prefix}_${F} ${EXECUTABLE_OUTPUT_PATH}/${prefix}_${F}) ADD_TEST(${prefix}_${F} ${EXECUTABLE_OUTPUT_PATH}/${prefix}_${F})
IF(MSVC) IF(MSVC)
SET_PROPERTY(TEST ${prefix}_${F} PROPERTY FOLDER "tests/") SET_PROPERTY(TEST ${prefix}_${F} PROPERTY FOLDER "tests/")
ENDIF() ENDIF()
ENDFOREACH() ENDFOREACH()
## Specify files to be distributed by 'make dist' IF(TEST_PARALLEL)
FILE(GLOB CUR_EXTRA_DIST RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SO build_bin_test(simple_xy_par_wr .f90)
URCE_DIR}/*.f90 ${CMAKE_CURRENT_SOURCE_DIR}/*.sh) build_bin_test(simple_xy_par_rd .f90)
SET(CUR_EXTRA_DIST ${CUR_EXTRA_DIST} CMakeLists.txt Makefile.am) build_bin_test(simple_xy_par_wr2 .f90)
ADD_EXTRA_DIST("${CUR_EXTRA_DIST}") add_sh_test(f90_tests run_f90_par_examples)
ENDIF(TEST_PARALLEL)
SET(CLEANFILES sfc_pres_temp.nc simple_xy.nc pres_temp_4D.nc simple_nc4.nc simpl e_xy_nc4.nc) SET(CLEANFILES sfc_pres_temp.nc simple_xy.nc pres_temp_4D.nc simple_nc4.nc simpl e_xy_nc4.nc)
SET_DIRECTORY_PROPERTIES(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "${CLEANFILES}") SET_DIRECTORY_PROPERTIES(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "${CLEANFILES}")
 End of changes. 2 change blocks. 
5 lines changed or deleted 13 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)