Skip to content

Commit

Permalink
Merge pull request NOAA-EMC#200 from AlexanderRichert-NOAA/header_cle…
Browse files Browse the repository at this point in the history
…anup

Rename ip2lib_?.h
  • Loading branch information
AlexanderRichert-NOAA authored Sep 21, 2023
2 parents bbf7c23 + 6094218 commit 35f0298
Show file tree
Hide file tree
Showing 9 changed files with 546 additions and 661 deletions.
13 changes: 5 additions & 8 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@
# Mark Potts, Kyle Gerheiser, Ed Hartnett, Eric Engle

# These are the source code filees.
set(fortran_src gdswzd_c.F90 gdswzd_mod.F90 ip2lib_4.h
ip2lib_d.h ipolates.F90 ipolatev.F90 ipxetas.F90 ipxwafs.F90
ipxwafs2.F90 ipxwafs3.F90 movect.F90 bilinear_interp_mod.F90
bicubic_interp_mod.F90 neighbor_interp_mod.F90 budget_interp_mod.F90
spectral_interp_mod.F90 neighbor_budget_interp_mod.F90 ip_mod.F90
ip_grid_descriptor_mod.F90 ip_grid_mod.F90
set(fortran_src gdswzd_c.F90 gdswzd_mod.F90 ipolates.F90 ipolatev.F90
ipxetas.F90 ipxwafs.F90 ipxwafs2.F90 ipxwafs3.F90 movect.F90
bilinear_interp_mod.F90 bicubic_interp_mod.F90 neighbor_interp_mod.F90
budget_interp_mod.F90 spectral_interp_mod.F90 neighbor_budget_interp_mod.F90
ip_mod.F90 ip_grid_descriptor_mod.F90 ip_grid_mod.F90
ip_station_points_grid_mod.F90 ip_gaussian_grid_mod.F90
ip_equid_cylind_grid_mod.F90 ip_lambert_conf_grid_mod.F90
ip_mercator_grid_mod.F90 ip_polar_stereo_grid_mod.F90
Expand All @@ -22,7 +21,6 @@ foreach(kind ${kinds})
set(module_dir "${CMAKE_CURRENT_BINARY_DIR}/include_${kind}")

# Create the C header files for this kind.
configure_file(ip2lib_${kind}.h ${CMAKE_CURRENT_BINARY_DIR}/include_${kind}/ip2lib.h COPYONLY)
configure_file(iplib_${kind}.h ${CMAKE_CURRENT_BINARY_DIR}/include_${kind}/iplib.h COPYONLY)

# Compiled with preprocessor definition LSIZE=D, not d
Expand Down Expand Up @@ -57,7 +55,6 @@ foreach(kind ${kinds})
list(APPEND LIB_TARGETS ${lib_name})

install(DIRECTORY ${module_dir} DESTINATION ${CMAKE_INSTALL_PREFIX})
install(FILES ip2lib_${kind}.h DESTINATION ${CMAKE_INSTALL_PREFIX}/include_${kind} RENAME ip2lib.h)
install(FILES iplib_${kind}.h DESTINATION ${CMAKE_INSTALL_PREFIX}/include_${kind} RENAME iplib.h)
endforeach()

Expand Down
192 changes: 0 additions & 192 deletions src/ip2lib_4.h

This file was deleted.

Loading

0 comments on commit 35f0298

Please sign in to comment.