summaryrefslogtreecommitdiffstats
path: root/Source/CPack
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'fix-10644-cpack-menu-links'Brad King2011-01-111-12/+19
|\ | | | | | | | | 1bbe4e6 CPack: Detect more URLs in CPACK_NSIS_MENU_LINKS (#10644)
| * CPack: Detect more URLs in CPACK_NSIS_MENU_LINKS (#10644)David Cole2011-01-071-12/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, only strings containing "http:" qualified as URLs when found in CPACK_NSIS_MENU_LINKS. Now, we use a regex to detect strings beginning with any of the following: ftp:// ftps:// http:// https:// news:// mailto: This commit also moves the caller of CreateMenuLinks outside the "if (cpackPackageExecutables)" block, allowing clients to use CPACK_NSIS_MENU_LINKS without also having CPACK_PACKAGE_EXECUTABLES defined. That bit of this commit fixes the remainder of the issue described in http://public.kitware.com/Bug/view.php?id=7828 Also, added a set(CPACK_NSIS_MENU_LINKS ...) to the CPackComponents test to enable verifying that all of this actually works.
* | Add CPack NSIS MUI_FINISHPAGE_RUN support (#11144)Mike McQuaid2011-01-061-0/+11
| | | | | | | | | | | | | | 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-2/+7
| | | | | | | | | | | | | | | | 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.
* | Allow NSIS package or uninstall icon (#11143)Mike McQuaid2011-01-061-7/+14
|/ | | | | | | | Previously both CPACK_NSIS_MUI_ICON and CPACK_NSIS_MUI_UNIICON needed to be set for either to take effect. This commit allows either to be set rather than requiring both as users may well want to e.g. use a default uninstall icon but a custom install icon.
* CPack: look for makensis in the PATH (#8210)David Cole2010-12-171-9/+23
| | | | | | | | | | | Previously, we would search in the Windows registry for the path to makensis, and fail immediately if we could not read the registry value, assuming that it was simply not installed. This change looks for makensis in the PATH even if the registry value is not there, enabling the scenario where makensis is installed without admin privileges and never even touches HKEY_LOCAL_MACHINE during the non-admin install.
* Merge topic 'CPack-MoreComponentControls'Brad King2010-12-164-4/+11
|\ | | | | | | | | 6d94ea3 CPack use IsOn when it's better than IsSet
| * CPack use IsOn when it's better than IsSetEric NOULARD2010-12-124-4/+11
| | | | | | | | | | | | | | | | This authorize more control because one can set CPACK_ARCHIVE_COMPONENT_INSTALL to ON globally and then set it selectively to OFF inside a CPack project config file. Sidenote: GetOption ought to be a 'const' method.
* | CPack Honor CPACK_MONOLITHIC_INSTALL at CPack time tooEric NOULARD2010-12-121-1/+8
|/
* CPack Fix KWStyle errorEric NOULARD2010-12-011-1/+3
|
* CPack backward compatibility fix 2.8.3-2.8.2 (bug 11452)Eric NOULARD2010-11-291-16/+28
| | | | | One should set CPACK_ARCHIVE_COMPONENT_INSTALL=1 in order to trigger component install for ARCHIVE generators
* CPack fix kwstyle breakage and make CPackRPM backward compatibleEric NOULARD2010-11-153-8/+28
| | | | | backward compatible= No componentized RPM unless requested using CPACK_RPM_COMP0NENT_INSTALL
* CPackRPM add basic component support to CPackRPMEric NOULARD2010-11-136-68/+170
| | | | | basic means 1 RPM per component and no dependency handling this implies some CPackGenerator refactoring
* CPackDeb Added several optional debian binary package fieldsEric NOULARD2010-10-251-4/+40
| | | | | | This fixes bugs #0011355 and 0008342. The merged patch is a contribution from Michael Lasmanis and Petri Hodju with some extra documentation added by the merger.
* Fix KWStyle line length issues.Bill Hoffman2010-09-154-25/+57
|
* Merge topic 'CPack-PreserveSymlinksInInstalledDirs-v2'Brad King2010-09-081-1/+43
|\ | | | | | | | | 013e003 CPack handle symlinks in CPACK_INSTALLED_DIRECTORIES fix for bug5430
| * CPack handle symlinks in CPACK_INSTALLED_DIRECTORIES fix for bug5430Eric NOULARD2010-08-281-1/+43
| | | | | | | | | | | | | | | | The proposed solution is to avoid to CopyIfDifferent any links found in CPACK_INSTALLED_DIRECTORIES but memorize them instead then at the end of the processing for each dir do re-create the link in the installed tree. Current patch should work if the link are "local" to the directory.
* | Merge topic 'CPackArchiveGenerator-ComponentSupport'Brad King2010-08-318-201/+284
|\ \ | | | | | | | | | | | | | | | | | | | | | a986daf CPack fix broken compilation for CygwinSource generator 873e99a CPackArchiveGenerator improve usability and robustness 654683a CPackArchiveGenerator add component supports 36a550a CPackArchiveGenerator use cmArchiveWrite wrapper
| * | CPack fix broken compilation for CygwinSource generatorEric NOULARD2010-08-251-1/+1
| | |
| * | CPackArchiveGenerator improve usability and robustnessEric NOULARD2010-08-241-2/+46
| | | | | | | | | | | | | | | | | | Handle the "no group defined" case Implement the idea from Rolf Eike Beer to have a single var CPACK_COMPONENTS_GROUPING with several values
| * | CPackArchiveGenerator add component supportsEric NOULARD2010-08-243-23/+223
| | |
| * | CPackArchiveGenerator use cmArchiveWrite wrapperEric NOULARD2010-08-246-208/+47
| |/
* | CPack Enable better handling of absolute installed filesEric NOULARD2010-08-231-0/+11
| | | | | | | | | | | | | | | | | | | | The idea of the patch is to let the install generator define CPACK_ABSOLUTE_INSTALL_FILES then when CMake is installing project he will concatenate the list of files and give it to specific CPack Generator by defining CPACK_ABSOLUTE_INSTALL_FILES to be the list of ALL files that were installed using absolute destination. An example of use has been applied to RPM generator which now tries to automatically build a relocatable package.
* | CPack Backward-compatibly enforce DESTDIR for DEB and RPMEric NOULARD2010-08-233-4/+23
|/
* Merge topic 'CPack-APIredesign'Brad King2010-08-1724-128/+181
|\ | | | | | | | | | | | | bd510fe CPack: Avoid member shadowing after API refactor (part2) 31a313d CPack: Avoid member shadowing after API refactor cd7b8a0 CPack: Refactor API in order to handle multi-file packages
| * CPack: Avoid member shadowing after API refactor (part2)Eric NOULARD2010-08-121-1/+1
| | | | | | | | | | After converting method arguments to members we need to avoid use of the same names as local variables and other method arguments. One more fix.
| * CPack: Avoid member shadowing after API refactorBrad King2010-08-114-11/+9
| | | | | | | | | | After converting method arguments to members we need to avoid use of the same names as local variables and other method arguments.
| * CPack: Refactor API in order to handle multi-file packagesEric NOULARD2010-08-1124-118/+173
| | | | | | | | | | | | | | | | The multi-argument CompressFiles(...) method has been replace by the no-argument PackageFiles() method and 3 more member variables. This will enable implemention of multi-package generators. Now each specific generator (which overloads PackageFiles()) may decide to change the name and/or the number of generated package files.
* | Merge branch 'system-libarchive-include' into libarchive-wrapperBrad King2010-08-051-3/+1
|\ \ | |/ |/|
| * Include headers from chosen libarchive (#10923)Brad King2010-08-051-3/+1
| | | | | | | | | | When CMAKE_USE_SYSTEM_LIBARCHIVE is on we must include the system libarchive headers to match the library that will be linked.
* | Merge topic 'CPackDEB-auto-dependency-support'Brad King2010-08-031-2/+8
|\ \ | | | | | | | | | | | | ded3a15 CPackDeb optionally generates auto-dependency list part fix of bug 10292
| * | CPackDeb optionally generates auto-dependency list part fix of bug 10292Eric NOULARD2010-07-281-2/+8
| |/ | | | | | | | | The default behavior is not to activate this option because it may break DEB package building for project who does not use INSTALL RPATH.
* | CPackDEB: merge wrong installed size patch. see bugs 10296 (and 10292)Eric NOULARD2010-07-281-1/+1
|/
* Merge topic 'resolve/doc-spelling/CPackRPM'Brad King2010-07-201-1/+1
|\ | | | | | | | | | | 7739d78 Merge CPackRPM changes into doc-spelling 9203e91 Fix spelling errors reported by Lintian.
| * Merge CPackRPM changes into doc-spellingBrad King2010-07-132-4/+4
| |\ | | | | | | | | | | | | Conflicts: Modules/CPackRPM.cmake
| * | Fix spelling errors reported by Lintian.Kai Wasserbäch2010-07-131-1/+1
| | | | | | | | | | | | | | | During a Lintian run on the binary packages of CMake in Debian I was notified of many spelling mistakes.
* | | Merge branch 'fix-cmake-conversion-warnings'Brad King2010-07-061-1/+1
|\ \ \ | |_|/ |/| |
| * | Fix integer conversions in cpackBrad King2010-06-301-4/+4
| |/ | | | | | | These were revealed by GCC's -Wconversion option.
* | Eliminate -Wconversion warnings.David Cole2010-06-272-4/+4
|/ | | | | | Change types of local variables, or casting, or re-arrange expressions to get rid of "conversion may alter value" warnings as seen on recent dashboard submissions from londinium.kitware.
* CPack: Try harder to remove temporary dir (#10793)Brad King2010-06-041-2/+2
| | | | | Windows filesystems sometimes lock files temporarily. Try removing the CPack temp install folder multiple times before giving up.
* Add missing archive_read_finish calls to fix some of the presently reported ↵David Cole2009-12-281-0/+1
| | | | valgrind memory leaks.
* use different tar format to handle longer file namesBill Hoffman2009-11-141-2/+1
|
* add better error checking and run from correct directory.Bill Hoffman2009-11-091-3/+9
|
* add better error checking and support for symlinks to cpack's use of libarchiveBill Hoffman2009-11-091-28/+49
|
* Fix warningBill Hoffman2009-11-031-1/+1
|
* Fix warnings for unused variablesBill Hoffman2009-11-031-3/+3
|
* Fix cygwin package stuff to work with libarchiveBill Hoffman2009-11-033-80/+64
|
* Fix for hpux...Bill Hoffman2009-11-021-1/+1
|
* Switch to using libarchive from libtar for cpack and cmake -E tarBill Hoffman2009-10-3010-772/+298
| | | | | | This allows for a built in bzip and zip capability, so external tools will not be needed for these packagers. The cmake -E tar xf should be able to handle all compression types now as well.
* Fix more mismatched new[] / delete[] (eliminate invalid auto_ptr use) to ↵David Cole2009-10-302-8/+7
| | | | correct valgrind reported memory issues.