CPackNSIS.cmake 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. ##section Variables specific to CPack NSIS generator
  2. ##end
  3. ##module
  4. # - CPack NSIS generator specific options
  5. #
  6. # The following variables are specific to the graphical installers built
  7. # on Windows using the Nullsoft Installation System.
  8. ##end
  9. #
  10. ##variable
  11. # CPACK_NSIS_INSTALL_ROOT - The default installation directory presented
  12. # to the end user by the NSIS installer is under this root dir. The full
  13. # directory presented to the end user is:
  14. # ${CPACK_NSIS_INSTALL_ROOT}/${CPACK_PACKAGE_INSTALL_DIRECTORY}
  15. ##end
  16. #
  17. ##variable
  18. # CPACK_NSIS_MUI_ICON - An icon filename.
  19. # The name of a *.ico file used as the main icon for the generated
  20. # install program.
  21. ##end
  22. #
  23. ##variable
  24. # CPACK_NSIS_MUI_UNIICON - An icon filename.
  25. # The name of a *.ico file used as the main icon for the generated
  26. # uninstall program.
  27. ##end
  28. #
  29. ##variable
  30. # CPACK_NSIS_INSTALLER_MUI_ICON_CODE - undocumented.
  31. ##end
  32. #
  33. ##variable
  34. # CPACK_NSIS_EXTRA_PREINSTALL_COMMANDS - Extra NSIS commands that
  35. # will be added to the beginning of the install Section, before your
  36. # install tree is available on the target system.
  37. ##end
  38. #
  39. ##variable
  40. # CPACK_NSIS_EXTRA_INSTALL_COMMANDS - Extra NSIS commands that
  41. # will be added to the end of the install Section, after your
  42. # install tree is available on the target system.
  43. ##end
  44. #
  45. ##variable
  46. # CPACK_NSIS_EXTRA_UNINSTALL_COMMANDS - Extra NSIS commands that will
  47. # be added to the uninstall Section, before your install tree is
  48. # removed from the target system.
  49. ##end
  50. #
  51. ##variable
  52. # CPACK_NSIS_COMPRESSOR - The arguments that will be passed to the
  53. # NSIS SetCompressor command.
  54. ##end
  55. #
  56. ##variable
  57. # CPACK_NSIS_ENABLE_UNINSTALL_BEFORE_INSTALL - Ask about uninstalling
  58. # previous versions first.
  59. # If this is set to "ON", then an installer will look for previous
  60. # installed versions and if one is found, ask the user whether to
  61. # uninstall it before proceeding with the install.
  62. ##end
  63. #
  64. ##variable
  65. # CPACK_NSIS_MODIFY_PATH - Modify PATH toggle.
  66. # If this is set to "ON", then an extra page
  67. # will appear in the installer that will allow the user to choose
  68. # whether the program directory should be added to the system PATH
  69. # variable.
  70. ##end
  71. #
  72. ##variable
  73. # CPACK_NSIS_DISPLAY_NAME - The display name string that appears in
  74. # the Windows Add/Remove Program control panel
  75. ##end
  76. #
  77. ##variable
  78. # CPACK_NSIS_PACKAGE_NAME - The title displayed at the top of the
  79. # installer.
  80. ##end
  81. #
  82. ##variable
  83. # CPACK_NSIS_INSTALLED_ICON_NAME - A path to the executable that
  84. # contains the installer icon.
  85. ##end
  86. #
  87. ##variable
  88. # CPACK_NSIS_HELP_LINK - URL to a web site providing assistance in
  89. # installing your application.
  90. ##end
  91. #
  92. ##variable
  93. # CPACK_NSIS_URL_INFO_ABOUT - URL to a web site providing more
  94. # information about your application.
  95. ##end
  96. #
  97. ##variable
  98. # CPACK_NSIS_CONTACT - Contact information for questions and comments
  99. # about the installation process.
  100. ##end
  101. #
  102. ##variable
  103. # CPACK_NSIS_CREATE_ICONS_EXTRA - Additional NSIS commands for
  104. # creating start menu shortcuts.
  105. ##end
  106. #
  107. ##variable
  108. # CPACK_NSIS_DELETE_ICONS_EXTRA -Additional NSIS commands to
  109. # uninstall start menu shortcuts.
  110. ##end
  111. #
  112. ##variable
  113. # CPACK_NSIS_EXECUTABLES_DIRECTORY - Creating NSIS start menu links
  114. # assumes that they are in 'bin' unless this variable is set.
  115. # For example, you would set this to 'exec' if your executables are
  116. # in an exec directory.
  117. ##end
  118. #
  119. ##variable
  120. # CPACK_NSIS_MUI_FINISHPAGE_RUN - Specify an executable to add an option
  121. # to run on the finish page of the NSIS installer.
  122. ##end
  123. ##variable
  124. # CPACK_NSIS_MENU_LINKS - Specify links in [application] menu.
  125. # This should contain a list of pair "link" "link name". The link
  126. # may be an URL or a path relative to installation prefix.
  127. # Like:
  128. # set(CPACK_NSIS_MENU_LINKS
  129. # "doc/cmake-@CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@/cmake.html" "CMake Help"
  130. # "http://www.cmake.org" "CMake Web Site")
  131. ##end
  132. #=============================================================================
  133. # Copyright 2006-2009 Kitware, Inc.
  134. #
  135. # Distributed under the OSI-approved BSD License (the "License");
  136. # see accompanying file Copyright.txt for details.
  137. #
  138. # This software is distributed WITHOUT ANY WARRANTY; without even the
  139. # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  140. # See the License for more information.
  141. #=============================================================================
  142. # (To distribute this file outside of CMake, substitute the full
  143. # License text for the above reference.)
  144. #FIXME we should put NSIS specific code here
  145. #FIXME but I'm not doing it because I'm not able to test it...