Closed lgarithm closed 6 years ago
https://gitlab.kitware.com/cmake/community/wikis/doc/cpack/examples/linux/DEB
simply add 1 line:
INCLUDE(CPack)
would generate .tar.gz.
.tar.gz
for rpm or dpkg, add the following
SET(CPACK_GENERATOR "RPM")
or
SET(CPACK_GENERATOR "DEB")
https://gitlab.kitware.com/cmake/community/wikis/doc/cpack/examples/linux/DEB