From ae7545bd4b8908656368d55bb6aae8c111324c17 Mon Sep 17 00:00:00 2001 From: Alex Richert Date: Fri, 14 Jun 2024 15:52:02 -0700 Subject: [PATCH] deprecate ipxetas --- src/CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 1a97fa6c..ce3f73df 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -4,7 +4,7 @@ # These are the source code filees. set(fortran_src gdswzd_c.F90 gdswzd_mod.F90 ipolates.F90 ipolatev.F90 -ipxetas.F90 ipxwafs.F90 ipxwafs2.F90 ipxwafs3.F90 movect.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 @@ -16,6 +16,10 @@ ip_constants_mod.F90 ip_grids_mod.F90 ip_grid_factory_mod.F90 ip_interpolators_mod.F90 earth_radius_mod.F90 polfix_mod.F90 sp_mod.F) +if(BUILD_DEPRECATED) + set(fortran_src ${fortran_src} ipxetas.F90) +endif() + # Set compiler flags. if(CMAKE_BUILD_TYPE MATCHES "Debug") # Bounds checking is turned on for all files for the "Debug" build in the