The goal is to build all packages (both archives and installers) from a single configuration in CMake.
Packaging Instruction
Get a list of supported CPack generators for your platform with:
0cpack --help
Run cpack
from the build directory after a successful build to select multiple package generators:
0cmake --build .
1cpack -G '7Z;NSIS64'
Or build the package
and/or package_source
targets:
0cmake --build . --target package
1cmake --build . --target package_source
TODO:
- Windows start menu entries
- Option to launch after install
- Component descriptions / dependencies / groups
- Auxiliary files (readme, config)