summaryrefslogtreecommitdiffstats
path: root/Modules/CPack.cmake
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'fix-9148-cpack-nsis-installer-root'Brad King2011-01-111-0/+10
|\ | | | | | | | | 5a9e8e7 CPack: Add CPACK_NSIS_INSTALL_ROOT variable (#9148)
| * CPack: Add CPACK_NSIS_INSTALL_ROOT variable (#9148)David Cole2011-01-111-0/+10
| | | | | | | | | | | | | | | | | | | | Control the root directory of the default directory presented to the end user of an NSIS installer by a CPack variable. Previously, the value used in the NSIS script was $PROGRAMFILES, which is equivalent to the "ProgramFiles" environment variable. That default value is still the same, but now a project may override the value by setting this new variable.
* | Add CPack NSIS MUI_FINISHPAGE_RUN support (#11144)Mike McQuaid2011-01-061-0/+3
| | | | | | | | | | | | | | MUI_FINISHPAGE_RUN is frequently used with NSIS and provides a checkbox on the finish page of an installer which specifies whether the specified executable should be run when the installer exits. This commit adds support for this setting in CPack.
* | Add CPACK_NSIS_EXECUTABLES_DIRECTORY (#7828)Mike McQuaid2011-01-061-0/+5
|/ | | | | | | | NSIS installers default to assuming the executables exist in a directory named "bin" under the installation directory. As this isn't usual for Windows programs, the addition of this variable allows the customization of this directory and links still to be created correctly.
* Add documentation for CPACK_PROJECT_CONFIG_FILE.David Cole2010-08-111-3/+40
|
* Modules: Fix spelling 'To distributed' -> 'To distribute'Todd Gamblin2010-08-091-1/+1
|
* Add .git .bzr and .hg to the list of default CPack ignore directories.Bill Hoffman2010-03-081-1/+1
|
* Fix issue #10055 - add documentation for the CPack Mac OSX only Bundle ↵David Cole2009-12-151-0/+21
| | | | | | generator. Thanks to Tim Shead for the patch.
* Fix issue #9782 - add documentation for variables used by CPack DragNDrop ↵David Cole2009-12-151-0/+39
| | | | | | generators. Thanks to Michael Wild for the patch.
* Fix regression with CPACK_NSIS_PACKAGE_NAME, if the project is setting the ↵Bill Hoffman2009-11-121-2/+16
| | | | CPACK_NSIS_DISPLAY_NAME then use that as the default value and not the CPACK_PACKAGE_INSTALL_DIRECTORY, also make sure it escapes \ correctly.
* Convert CMake non-find modules to BSD LicenseBrad King2009-09-281-0/+12
| | | | | | | This adds copyright/license notification blocks CMake's non-find modules. Most of the modules had no notices at all. Some had notices referring to the BSD license already. This commit normalizes existing notices and adds missing notices.
* some white space fixes for the bookKen Martin2009-09-031-2/+3
|
* BUG: Re-fix issue #8682. Use new variable CPACK_NSIS_PACKAGE_NAME in ↵David Cole2009-07-161-1/+5
| | | | appropriate places rather than CPACK_NSIS_DISPLAY_NAME. CPACK_NSIS_DISPLAY_NAME is the Add/Remove control panel's description string for the installed package. Using it as the "Name" of the NSIS installer package made the CMake installer itself use really long strings in the installer GUI. This fix still allows for the original intent of the first fix for #8682 -- the ability to separate the installer name from the default install directory, but it uses a new/different variable to achieve the separation.
* STYLE: Use $ style variable dereference instead of @ style.David Cole2009-03-051-1/+1
|
* ENH: Turn off CPACK_BINARY_TBZ2 and CPACK_BINARY_ZIP by default. Strictly ↵David Cole2009-01-231-2/+2
| | | | speaking, this changes behavior from cpack 2.6, but now that cpack returns a non-zero exit code when it encounters an error, and it is an error to try to use a generator that is not available... It makes sense to turn these off by default since not everybody has these generators installed. It is easy for a project to turn these options back on if they need to: simply set(CPACK_BINARY_TBZ2 ON) or set(CPACK_BINARY_ZIP ON) before include(CPack) in your CMakeLists.txt...
* BUG: Fix issue #8402. Add a drag and drop bundle generator to the Mac build ↵David Cole2009-01-221-1/+3
| | | | of CPack. Add a test of it in the CPackComponents test. Thanks to Clinton Stimpson for the patch.
* ENH: One more patch from Doug Gregor including PackageMaker functionality ↵David Cole2008-07-091-21/+41
| | | | for componentized-for-the-end-user and download-some-bit-on-demand installers.
* ENH: Further refinement of the CPack components functionality from Doug Gregor.David Cole2008-07-081-3/+609
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Details: ========== - New cpack_add_component, cpack_add_component_group, and cpack_add_install_type "commands" defined as macros in the CPack module. - Documentation for all of the variables and commands in the CPack module. - Added get_cmake_property(... COMPONENTS) to CMake to ask for the names of all components. Used in the CPack module to automatically build component-based installers. (Set CPACK_MONOLITHIC_INSTALL to turn off component-based installation). - A group can declare its PARENT_GROUP, to build an arbitrary hierarchy of groups. - New CPack command cpack_configure_downloads, which creates an installer that downloads only the selected components on-the-fly. Those components marked DOWNLOADED will be separate packages downloaded on-the-fly (or, all packages can be marked as such with the ALL option to cpack_configure_downloads). Individual components are compressed with ZIP at installer-creation time and downloaded/uncompressed by the installer as needed. This feature is only available on Windows with NSIS at the moment. - NSIS installers can install themselves and enable the "Change" button in Add/Remove programs, allowing users to go back and install or remove components. This can be disabled through cpack_configure_downloads, because it's only really useful is most of the application's functionality is in downloaded components. - Bug fix: automatically install everything whose COMPONENT was not specified (it's a hidden, required group) - Bug fix: fixed removal of components when re-running the NSIS installer and unchecking components - Bug fix: NSIS installers now only install/remove the minimal number of files when re-run to update the installation (or by clicking "Change" in Add/Remove programs)
* ENH: Apply patch for feature request #7170. Thanks to Tim Shead for ↵David Cole2008-06-181-1/+3
| | | | contributing...
* ENH: use a common CPACK_BINARY_ prefix for the binary package generatorsAlexander Neundorf2008-04-171-26/+27
| | | | Alex
* ENH: use CPACK_PACKAGE_VERSION instead ofAlexander Neundorf2008-03-271-2/+2
| | | | | | | CPACK_PACKAGE_VERSION_MAJOR.CPACK_PACKAGE_VERSION_MINOR.CPACK_PACKAGE_VERSION_PATCH for creating the package file name Alex
* ENH: Give Mac installers package relocation capability. Default location is ↵David Cole2007-12-261-0/+9
| | | | still the same for backwards compatibility, but packages will now be relocatable by default like they are on Windows via the NSIS installer. New CPack variables for controlling this functionality are CPACK_PACKAGE_DEFAULT_LOCATION and CPACK_PACKAGE_RELOCATABLE.
* ENH: Add CPACK_SET_DESTDIR handling to enable packaging of installed files ↵David Cole2007-10-311-1/+1
| | | | in absolute locations. With this setting on, cpack will set the DESTDIR env var when building the package so that files end up in their intended locations. Default behavior is not to set DESTDIR for backwards compatibility. Helps address issue #4993 and issue #5257. Also, remove unused CPACK_USE_DESTDIR variable. ENH: Add variable CPACK_PACKAGING_INSTALL_PREFIX to allow overriding the CPack GetPackagingInstallPrefix from a project's CMakeLists file if necessary. Could be used to remove the annoying /usr prefix still used by default in the Mac PackageMaker generator.
* ENH: cpack changes, remove the escape variable stuff as it is not needed if ↵Bill Hoffman2007-10-311-89/+3
| | | | you provide a config file for cpack
* ENH: add ability to set installer icons, links to web pages, nsis code in ↵Bill Hoffman2007-10-291-6/+78
| | | | the icon section of the template, and ability to escape variables correctly
* ENH: fix bitmap escapesBill Hoffman2007-10-221-3/+9
|
* ENH: allow CPACK_PACKAGE_ICON to be not setBill Hoffman2007-10-221-0/+10
|
* STYLE: mark the generator options as advancedAlexander Neundorf2007-08-311-0/+7
| | | | Alex
* ENH: add empty RPM package generator, Eric Noulard wants to work on itAlexander Neundorf2007-08-081-0/+2
| | | | Alex
* ENH: better error messages from the debian package generatorAlexander Neundorf2007-08-031-25/+73
| | | | | | | -don't display the cpack help if a generator failed with some problem -check for cmSystemTools::GetErrorOccuredFlag() Alex
* ENH: More work on the packaging. Add Applicaitons, add icons, etcAndy Cedilnik2007-02-131-0/+3
|
* ENH: add support for cygwin source and binary packagingBill Hoffman2007-02-021-0/+4
|
* ENH: Several CPack fixes. First, allow user to set CMAKE_MODULE_PATH for ↵Andy Cedilnik2006-10-121-0/+2
| | | | CPack; make SetOptionIfNotSet more robust to handle empty options; do test TGZ, STGZ, and TZ, Add handling (and test) of Install Script; set environment variable CMAKE_INSTALL_PREFIX
* ENH: Several cleanups and support for multiple generatorsAndy Cedilnik2006-07-091-4/+4
|
* ENH: add a commentBill Hoffman2006-06-161-0/+4
|
* ENH: Add support for overwriting the name of the file CPackConfig.cmake and ↵Andy Cedilnik2006-06-121-3/+12
| | | | CPackSourceConfig.cmake
* BUG: Prevent stripping of sourcesAndy Cedilnik2006-05-101-0/+1
|
* ENH: Add more install registry optionsAndy Cedilnik2006-04-301-0/+2
|
* ENH: Propagate system name and handle win32/win64 nameAndy Cedilnik2006-04-231-3/+13
|
* BUG: Need to ignore source packaging of #*# files created by emacs during ↵Brad King2006-04-181-1/+1
| | | | editing.
* ENH: Support for packaging source, several cleanups and more yeehaa...Andy Cedilnik2006-04-151-10/+41
|
* ENH: Start adding support for packaging component and to package into a ↵Andy Cedilnik2006-04-141-1/+1
| | | | subdirectory
* ENH: Add support for preinstall for cmake generated projects when packaging themAndy Cedilnik2006-04-101-2/+3
|
* ENH: Deprecate CPACK_BINARY_DIR and add CPACK_INSTALL_CMAKE_PROJECTSAndy Cedilnik2006-04-101-0/+2
|
* ENH: Allow to overwrite CPACK_BINARY_DIRAndy Cedilnik2006-04-071-1/+1
|
* ENH: Several changes to for NSISAndy Cedilnik2006-03-011-0/+4
|
* ENH: Install system libraries only if project requires themAndy Cedilnik2006-03-011-30/+0
|
* ENH: Add resource files for PackageMakerAndy Cedilnik2006-02-281-3/+16
|
* ENH: Several packaging issues. Allow random variables to be passed to cpack ↵Andy Cedilnik2006-02-271-0/+9
| | | | (anything starting with CPACK_, add preinstall to the list of dependencies for package, fix typos
* ENH: Several NSIS featuresAndy Cedilnik2006-02-231-14/+22
|