AirspaceConverter
AirspaceConverter copied to clipboard
Add support for cmake build chain
CMake has an extension called CPack which abstracts away the process of building packages for different operating
systems, it might be worth looking into that in order to generate .rpm, .deb etc from the same configuration file.
Here are some potentially useful docs I found on using CPack as part of a CMakeLists.txt:
https://cmake.org/cmake/help/latest/module/CPack.html
https://manpages.debian.org/unstable/cmake-data/cpack-generators.7.en.html
https://schneide.blog/2013/02/11/build-a-rpm-package-using-cmake/
https://gitlab.kitware.com/cmake/community/-/wikis/doc/cpack/Packaging-With-CPack