GEOS-ESM / ESMA_cmake

Custom CMake macros for the GEOS Earth System Model
Apache License 2.0
4 stars 9 forks source link

Add esma_cpack #200

Closed mathomp4 closed 3 years ago

mathomp4 commented 3 years ago

This adds some CPack configuration to ESMA_cmake that allows one to run make package_source or make dist in a build directory and the code will be tarred up for the user.

Note that due to ecbuild oddities, the include(esma_cpack) needs to be done after the call to ecbuild_install_project so that our CPack wins over ecbuild's. Thus we can't just have this include in the esma.cmake file. Dang.