Last active
November 16, 2022 15:28
-
-
Save scivision/4230fac074bbe895c3ad684fb30ca21b to your computer and use it in GitHub Desktop.
CPack template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# do this after all install(...) commands so that all targets are finalized. | |
# Essentially, the last thing included at the end of the top-level CMakeLists.txt | |
set(CPACK_GENERATOR "TBZ2") | |
set(CPACK_SOURCE_GENERATOR "TBZ2") | |
set(CPACK_PACKAGE_DIRECTORY ${PROJECT_BINARY_DIR}/package) | |
set(CPACK_SOURCE_IGNORE_FILES .git/ .github/ .vscode/ .mypy_cache/ _CPack_Packages/ | |
${CMAKE_BINARY_DIR}/ ${PROJECT_BINARY_DIR}/ | |
) | |
include(CPack) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment