summaryrefslogtreecommitdiffstats
path: root/Source/CPack/cmCPackPackageMakerGenerator.h
Commit message (Collapse)AuthorAgeFilesLines
* Simplify CMake per-source license noticesBrad King2016-09-271-12/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Per-source copyright/license notice headers that spell out copyright holder names and years are hard to maintain and often out-of-date or plain wrong. Precise contributor information is already maintained automatically by the version control tool. Ultimately it is the receiver of a file who is responsible for determining its licensing status, and per-source notices are merely a convenience. Therefore it is simpler and more accurate for each source to have a generic notice of the license name and references to more detailed information on copyright holders and full license terms. Our `Copyright.txt` file now contains a list of Contributors whose names appeared source-level copyright notices. It also references version control history for more precise information. Therefore we no longer need to spell out the list of Contributors in each source file notice. Replace CMake per-source copyright/license notice headers with a short description of the license and links to `Copyright.txt` and online information available from "https://cmake.org/licensing". The online URL also handles cases of modules being copied out of our source into other projects, so we can drop our notices about replacing links with full license text. Run the `Utilities/Scripts/filter-notices.bash` script to perform the majority of the replacements mechanically. Manually fix up shebang lines and trailing newlines in a few files. Manually update the notices in a few files that the script does not handle.
* Source/CPack: Add CM_OVERRIDE on MacOS cmCPackGenerator overridesBrad King2016-07-221-4/+4
|
* PackageMaker: factor out common code for creating pkg files.Clinton Stimpson2016-06-021-64/+4
|
* Revise C++ coding style using clang-formatKitware Robot2016-05-161-10/+8
| | | | | | | | | | | | | Run the `Utilities/Scripts/clang-format.bash` script to update all our C++ code to a new style defined by `.clang-format`. Use `clang-format` version 3.8. * If you reached this commit for a line in `git blame`, re-run the blame operation starting at the parent of this commit to see older history for the content. * See the parent commit for instructions to rebase a change across this style transition commit.
* Source: Stabilize include orderBrad King2016-04-291-1/+0
| | | | | Each source file has a logical first include file. Include it in an isolated block so that tools that sort includes do not move them.
* Merge topic 'cpack-PackageMaker-OSX-10.10'Brad King2015-01-151-1/+1
|\ | | | | | | | | 70abf6e7 CPack: Fix PackageMaker internal versioning for OS X 10.10
| * CPack: Fix PackageMaker internal versioning for OS X 10.10Calin Cascaval2015-01-121-1/+1
| | | | | | | | | | Avoid using a floating point value to represent the version, since "10.10" would be treated as "10.1".
* | Port all cmOStringStream to std::ostringstream.Stephen Kelly2015-01-111-5/+5
|/ | | | All compilers hosting CMake support the std class.
* stringapi: Miscellaneous char* parametersBen Boeckel2014-03-081-4/+4
|
* stringapi: Use string for OS X resource namesBen Boeckel2014-03-081-1/+2
|
* PackageMaker: Enable postflight script in component mode (#12375)Clinton Stimpson2012-10-311-0/+3
| | | | | | | | | | | Previously, setting CPACK_POSTFLIGHT_SCRIPT had no effect in component mode, when CPACK_COMPONENTS_ALL was set. In component mode, a .mpkg is created that contains multiple .pkg's. Because postflight scripts only work in a .pkg, add another .pkg to the .mpkg and put the postflight script in that. This is the same approach taken by the PackageMaker GUI when adding a postflight script to a metapackage.
* Remove trailing whitespace from most CMake and C/C++ codeKitware Robot2012-08-131-5/+5
| | | | | | | | | | | | | | | | | 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/ \+$//'
* CPack: Refactor API in order to handle multi-file packagesEric NOULARD2010-08-111-2/+1
| | | | | | | | 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.
* BUG: Fix issue #7414 - do not crash when given components with circular ↵David Cole2008-07-301-2/+5
| | | | dependencies. Thanks to Doug Gregor for the patch.
* ENH: One more patch from Doug Gregor including PackageMaker functionality ↵David Cole2008-07-091-0/+1
| | | | for componentized-for-the-end-user and download-some-bit-on-demand installers.
* BUG: Workaround PackageMaker 3.0 issue for new CPack components feature. ↵David Cole2008-06-181-1/+6
| | | | Thanks again to Doug Gregor for the patch.
* ENH: Add patch for feature request #6847 - CPack components for NSIS and ↵David Cole2008-06-171-1/+60
| | | | 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: install working with symlink qt toolBill Hoffman2008-02-191-0/+3
|
* ENH: change nameBill Hoffman2007-11-051-3/+3
|
* COMP: Fix warnings on 64-bit Mac OS X build. Patch from issue #3697.Brad King2007-11-051-1/+1
|
* ENH: Add CPACK_SET_DESTDIR handling to enable packaging of installed files ↵David Cole2007-10-311-1/+0
| | | | 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: add support for cygwin source and binary packagingBill Hoffman2007-02-021-1/+1
|
* ENH: Support for packaging source, several cleanups and more yeehaa...Andy Cedilnik2006-04-151-5/+1
|
* STYLE: Lots of formating to remove style problemsAndy Cedilnik2006-03-081-3/+2
|
* ENH: Check package maker versionAndy Cedilnik2006-03-031-0/+2
|
* COMP: Remove legacy code and fix sun buildAndy Cedilnik2006-01-101-1/+0
|
* ENH: Start working on CPack input file and cleanupsAndy Cedilnik2006-01-021-6/+1
|
* ENH: Merge from the cpack branchAndy Cedilnik2006-01-021-0/+64