add cpack settings for creating source packages

This commit is contained in:
walker0643 2018-03-19 13:50:08 -04:00
parent 12ed71250a
commit 626aa9a3e8

View File

@ -3,5 +3,7 @@ if (UNIX)
set (CPACK_PACKAGE_VERSION_MINOR ${BARRIER_VERSION_MINOR})
set (CPACK_PACKAGE_VERSION_PATCH ${BARRIER_VERSION_PATCH})
set (CPACK_GENERATOR "TBZ2")
set (CPACK_SOURCE_GENERATOR "TXZ")
set (CPACK_SOURCE_IGNORE_FILES "/build/;\.gitignore$;/\.git/;/.github/;\.swp$;build_env\.*")
include (CPack)
endif()