summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2012-03-08 20:13:51 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2012-03-08 20:13:51 (GMT)
commit9f6c38253a29288a7f8479d43e7c87fd3d958e79 (patch)
tree5a4e21106aaa1993977578a79b9764adba979ea7
parent9cdd9896670b54f23ca697eb2f81bc740f880f40 (diff)
parentd4719a8d369466eae7aa4d9491a4729376292e3c (diff)
downloadCMake-9f6c38253a29288a7f8479d43e7c87fd3d958e79.zip
CMake-9f6c38253a29288a7f8479d43e7c87fd3d958e79.tar.gz
CMake-9f6c38253a29288a7f8479d43e7c87fd3d958e79.tar.bz2
Merge topic 'CPackNSIS-addMissingDoc'
d4719a8 Add some missing CPACK_NSIS_xxx doc and move some to common CPack section.
-rw-r--r--Modules/CPack.cmake14
-rw-r--r--Modules/CPackNSIS.cmake19
2 files changed, 23 insertions, 10 deletions
diff --git a/Modules/CPack.cmake b/Modules/CPack.cmake
index b506711..571770e 100644
--- a/Modules/CPack.cmake
+++ b/Modules/CPack.cmake
@@ -101,6 +101,11 @@
##end
#
##variable
+# CPACK_PACKAGE_ICON - A branding image that will be displayed inside
+# the installer (used by GUI installers).
+##end
+#
+##variable
# CPACK_PROJECT_CONFIG_FILE - CPack-time project CPack configuration
# file. This file included at cpack time, once per
# generator after CPack has set CPACK_GENERATOR to the actual generator
@@ -247,6 +252,15 @@
# CPACK_INSTALLED_DIRECTORIES - Extra directories to install.
##end
#
+##variable
+# CPACK_PACKAGE_INSTALL_REGISTRY_KEY - Registry key used when
+# installing this project. This is only used
+# by installer for Windows.
+##end
+##variable
+# CPACK_CREATE_DESKTOP_LINKS - List of desktop links to create.
+##end
+#
#=============================================================================
# Copyright 2006-2009 Kitware, Inc.
diff --git a/Modules/CPackNSIS.cmake b/Modules/CPackNSIS.cmake
index 97179d7..7d9f29b 100644
--- a/Modules/CPackNSIS.cmake
+++ b/Modules/CPackNSIS.cmake
@@ -8,11 +8,6 @@
##end
#
##variable
-# CPACK_PACKAGE_INSTALL_REGISTRY_KEY - Registry key used when
-# installing this project.
-##end
-#
-##variable
# CPACK_NSIS_INSTALL_ROOT - The default installation directory presented
# to the end user by the NSIS installer is under this root dir. The full
# directory presented to the end user is:
@@ -30,11 +25,6 @@
##end
#
##variable
-# CPACK_PACKAGE_ICON - A branding image that will be displayed inside
-# the installer.
-##end
-#
-##variable
# CPACK_NSIS_EXTRA_INSTALL_COMMANDS - Extra NSIS commands that will
# be added to the install Section.
##end
@@ -107,6 +97,15 @@
# CPACK_NSIS_MUI_FINISHPAGE_RUN - Specify an executable to add an option
# to run on the finish page of the NSIS installer.
##end
+##variable
+# CPACK_NSIS_MENU_LINKS - Specify links in [application] menu.
+# This should contain a list of pair "link" "link name". The link
+# may be an URL or a path relative to installation prefix.
+# Like:
+# set(CPACK_NSIS_MENU_LINKS
+# "doc/cmake-@CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@/cmake.html" "CMake Help"
+# "http://www.cmake.org" "CMake Web Site")
+##end
#=============================================================================
# Copyright 2006-2009 Kitware, Inc.