~ubuntu-branches/ubuntu/trusty/tomahawk/trusty-proposed

« back to all changes in this revision

Viewing changes to CPackOptions.cmake.in

  • Committer: Package Import Robot
  • Author(s): Harald Sitter
  • Date: 2013-03-07 21:50:13 UTC
  • Revision ID: package-import@ubuntu.com-20130307215013-6gdjkdds7i9uenvs
Tags: upstream-0.6.0+dfsg
ImportĀ upstreamĀ versionĀ 0.6.0+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# This file is configured at cmake time, and loaded at cpack time.
 
2
# To pass variables to cpack from cmake, they must be configured
 
3
# in this file.
 
4
 
 
5
if(CPACK_GENERATOR MATCHES "NSIS")
 
6
  if( NOT EXISTS "@CMAKE_SOURCE_DIR@/admin/win/vlc/")
 
7
    MESSAGE(FATAL_ERROR "\n You don't have vlc in your admin/win/ dir. \n Please change into that dir and execute 'sh update-vlc.sh'" )
 
8
  endif()
 
9
 
 
10
  #SET(CPACK_NSIS_INSTALL_ROOT "@CPACK_NSIS_INSTALL_ROOT@")
 
11
 
 
12
  # set the install/unistall icon used for the installer itself
 
13
  # There is a bug in NSI that does not handle full unix paths properly.
 
14
  #SET(CPACK_NSIS_MUI_ICON "@CMake_SOURCE_DIR@/Utilities/Release\\CMakeLogo.ico")
 
15
  #SET(CPACK_NSIS_MUI_UNIICON "@CMake_SOURCE_DIR@/Utilities/Release\\CMakeLogo.ico")
 
16
  # set the package header icon for MUI
 
17
  #SET(CPACK_PACKAGE_ICON "@CMake_SOURCE_DIR@/Utilities/Release\\CMakeInstall.bmp")
 
18
  # tell cpack to create links to the doc files
 
19
  #SET(CPACK_NSIS_MENU_LINKS
 
20
  #  "doc/cmake-@CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@/cmake-gui.html" "cmake-gui Help"
 
21
  #  "doc/cmake-@CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@/cmake.html" "CMake Help"
 
22
  #  "doc/cmake-@CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@/cmake-properties.html"
 
23
  #  "CMake Properties and Variables Help"
 
24
  #  "doc/cmake-@CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@/ctest.html" "CTest Help"
 
25
  #  "doc/cmake-@CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@/cmake-modules.html" "CMake Modules Help"
 
26
  #  "doc/cmake-@CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@/cmake-commands.html" "CMake Commands Help"
 
27
  #  "doc/cmake-@CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@/cpack.html" "CPack Help"
 
28
  #  "http://www.cmake.org" "CMake Web Site"
 
29
  #  )
 
30
  # Use the icon from cmake-gui for add-remove programs
 
31
  #SET(CPACK_NSIS_INSTALLED_ICON_NAME "bin\\cmake-gui.exe")
 
32
  #
 
33
  #SET(CPACK_NSIS_PACKAGE_NAME "@CPACK_NSIS_PACKAGE_NAME@")
 
34
  #SET(CPACK_NSIS_DISPLAY_NAME "@CPACK_NSIS_PACKAGE_NAME@, a cross-platform, open-source build system")
 
35
  #SET(CPACK_NSIS_HELP_LINK "http://www.cmake.org")
 
36
  #SET(CPACK_NSIS_URL_INFO_ABOUT "http://www.kitware.com")
 
37
  #SET(CPACK_NSIS_CONTACT @CPACK_PACKAGE_CONTACT@)
 
38
  #SET(CPACK_NSIS_MODIFY_PATH ON)
 
39
 
 
40
 
 
41
 
 
42
##### all options
 
43
#CPACK_NSIS_MUI_ICON     The icon file (.ico) for the generated install program. Both this and CPACK_NSIS_MUI_UNIICON need to set for this to have any effect.   installer.ico
 
44
#CPACK_NSIS_MUI_UNIICON  The icon file (.ico) for the generated uninstall program. Both this and CPACK_NSIS_MUI_ICON need to set for this to have any effect.    uninstaller.ico
 
45
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
 
46
#CPACK_NSIS_EXTRA_INSTALL_COMMANDS   Extra NSIS commands that will be added to the install Section.  ExecWait '\\\"$INSTDIR\\\\vcredist_x86.exe\\\" /q:a'
 
47
#CPACK_NSIS_EXTRA_UNINSTALL_COMMANDS     Extra NSIS commands that will be added to the uninstall Section.
 
48
SET( CPACK_NSIS_COMPRESSOR   "/SOLID lzma" ) # The arguments that will be passed to the NSIS SetCompressor command.    /SOLID lzma
 
49
#CPACK_NSIS_MODIFY_PATH  If this is set to "ON", then an extra page will appear in the installer that will allow the user to choose whether the program directory should be added to the system PATH variable.   ON
 
50
#CPACK_NSIS_DISPLAY_NAME     Undocumented.   "${CPACK_PACKAGE_INSTALL_DIRECTORY} My Famous Project"
 
51
#CPACK_NSIS_INSTALLED_ICON_NAME  Set the icon used for the Windows "Add or Remove Programs" tool.    "bin\\\\MyExecutable.exe"
 
52
#CPACK_NSIS_HELP_LINK    Adds link to registry. URI.     "http:\\\\\\\\www.my-project-home-page.org"
 
53
#CPACK_NSIS_URL_INFO_ABOUT   Adds link to registry and the vendor in add/remove programs' "Click here for support information" in program entry links here.  "http:\\\\\\\\www.my-personal-home-page.com"
 
54
#CPACK_NSIS_CONTACT  Adds link to add/remove programs' "Click here for support information" in program entry.    "me@my-personal-home-page.com"
 
55
#CPACK_NSIS_CREATE_ICONS_EXTRA   Additional NSIS commands for creating start menu shortcuts.     set(CPACK_NSIS_CREATE_ICONS "CreateShortCut '\$SMPROGRAMS\\\\$STARTMENU_FOLDER\\\\${PROJECT_NAME}.lnk' '\$INSTDIR\\\\${PROJECT_NAME}.exe'")
 
56
#CPACK_NSIS_DELETE_ICONS_EXTRA   Undocumented. Possibly: Additional NSIS commands to uninstall start menu shortcuts.
 
57
#CPACK_NSIS_MENU_LINKS   Used to override the Start Menu links.  "doc/cmake-@CMake_VERSION_MAJOR@.@CMake_VERSION_MINOR@/CMakeSetup.html" "CMakeSetup Help"
 
58
#CPACK_NSIS_MUI_FINISHPAGE_RUN   If used, will make it possible for user to choose (on an additional page, displayed at the end of the installation) to run intalled program. Should point to program name to run, seemingly without any sub-directories of the installation directory in case program installed in such sub-directories (but please check generated NSIS script if you can't make it work).     "MyExecutable.exe"
 
59
 
 
60
endif(CPACK_GENERATOR MATCHES "NSIS")
 
61
 
 
62
## include the cpack options for qt dialog if they exisit
 
63
## they might not if qt was not enabled for the build
 
64
#INCLUDE("@QT_DIALOG_CPACK_OPTIONS_FILE@" OPTIONAL)
 
65
 
 
66
 
 
67
#if("${CPACK_GENERATOR}" STREQUAL "PackageMaker")
 
68
#  if(CMAKE_PACKAGE_QTGUI)
 
69
#    set(CPACK_PACKAGE_DEFAULT_LOCATION "/Applications")
 
70
#  else(CMAKE_PACKAGE_QTGUI)
 
71
#    set(CPACK_PACKAGE_DEFAULT_LOCATION "/usr")
 
72
#  endif(CMAKE_PACKAGE_QTGUI)
 
73
#endif("${CPACK_GENERATOR}" STREQUAL "PackageMaker")
 
74
 
 
75
 
 
76
SET( CMAKE_SOURCE_DIR @CMAKE_SOURCE_DIR@ )
 
77
SET( CMAKE_BINARY_DIR @CMAKE_BINARY_DIR@ )
 
 
b'\\ No newline at end of file'