root/OpenSceneGraph/trunk/CMakeModules/OsgCPackConfig.cmake.in @ 9952

Revision 9528, 4.1 kB (checked in by robert, 9 years ago)

From Mattias Helsing, "got some feedback from J-S on the packaging so I have changed the
name of the top folder in each package to OpenSceneGraph-x.y.z

Noone else has had an opinion on whether compiler and it's version
should be part of the package filename on their platform/setup so I'll
leave it as is. That is - No action is taken for compilers other than
msvc but one can easily add this information to the cmake cache
regardless of platform.
"

Line 
1# This file will be configured to contain variables for CPack. These variables
2# should be set in the CMake list file of the project before CPack module is
3# included. Example variables are:
4#   CPACK_GENERATOR                     - Generator used to create package
5#   CPACK_INSTALL_CMAKE_PROJECTS        - For each project (path, name, component)
6#   CPACK_CMAKE_GENERATOR               - CMake Generator used for the projects
7#   CPACK_INSTALL_COMMANDS              - Extra commands to install components
8#   CPACK_INSTALL_DIRECTORIES           - Extra directories to install
9#   CPACK_PACKAGE_DESCRIPTION_FILE      - Description file for the package
10#   CPACK_PACKAGE_DESCRIPTION_SUMMARY   - Summary of the package
11#   CPACK_PACKAGE_EXECUTABLES           - List of pairs of executables and labels
12#   CPACK_PACKAGE_FILE_NAME             - Name of the package generated
13#   CPACK_PACKAGE_ICON                  - Icon used for the package
14#   CPACK_PACKAGE_INSTALL_DIRECTORY     - Name of directory for the installer
15#   CPACK_PACKAGE_NAME                  - Package project name
16#   CPACK_PACKAGE_VENDOR                - Package project vendor
17#   CPACK_PACKAGE_VERSION               - Package project version
18#   CPACK_PACKAGE_VERSION_MAJOR         - Package project version (major)
19#   CPACK_PACKAGE_VERSION_MINOR         - Package project version (minor)
20#   CPACK_PACKAGE_VERSION_PATCH         - Package project version (patch)
21
22# There are certain generator specific ones
23
24# NSIS Generator:
25#   CPACK_PACKAGE_INSTALL_REGISTRY_KEY  - Name of the registry key for the installer
26#   CPACK_NSIS_EXTRA_UNINSTALL_COMMANDS - Extra commands used during uninstall
27#   CPACK_NSIS_EXTRA_INSTALL_COMMANDS   - Extra commands used during install
28
29
30SET(CPACK_BINARY_BUNDLE "${CPACK_BINARY_BUNDLE}")
31SET(CPACK_BINARY_CYGWIN "${CPACK_BINARY_CYGWIN}")
32SET(CPACK_BINARY_DEB "${CPACK_BINARY_DEB}")
33SET(CPACK_BINARY_NSIS "${CPACK_BINARY_NSIS}")
34SET(CPACK_BINARY_OSXX11 "${CPACK_BINARY_OSXX11}")
35SET(CPACK_BINARY_PACKAGEMAKER "${CPACK_BINARY_PACKAGEMAKER}")
36SET(CPACK_BINARY_RPM "${CPACK_BINARY_RPM}")
37SET(CPACK_BINARY_STGZ "${CPACK_BINARY_STGZ}")
38SET(CPACK_BINARY_TBZ2 "${CPACK_BINARY_TBZ2}")
39SET(CPACK_BINARY_TGZ "${CPACK_BINARY_TGZ}")
40SET(CPACK_BINARY_TZ "${CPACK_BINARY_TZ}")
41SET(CPACK_BINARY_ZIP "${CPACK_BINARY_ZIP}")
42SET(CPACK_CMAKE_GENERATOR "${CMAKE_GENERATOR}")
43SET(CPACK_COMPONENTS_ALL "${CPACK_COMPONENTS_ALL}")
44SET(CPACK_COMPONENT_UNSPECIFIED_HIDDEN "TRUE")
45SET(CPACK_COMPONENT_UNSPECIFIED_REQUIRED "TRUE")
46SET(CPACK_GENERATOR "${CPACK_GENERATOR}")
47SET(CPACK_INSTALL_CMAKE_PROJECTS "${OpenSceneGraph_BINARY_DIR};OpenSceneGraph;${OSG_CPACK_COMPONENT};/")
48SET(CPACK_INSTALL_PREFIX "${CPACK_INSTALL_PREFIX}")
49SET(CPACK_MODULE_PATH "${OpenSceneGraph_SOURCE_DIR}/CMakeModules;")
50SET(CPACK_NSIS_DISPLAY_NAME "${CMAKE_PROJECT_NAME} ${OPENSCENEGRAPH_VERSION}")
51SET(CPACK_NSIS_INSTALLER_ICON_CODE "")
52SET(CPACK_NSIS_INSTALLER_MUI_ICON_CODE "")
53SET(CPACK_OUTPUT_CONFIG_FILE "${PROJECT_BINARY_DIR}/CPackConfig-${OSG_CPACK_COMPONENT}.cmake")
54SET(CPACK_PACKAGE_DEFAULT_LOCATION "/")
55SET(CPACK_PACKAGE_DESCRIPTION_FILE "${OpenSceneGraph_SOURCE_DIR}/README.txt")
56SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "The OpenSceneGraph is an open source high performance 3d graphics toolkit")
57SET(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_FILE_NAME}")
58SET(CPACK_PACKAGE_INSTALL_DIRECTORY "${CPACK_PACKAGE_INSTALL_DIRECTORY}")
59SET(CPACK_PACKAGE_INSTALL_REGISTRY_KEY "${CMAKE_PROJECT_NAME}-${OPENSCENEGRAPH_VERSION}")
60SET(CPACK_PACKAGE_NAME "${CPACK_PACKAGE_NAME}")
61SET(CPACK_PACKAGE_RELOCATABLE "true")
62SET(CPACK_PACKAGE_VENDOR "The OpenSceneGraph developers and contributors lead by Robert Osfield")
63SET(CPACK_PACKAGE_VERSION "${OPENSCENEGRAPH_VERSION}")
64SET(CPACK_PACKAGE_VERSION_MAJOR "${OPENSCENEGRAPH_MAJOR_VERSION}")
65SET(CPACK_PACKAGE_VERSION_MINOR "${OPENSCENEGRAPH_MINOR_VERSION}")
66SET(CPACK_PACKAGE_VERSION_PATCH "${OPENSCENEGRAPH_PATCH_VERSION}")
67SET(CPACK_RESOURCE_FILE_LICENSE "${OpenSceneGraph_SOURCE_DIR}/LICENSE.txt")
68SET(CPACK_RESOURCE_FILE_README "${OpenSceneGraph_SOURCE_DIR}/README.txt")
69SET(CPACK_RESOURCE_FILE_WELCOME "${OpenSceneGraph_SOURCE_DIR}/NEWS.txt")
70SET(CPACK_SET_DESTDIR "OFF")
71SET(CPACK_STRIP_FILES "ON")
Note: See TracBrowser for help on using the browser.