Browse files

cmake: get initial windows cpack generators to work

  • Loading branch information...
1 parent 5ae51d1 commit 59f6d293359c431939b28219a148cd0ad75f0d36 @awakecoding awakecoding committed Oct 17, 2012
View
2 .gitignore
@@ -15,6 +15,8 @@ DartConfiguration.tcl
_CPack_Packages
# Packages
+*.zip
+*.exe
*.sh
*.tar.Z
*.tar.gz
View
10 CMakeLists.txt
@@ -307,8 +307,12 @@ set(CPACK_PACKAGE_VERSION_MAJOR ${FREERDP_VERSION_MAJOR})
set(CPACK_PACKAGE_VERSION_MINOR ${FREERDP_VERSION_MINOR})
set(CPACK_PACKAGE_VERSION_PATCH ${FREERDP_VERSION_REVISION})
-set(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE")
-set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE")
+set(CPACK_PACKAGE_INSTALL_DIRECTORY "FreeRDP")
+set(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_SOURCE_DIR}/LICENSE")
+set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR}/LICENSE")
-include(CPack)
+set(CPACK_PACKAGE_ICON "${CMAKE_SOURCE_DIR}/resources\\\\FreeRDP_Install.bmp")
+set(CPACK_NSIS_MUI_ICON "${CMAKE_SOURCE_DIR}/resources\\\\FreeRDP_Icon_96px.ico")
+set(CPACK_NSIS_MUI_UNICON "${CMAKE_SOURCE_DIR}/resource\\\\FreeRDP_Icon_96px.ico")
+include(CPack)
View
BIN resources/FreeRDP_Icon_96px.ico
Binary file not shown.
View
BIN resources/FreeRDP_Install.bmp
Binary file not shown.

0 comments on commit 59f6d29

Please sign in to comment.