diff options
author | Klaas Freitag <freitag@owncloud.com> | 2012-04-02 15:44:24 +0400 |
---|---|---|
committer | Klaas Freitag <freitag@owncloud.com> | 2012-04-02 15:44:24 +0400 |
commit | 95f6f90cb5232054d723d633564e3dbdee240d47 (patch) | |
tree | 9b50860202be63b6dcde213054be0112a0ddcced /CPackOptions.cmake.in | |
parent | 43a9d1dcd04c1483e06dd4f77e6ced9b7c9e4586 (diff) |
Add win32 packaging with nsi
Diffstat (limited to 'CPackOptions.cmake.in')
-rw-r--r-- | CPackOptions.cmake.in | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/CPackOptions.cmake.in b/CPackOptions.cmake.in new file mode 100644 index 000000000..29ed9a19b --- /dev/null +++ b/CPackOptions.cmake.in @@ -0,0 +1,11 @@ +# This file is configured at cmake time, and loaded at cpack time. +# To pass variables to cpack from cmake, they must be configured +# in this file. + +if(CPACK_GENERATOR MATCHES "NSIS") + SET( CPACK_PACKAGE_ICON @CMAKE_SOURCE_DIR@/admin/win/nsi/installer.ico ) # A branding image that will be displayed on the top bar inside the installer. installer.bmp + SET( CPACK_NSIS_COMPRESSOR "/SOLID lzma" ) # The arguments that will be passed to the NSIS SetCompressor command. /SOLID lzma +endif(CPACK_GENERATOR MATCHES "NSIS") + +SET( CMAKE_SOURCE_DIR @CMAKE_SOURCE_DIR@ ) +SET( CMAKE_BINARY_DIR @CMAKE_BINARY_DIR@ )
\ No newline at end of file |