Appveyor artifacts added

This commit is contained in:
Linus Probert 2018-05-09 22:30:22 +02:00
parent 3e6b784025
commit 610c7eed8e
2 changed files with 8 additions and 1 deletions

View File

@ -78,3 +78,7 @@ build_script:
- |- - |-
mingw32-make breakhack mingw32-make breakhack
mingw32-make package mingw32-make package
artifacts:
- path: /.\BreakHack*.exe/
- path: /.\BreakHack*.zip/

View File

@ -269,8 +269,11 @@ set(CPACK_PACKAGE_FILE_NAME "breakhack-${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PA
set(CPACK_PACKAGE_CHECKSUM "MD5") set(CPACK_PACKAGE_CHECKSUM "MD5")
if(UNIX) if(UNIX)
set(CPACK_GENERATOR STGZ TGZ TZ)
set(CPACK_STRIP_FILES breakhack) set(CPACK_STRIP_FILES breakhack)
set(CPACK_SOURCE_STRIP_FILES "") set(CPACK_SOURCE_STRIP_FILES "")
endif(UNIX) elseif(WIN32)
set(CPACK_GENERATOR NSIS ZIP)
endif()
include(CPack) include(CPack)