CPackNSIS.cmake 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  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 - The icon file (<dot>ico) for the generated
  19. # install program.
  20. ##end
  21. #
  22. ##variable
  23. # CPACK_NSIS_MUI_UNIICON - The icon file (<dot>ico) for the generated
  24. # uninstall program.
  25. ##end
  26. #
  27. ##variable
  28. # CPACK_NSIS_INSTALLER_MUI_ICON_CODE - undocumented.
  29. ##end
  30. #
  31. ##variable
  32. # CPACK_NSIS_EXTRA_INSTALL_COMMANDS - Extra NSIS commands that will
  33. # be added to the install Section.
  34. ##end
  35. #
  36. ##variable
  37. # CPACK_NSIS_EXTRA_UNINSTALL_COMMANDS - Extra NSIS commands that will
  38. # be added to the uninstall Section.
  39. ##end
  40. #
  41. ##variable
  42. # CPACK_NSIS_COMPRESSOR - The arguments that will be passed to the
  43. # NSIS SetCompressor command.
  44. ##end
  45. #
  46. ##variable
  47. # CPACK_NSIS_MODIFY_PATH - Modify PATH toggle.
  48. # If this is set to "ON", then an extra page
  49. # will appear in the installer that will allow the user to choose
  50. # whether the program directory should be added to the system PATH
  51. # variable.
  52. ##end
  53. #
  54. ##variable
  55. # CPACK_NSIS_DISPLAY_NAME - The display name string that appears in
  56. # the Windows Add/Remove Program control panel
  57. ##end
  58. #
  59. ##variable
  60. # CPACK_NSIS_PACKAGE_NAME - The title displayed at the top of the
  61. # installer.
  62. ##end
  63. #
  64. ##variable
  65. # CPACK_NSIS_INSTALLED_ICON_NAME - A path to the executable that
  66. # contains the installer icon.
  67. ##end
  68. #
  69. ##variable
  70. # CPACK_NSIS_HELP_LINK - URL to a web site providing assistance in
  71. # installing your application.
  72. ##end
  73. #
  74. ##variable
  75. # CPACK_NSIS_URL_INFO_ABOUT - URL to a web site providing more
  76. # information about your application.
  77. ##end
  78. #
  79. ##variable
  80. # CPACK_NSIS_CONTACT - Contact information for questions and comments
  81. # about the installation process.
  82. ##end
  83. #
  84. ##variable
  85. # CPACK_NSIS_CREATE_ICONS_EXTRA - Additional NSIS commands for
  86. # creating start menu shortcuts.
  87. ##end
  88. #
  89. ##variable
  90. # CPACK_NSIS_DELETE_ICONS_EXTRA -Additional NSIS commands to
  91. # uninstall start menu shortcuts.
  92. ##end
  93. #
  94. ##variable
  95. # CPACK_NSIS_EXECUTABLES_DIRECTORY - Creating NSIS start menu links
  96. # assumes that they are in 'bin' unless this variable is set.
  97. # For example, you would set this to 'exec' if your executables are
  98. # in an exec directory.
  99. ##end
  100. #
  101. ##variable
  102. # CPACK_NSIS_MUI_FINISHPAGE_RUN - Specify an executable to add an option
  103. # to run on the finish page of the NSIS installer.
  104. ##end
  105. ##variable
  106. # CPACK_NSIS_MENU_LINKS - Specify links in [application] menu.
  107. # This should contain a list of pair "link" "link name". The link
  108. # may be an URL or a path relative to installation prefix.
  109. # Like:
  110. # set(CPACK_NSIS_MENU_LINKS
  111. # "doc/cmake-@CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@/cmake.html" "CMake Help"
  112. # "http://www.cmake.org" "CMake Web Site")
  113. ##end
  114. #=============================================================================
  115. # Copyright 2006-2009 Kitware, Inc.
  116. #
  117. # Distributed under the OSI-approved BSD License (the "License");
  118. # see accompanying file Copyright.txt for details.
  119. #
  120. # This software is distributed WITHOUT ANY WARRANTY; without even the
  121. # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  122. # See the License for more information.
  123. #=============================================================================
  124. # (To distribute this file outside of CMake, substitute the full
  125. # License text for the above reference.)
  126. #FIXME we should put NSIS specific code here
  127. #FIXME but I'm not doing it because I'm not able to test it...