| 1 |
set(CPACK_PACKAGE_NAME "NetRadiant") |
| 2 |
set(CPACK_PACKAGE_VERSION_MAJOR "${NetRadiant_VERSION_MAJOR}") |
| 3 |
set(CPACK_PACKAGE_VERSION_MINOR "${NetRadiant_VERSION_MINOR}") |
| 4 |
set(CPACK_PACKAGE_VERSION_PATCH "${NetRadiant_VERSION_PATCH}") |
| 5 |
|
| 6 |
# binary: --target package |
| 7 |
set(CPACK_GENERATOR "ZIP") |
| 8 |
set(CPACK_STRIP_FILES 1) |
| 9 |
|
| 10 |
# source: --target package_source |
| 11 |
set(CPACK_SOURCE_GENERATOR "ZIP") |
| 12 |
set(CPACK_SOURCE_IGNORE_FILES "/\\\\.git/;/build/;/install/") |
| 13 |
|
| 14 |
# configure |
| 15 |
include(InstallRequiredSystemLibraries) |
| 16 |
include(CPack) |