summaryrefslogtreecommitdiffstats
path: root/Source/CPack/cmCPackGenerator.cxx
Commit message (Collapse)AuthorAgeFilesLines
...
* CPack fix KWStyle warningEric NOULARD2011-02-231-1/+1
|
* CPack Authorize DISPLAY_NAME usage in component packageEric NOULARD2011-02-221-0/+41
| | | | Second (last) part fix of feature request #11814
* CPackRPM honors all the different ways of packaging componentsEric NOULARD2011-02-061-5/+31
| | | | | | | RPM cannot easily 'merge' differents directory into a single RPM with shared prefix. So more flexibility has been added to generic CPackGenerator in order to let the specific generator chose the local installation directory for each component.
* Merge topic 'CPack-MoreComponentControls'Brad King2010-12-161-1/+7
|\ | | | | | | | | 6d94ea3 CPack use IsOn when it's better than IsSet
| * CPack use IsOn when it's better than IsSetEric NOULARD2010-12-121-1/+7
| | | | | | | | | | | | | | | | 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 breakage and make CPackRPM backward compatibleEric NOULARD2010-11-151-1/+3
| | | | | backward compatible= No componentized RPM unless requested using CPACK_RPM_COMP0NENT_INSTALL
* CPackRPM add basic component support to CPackRPMEric NOULARD2010-11-131-3/+81
| | | | | basic means 1 RPM per component and no dependency handling this implies some CPackGenerator refactoring
* Fix KWStyle line length issues.Bill Hoffman2010-09-151-8/+16
|
* 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-311-3/+7
|\ \ | | | | | | | | | | | | | | | | | | | | | a986daf CPack fix broken compilation for CygwinSource generator 873e99a CPackArchiveGenerator improve usability and robustness 654683a CPackArchiveGenerator add component supports 36a550a CPackArchiveGenerator use cmArchiveWrite wrapper
| * | CPackArchiveGenerator add component supportsEric NOULARD2010-08-241-3/+7
| |/
* | 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-231-2/+14
|/
* 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-111-4/+4
| | | | | 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-111-25/+47
| | | | | | | | 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.
* 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.
* remove unused variables, reported by icpcAlexander Neundorf2009-10-031-4/+0
| | | | Alex
* Fix default install prefix on HaikuBrad King2009-09-301-0/+14
| | | | | | | | Since Haiku does not have /usr (and therefore /usr/local), this commit changes the default install prefix to the equivalent directory of /boot/common. See issue #9607.
* Convert CMake to OSI-approved BSD LicenseBrad King2009-09-281-14/+9
| | | | | | | This converts the CMake license to a pure 3-clause OSI-approved BSD License. We drop the previous license clause requiring modified versions to be plainly marked. We also update the CMake copyright to cover the full development time range.
* BUG: Do not double-initialize local generatorsBrad King2009-07-281-1/+0
| | | | | | | | | All global generator CreateLocalGenerator methods automatically initialize the local generator instances with SetGlobalGenerator. In several places we were calling SetGlobalGenerator again after receiving the return value from CreateLocalGenerator. The double-initializations leaked the resources allocated by the first call to SetGlobalGenerator. This fix removes the unnecessary calls.
* ENH: Create cmXMLSafe to help escapes in XMLBrad King2009-02-051-1/+2
| | | | | | | This class provides easy syntax to efficiently insert blocks of data into XML documents with proper escapes. It replaces the old cmCTest::MakeXMLSafe and cmSystemTools::MakeXMLSafe methods which allocated extra memory instead of directly streaming the data.
* BUG: Use the DESTDIR prefix when creating the directory in CPack when ↵David Cole2008-10-151-8/+24
| | | | CPACK_SET_DESTDIR is ON. Thanks to Petri Hodju for reporting this regression to the CMake mailing list: http://www.cmake.org/pipermail/cmake/2008-October/024563.html.
* STYLE: fix line length issuesBill Hoffman2008-10-021-6/+8
|
* STYLE: fix line length stuff for KWStyleBill Hoffman2008-10-011-9/+16
|
* STYLE: fix compiler warningBill Hoffman2008-09-241-2/+1
|
* STYLE: fix warning and rename methodBill Hoffman2008-09-231-2/+2
|
* BUG: fix 7669, cpack did not work with symlinksBill Hoffman2008-09-221-154/+18
|
* ENH: Further refinement of the CPack components functionality from Doug Gregor.David Cole2008-07-081-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* COMP: Eliminate compiler warning on 64-bit build.David Cole2008-06-181-1/+2
|
* COMP: Fix errors and warnings from continuous dashboards running different ↵David Cole2008-06-171-0/+3
| | | | compilers...
* ENH: Add patch for feature request #6847 - CPack components for NSIS and ↵David Cole2008-06-171-76/+327
| | | | PackageMaker installers. Thanks to Doug Gregor for all the hard work involved with implementing this patch! Also added new test CPackComponents that is conditionally executed only when NSIS or PackageMaker installer builders are available.
* ENH: fix crash in cpack when CPACK_CYGWIN_PATCH_NUMBER not specifiedBill Hoffman2008-03-131-1/+9
|
* ENH: fix crash in cygwin package stuffBill Hoffman2008-03-071-7/+34
|
* ENH: have cpack work with DESTDIR install and ingest qt framework libs into ↵Bill Hoffman2008-02-181-1/+1
| | | | cmake-gui
* ENH: fix DESTDIR installBill Hoffman2008-02-161-3/+2
|
* ENH: changne ProcessGenertor to DoPackageBill Hoffman2007-11-061-1/+1
|
* ENH: change nameBill Hoffman2007-11-051-0/+1060