summaryrefslogtreecommitdiffstats
path: root/Source/CPack/cmCPackGenerator.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove trailing whitespace from most CMake and C/C++ codeKitware Robot2012-08-131-1/+1
| | | | | | | | | | | | | | | | | Our Git commit hooks disallow modification or addition of lines with trailing whitespace. Wipe out all remnants of trailing whitespace everywhere except third-party code. Run the following shell code: git ls-files -z -- \ bootstrap doxygen.config '*.readme' \ '*.c' '*.cmake' '*.cpp' '*.cxx' \ '*.el' '*.f' '*.f90' '*.h' '*.in' '*.in.l' '*.java' \ '*.mm' '*.pike' '*.py' '*.txt' '*.vim' | egrep -z -v '^(Utilities/cm|Source/(kwsys|CursesDialog/form)/)' | egrep -z -v '^(Modules/CPack\..*\.in)' | xargs -0 sed -i 's/ \+$//'
* Merge topic 'CPack-activateRPM-DEB-onMacOS'David Cole2012-05-241-0/+10
|\ | | | | | | | | | | 801ea70 Calm down Borland compiler warning about "always true" 2a34b57 CPack allow RPM and DEB generator to be used on OSX.
| * CPack allow RPM and DEB generator to be used on OSX.Eric NOULARD2012-05-201-0/+10
| | | | | | | | | | | | | | | | | | More generally add the check for possible generator "activation" at runtime depending on a generator specific check. The dynamic behavior is currently implemented only for MacOS and should be fully backward compatible for other system. Inspired-By Tom Hughes <tomtheengineer@gmail.com>
* | CPack add necessary check to detect/warns/error on ABSOLUTE DESTINATIONEric NOULARD2012-05-141-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The [usually] wrong usage of absolute DESTINATION in INSTALL rules keeps popping-up on the ML. We shall have some way to: 1) easily detect it. 2) forbids this for some CPack generator like NSIS In fact it should certainly be forbidden for *any* generators when used on Windows but we may implements that on top of the current patch. The patch ask the task to the generated cmake_install.cmake scripts. Those scripts are a little bit more complicated with that but iff there are absolute DESTINATION. This cost nothing if relative DESTINATION are used. Two new vars are introduced (and documented to handle that): CPACK_WARN_ON_ABSOLUTE_INSTALL_DESTINATION and CPACK_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION
* | CPack add easy possibility to warn about CPACK_SET_DESTDIREric NOULARD2012-05-141-0/+23
|/ | | | CPackNSIS will only warn but sooner or later it should error out
* Handle CPACK_MONOLITHIC_INSTALL in some rare use cases.Eric NOULARD2012-03-181-0/+14
| | | | | | | | | | | | | For example, when CPACK_<GEN>_COMPONENT_INSTALL and CPACK_MONOLITHIC_INSTALL are both set. Previously, this combination of variable settings produced an error without any explanation. Now, in this case CPACK_MONOLITHIC_INSTALL wins without trouble. This is useful for when e.g. CPACK_ARCHIVE_COMPONENT_INSTALL is globally on and one wants MONOLITHIC install for STGZ (but not other generators). The same behavior may be obtained by re-setting CPACK_ARCHIVE_COMPONENT_INSTALL to 0 but in any case the 'both set' case should have been handled without error.
* RunSingleCommand: Replace verbose boolean with enumJohan Björk2011-07-281-2/+5
| | | | | No behaviour change, this prepares for adding a flag to skip the merging of output streams.
* Fix KWStyle warningsEric NOULARD2011-04-041-2/+4
|
* Combine component packaging methods into an enum.Clinton Stimpson2011-03-311-7/+19
| | | | | Also allow generators to override the default packaging method. Add a ONE_PER_GROUP option so that method can be specified by the user without relying on defaults.
* CPack fix #11930 and simplifies component packaging optionsEric NOULARD2011-03-231-5/+0
|
* CPack Authorize DISPLAY_NAME usage in component packageEric NOULARD2011-02-221-0/+13
| | | | Second (last) part fix of feature request #11814
* CPackRPM honors all the different ways of packaging componentsEric NOULARD2011-02-061-0/+13
| | | | | | | 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.
* CPack use IsOn when it's better than IsSetEric NOULARD2010-12-121-1/+2
| | | | | | | | 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.
* CPackRPM add basic component support to CPackRPMEric NOULARD2010-11-131-0/+25
| | | | | basic means 1 RPM per component and no dependency handling this implies some CPackGenerator refactoring
* CPack: Refactor API in order to handle multi-file packagesEric NOULARD2010-08-111-5/+64
| | | | | | | | 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.
* 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.
* STYLE: fix line length stuff for KWStyleBill Hoffman2008-10-011-3/+6
|
* STYLE: fix compiler warningBill Hoffman2008-09-241-1/+1
|
* STYLE: fix warning and rename methodBill Hoffman2008-09-231-1/+1
|
* COMP: Include full class definitions of classes used in std::map data members.David Cole2008-06-171-3/+4
|
* ENH: Add patch for feature request #6847 - CPack components for NSIS and ↵David Cole2008-06-171-0/+14
| | | | 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: changne ProcessGenertor to DoPackageBill Hoffman2007-11-061-1/+1
|
* ENH: change nameBill Hoffman2007-11-051-0/+137