InternalRelease
The goal is to prepare a specific version of Snowpack for internal redistribution. This is usually performed by the local IT and made available in binary form (read: installer) for all users. The requirements regarding code polishing, making sure that the milestones have been reached, promoting the release are all removed, making the whole process simpler.
Compiling the various components
The goal is to compile the source code of meteoio and snowpack as well as prepare the documentation. It is highly recommended to follow the source setup described in Getting-started.
- For MeteoIO:
- remove all previous objects, libraries, etc by making a
make distclean
and removing all files in lib/ (make sure you also have a clean doc directory) - in cmake, choose:
- BUILD_SHARED_LIBS OFF (at least on Windows)
- INSTALL_DOC ON
- CMAKE_BUILD_TYPE release
- DEST optimized only if your binary would be distributed on computers with the same instructions set as the computer doing the compilation, otherwise choose "safe"
- VERSION_FROM_GIT ON if your sources come from a git clone (using the git version as release number gives much better information when reporting issues)
- compile with
make
- prepare the documentation with
make doc
(you need doxygen and it is recommended to have graphviz for generating dependency graphs)
- remove all previous objects, libraries, etc by making a
- For Snowpack:
- remove all previous objects, libraries, etc by making a
make distclean
and removing all files in lib/ (make sure you also have a clean doc directory) - in cmake, choose:
- BUILD_SHARED_LIBS OFF (at least on Windows)
- INSTALL_DOC ON
- CMAKE_BUILD_TYPE release
- DEST optimized only if your binary would be distributed on computers with the same instructions set as the computer doing the compilation, otherwise choose "safe"
- VERSION_FROM_GIT ON if your sources come from a git clone (using the git version as release number gives much better information when reporting issues)
- CPACK_BUNDLE_ALL ON in order to generate one installer containing everything that is needed (including meteoio and inishell)
- compile with
make
- prepare the documentation with
make doc
(you need doxygen and it is recommended to have graphviz for generating dependency graphs)
- remove all previous objects, libraries, etc by making a
Packaging
See packaging instructions
Last update:
June 13, 2022