Skip to content

Commit

Permalink
prepare for sparse checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
weiyuan-jiang committed Feb 15, 2024
1 parent e9326df commit 21e7a41
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 10 deletions.
12 changes: 7 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
add_subdirectory(pre)
add_subdirectory(plots)
add_subdirectory(post)
add_subdirectory(coupled_diagnostics)

set (alldirs
pre
plots
post
coupled_diagnostic
)
esma_add_subdirectories (${alldirs})
15 changes: 10 additions & 5 deletions pre/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
add_subdirectory(NSIDC-OSTIA_SST-ICE_blend)
add_subdirectory(prepare_ocnExtData)
set (alldirs
NSIDC-OSTIA_SST-ICE_blend
prepare_ocnExtData
)
esma_add_subdirectories (${alldirs})

file(GLOB pythonscripts CONFIGURE_DEPENDS ./remap_restart/remap* ./remap_restart/bin2nc_merra2* ./remap_restart/tests/*.*)

Expand All @@ -13,6 +16,8 @@ set(file ./remap_restart/remap_utils.py)
configure_file(${file} ${file} @ONLY)
install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/${file} DESTINATION bin)

install(
PROGRAMS regrid.pl
DESTINATION bin)
if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/regrid.pl)
install(
PROGRAMS regrid.pl
DESTINATION bin)
endif()

0 comments on commit 21e7a41

Please sign in to comment.