mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-04 04:23:55 -07:00
Windows: Generate an nsis package on the fly with "make package"
This commit is contained in:
parent
29a7415f95
commit
803fd7c95d
3 changed files with 18 additions and 8 deletions
|
|
@ -140,6 +140,12 @@ elseif(WIN32)
|
|||
set(CPACK_NSIS_URL_INFO_ABOUT "https://github.com/Daenyth/Cockatrice")
|
||||
set(CPACK_NSIS_CONTACT "Daenyth+github@gmail.com")
|
||||
set(CPACK_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/nsis")
|
||||
|
||||
# Configure file with custom definitions for NSIS.
|
||||
configure_file(
|
||||
${PROJECT_SOURCE_DIR}/nsis/NSIS.definitions.nsh.in
|
||||
${PROJECT_BINARY_DIR}/NSIS.definitions.nsh
|
||||
)
|
||||
endif()
|
||||
|
||||
include(CPack)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue