summaryrefslogtreecommitdiffstats
path: root/Source/CPack
Commit message (Collapse)AuthorAgeFilesLines
* Encoding: Remove option to use ANSI code page internallyClinton Stimpson2016-11-023-44/+2
| | | | | | The switch to use UTF-8 encoding has been defaulted to on for quite some time since commit v3.2.0-rc1~116^2 (Encoding: Switch to use UTF-8 internally by default on Windows, 2014-12-26).
* Enable Unicode output to Windows consolesDāvis Mosāns2016-10-261-0/+8
| | | | | | Use KWSys ConsoleBuf to replace the `streambuf` on `std::cout` and `std::cerr` so that process output can be encoded correctly for display in a Windows console.
* Remove cmObject.h and cmTypeMacro.hDaniel Pfeifer2016-10-2417-21/+3
|
* Make cmCPackGenerator not inherit from cmObjectDaniel Pfeifer2016-10-222-5/+6
|
* Make cmCPackGeneratorFactory not inherit from cmObjectDaniel Pfeifer2016-10-221-4/+2
|
* Make cmCPackLog not inherit from cmObjectDaniel Pfeifer2016-10-221-4/+2
|
* Merge topic 'clang-tidy'Brad King2016-10-201-1/+1
|\ | | | | | | | | | | effa6c83 fix more issues reported by clang-tidy fb461cac silence selected clang-tidy violations
| * fix more issues reported by clang-tidyDaniel Pfeifer2016-10-201-1/+1
| |
* | cmListFileCache: Remove cmState header includeStephen Kelly2016-10-191-0/+1
| | | | | | | | | | Include it in dependents which have previously relied on it transitively.
* | cmState: Port dependents to new cmStateTypes headerStephen Kelly2016-10-192-2/+2
|/
* CPack/RPM single debuginfo packagingDomen Vrankar2016-10-071-1/+87
| | | | | | | | | Generate a single debuginfo package even if components packaging is enabled. This makes issue #15668 resolution feature complete. Closes: #15486
* CPack/RPM learned defining main componentDomen Vrankar2016-10-071-28/+131
| | | | | | Main component rpm package is generated without component suffix in filename and package name.
* Do not define cout/cerr preprocessor symbolsBrad King2016-10-044-24/+0
| | | | | | Apply the change from commit bd3d0eaf (cmCTest: don't redefine cout and cerr, 2016-09-01) to the rest of ctest and cpack. These definitions are no longer needed because our conventions are well established.
* Simplify CMake per-source license noticesBrad King2016-09-2777-917/+154
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* CPack/NSIS: Add custom component install directoryRoman Wüger2016-09-262-6/+40
|
* Merge topic 'cpack.hash_computing'Brad King2016-09-201-1/+32
|\ | | | | | | | | | | 1c63aa4d CPack: Add option to generate a checksum file next to each package file 4682b42b Tests: Add subtest support to RunCMake/CPack infrastructure
| * CPack: Add option to generate a checksum file next to each package filePetr Orlov2016-09-191-1/+32
| | | | | | | | Add variable CPACK_PACKAGE_CHECKSUM to activate it.
* | CPackIFW: Add 'cpack_ifw_add_package_resources' commandKonstantin Podsvirov2016-09-193-0/+100
|/
* CPackIFW: Add USER_INTERFACES optionPierluigi Taddei2016-09-162-0/+33
| | | | | | Add to CPackIFW the capability of accepting a list of USER_INTERFACES that are copied to the meta folder and added to the component description.
* Merge topic 'drop-cygwin-binary'Brad King2016-09-121-69/+0
|\ | | | | | | | | db915a37 Utilities/Release: Drop Cygwin binary
| * Utilities/Release: Drop Cygwin binaryBrad King2016-09-121-69/+0
| | | | | | | | | | Cygwin has packaged CMake independently of upstream for a long time. See its [cygport](https://github.com/cygwinports/cmake).
* | CPackWIX: Enabled patching of WIX <Feature> tagsMichael Stürmer2016-09-093-8/+15
|/
* Merge topic 'include-what-you-use'Brad King2016-09-0738-82/+230
|\ | | | | | | | | d47c7bf6 CPack: include what you use
| * CPack: include what you useDaniel Pfeifer2016-09-0638-82/+230
| |
* | CPackWIX: Fix incomplete CPACK_WIX_SKIP_PROGRAM_FOLDER implementationMichael Stürmer2016-09-0610-38/+79
|/ | | | | | | | | | Commit 17bbf6af (CPackWIX: Implement new CPACK_WIX_SKIP_PROGRAM_FOLDER feature) generates GUIDs for most but not all components when the feature is active. Generate the remaining GUIDs as well. Co-Author: Nils Gladitz <nilsgladitz@gmail.com>
* Merge topic 'cpack-deb-long-filenames'Brad King2016-09-061-2/+10
|\ | | | | | | | | 4ffdd564 CPack/DEB: Add option to select archive type
| * CPack/DEB: Add option to select archive typeDomen Vrankar2016-09-051-2/+10
| | | | | | | | | | | | | | Add a `CPACK_DEBIAN_ARCHIVE_TYPE` option that can be used to select an archive type that supports long file names. Closes: #14332
* | Merge topic 'macro-parenthesis'Brad King2016-09-061-4/+4
|\ \ | | | | | | | | | | | | 1a9de803 surround macro arguments with parentheses
| * | surround macro arguments with parenthesesDaniel Pfeifer2016-09-051-4/+4
| |/
* | tidy: Fix readability-redundant-string-cstr issuesGregor Jasny2016-09-045-27/+24
|/
* make sure to include cmConfigure.h before cmStandardIncludes.hDaniel Pfeifer2016-09-032-0/+4
|
* CPack: don't use else after returnDaniel Pfeifer2016-08-184-23/+12
|
* Make sure unnused parameters are /*named*/Daniel Pfeifer2016-08-162-2/+2
|
* CPackWIX: Implement new CPACK_WIX_SKIP_PROGRAM_FOLDER featureMichael Stürmer2016-08-084-4/+31
| | | | | The new variable allows setting of a custom absolute installation prefix outside of the ProgramFiles folders.
* CPackWIX: Support custom title and description for the root featureMichael Stürmer2016-08-021-1/+8
| | | | | | These can now be specified through the WIX generator specific CPack variables CPACK_WIX_ROOT_FEATURE_TITLE and CPACK_WIX_ROOT_FEATURE_DESCRIPTION.
* Merge topic 'wix-disabled-components'Brad King2016-08-011-0/+4
|\ | | | | | | | | | | ad453f05 CPackWIX: Support CPACK_COMPONENT_<compName>_DISABLED 6f108f84 CPackComponent: Document the *_HIDDEN and *_DISABLED variables
| * CPackWIX: Support CPACK_COMPONENT_<compName>_DISABLEDMichael Stürmer2016-07-221-0/+4
| | | | | | | | Reviewed-by: Nils Gladitz <nilsgladitz@gmail.com>
* | Source/CPack: Add CM_OVERRIDE on MacOS cmCPackGenerator overridesBrad King2016-07-226-23/+23
|/
* Merge topic 'compat-CPACK_INSTALL_CMAKE_PROJECTS-subdirectory'Brad King2016-07-201-1/+2
|\ | | | | | | | | 57534990 CPack: Add compatibility for incorrect CPACK_INSTALL_CMAKE_PROJECTS value
| * CPack: Add compatibility for incorrect CPACK_INSTALL_CMAKE_PROJECTS valueBrad King2016-07-191-1/+2
| | | | | | | | | | | | | | | | | | | | Since commit v3.6.0-rc1~339^2 (CPack: Fix CPACK_INSTALL_CMAKE_PROJECTS SubDirectory (4th) option, 2016-02-18) we now honor the "Directory" option of this variable. Prior to that commit the value was not used so projects may have used a placeholder value like `.` instead of `/`. Treat `.` the same as `/` to restore compatibility with such projects. Fixes #16205.
* | Use better KWSys SystemTools::GetEnv and HasEnv signaturesDāvis Mosāns2016-07-181-4/+4
| |
* | Merge topic 'cpack-ifw-fix-repo-attributes'Brad King2016-07-061-2/+2
|\ \ | |/ | | | | | | 7a30fa1a CPackIFW: Fix attributes for Promoting Updates repository replacement
| * CPackIFW: Fix attributes for Promoting Updates repository replacementKonstantin Podsvirov2016-07-051-2/+2
| | | | | | | | | | Fix spelling of attributes added by commit v3.6.0-rc1~52^2 (CPackIFW: Add support for Promoting Updates, 2016-05-17).
* | Avoid using KWSys auto_ptr by adopting it ourselvesBrad King2016-06-293-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | Replace use of cmsys::auto_ptr with a CM_AUTO_PTR macro that maps to our own implementation adopted from the KWSys auto_ptr implementation. Later we may be able to map CM_AUTO_PTR to std::auto_ptr on compilers that do not warn about it. Automate the client site conversions: git grep -l auto_ptr -- Source/ | grep -v Source/kwsys/ | xargs sed -i \ 's|cmsys::auto_ptr|CM_AUTO_PTR|;s|cmsys/auto_ptr.hxx|cm_auto_ptr.hxx|'
* | use CM_NULLPTRDaniel Pfeifer2016-06-2814-56/+62
| |
* | mark functions with CM_OVERRIDEDaniel Pfeifer2016-06-2715-61/+63
| |
* | Add CM_OVERRIDE to some functionsDaniel Pfeifer2016-06-271-3/+3
| | | | | | | | | | | | | | Run clang-tidy's modernize-use-override checker. This checker must have issues in version 3.8. It has way too little matches. And it adds override to destructors. Revert the changes on the destructors and change override to CM_OVERRIDE.
* | Prefer istringstream and ostringstream over stringstream.Daniel Pfeifer2016-06-147-12/+12
| | | | | | | | Use istringsream for parsing, ostringstream for generation.
* | Access std::ios_base with std::iosDaniel Pfeifer2016-06-141-1/+1
| | | | | | | | Just because it is shorter.
* | Add missing braces around statements.Daniel Pfeifer2016-06-105-27/+53
| | | | | | | | | | Apply fixits of clang-tidy's readability-braces-around-statements checker.