summaryrefslogtreecommitdiffstats
path: root/Source/CPack
Commit message (Collapse)AuthorAgeFilesLines
* CPack/Archive: per component filenames supportDomen Vrankar2017-05-162-16/+46
| | | | | | Support for setting archive packager specific per component filenames and monolithic package filenames.
* Merge topic 'cpackifw-i18n'Brad King2017-05-164-16/+101
|\ | | | | | | | | | | | | 72ac7ad9 CPackIFW: Internationalization Support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !748
| * CPackIFW: Internationalization SupportKonstantin Podsvirov2017-05-124-16/+101
| | | | | | | | | | | | | | | | | | Changes: - DISPLAY_NAME and DESCRIPTION in CPackIFW module now is MULTI_ARGS; - Added internationalization support for DisplayName and Description properties in cmCPackIFWPackage class; - Added documentation to CPackIFW module; - Added release note.
* | CPack unify component/monolithic package symlink handlingDomen Vrankar2017-05-141-0/+1
|/ | | | | | | | | | | Non component package generation was recursing through symlinks while monolithic package generation did not. This was causing component archive packages to contain both symlink and a directory with the same name on the same level if symlink contained files which caused errors during extraction of such packages. Closes #16051
* Merge topic 'cpackifw-access-refactoring'Brad King2017-05-115-558/+583
|\ | | | | | | | | | | | | 543cf134 CPackIFW: Access refactoring Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !820
| * CPackIFW: Access refactoringKonstantin Podsvirov2017-05-095-558/+583
| | | | | | | | | | | | Changes: - Access members with this->; - Access nested enum values with class name.
* | cmState: remove RemoveUnscriptableCommandsDaniel Pfeifer2017-05-081-2/+0
| |
* | cmake: initialize with Role that controls which commands to registerDaniel Pfeifer2017-05-082-2/+2
|/
* Merge topic 'vector-over-list'Brad King2017-05-052-6/+6
|\ | | | | | | | | | | | | 3e027d9d c++: prefer vectors over lists Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !799
| * c++: prefer vectors over listsBen Boeckel2017-05-042-6/+6
| | | | | | | | | | | | | | | | | | | | | | None of these usages of `std::list` were inserting or removing elements in the middle of the structure, so there were no benefits to using it. Other uses were related to C pointers being stable in a list of strings whereas in a vector of strings, small pointer optimizations could be moved and become invalid after a modification to the hosting vector. None of these uses modified the vector after handing out a C string to an external store.
* | CPackIFW: Refactor out some commonly used codeKonstantin Podsvirov2017-05-0310-322/+238
|/ | | | Move common used code to new cmCPackIFWCommon base class.
* cmCPackIFWInstaller: fix validation of WizardStyle optionKonstantin Podsvirov2017-04-261-4/+5
|
* clang-tidy: use operators for string comparisonDaniel Pfeifer2017-04-262-6/+5
|
* Merge topic 'wix-attributes-patch'Brad King2017-04-256-19/+37
|\ | | | | | | | | | | | | | | 58cf9d41 wix: adds ability to modify attributes with patch 03628bb6 wix: fix spelling error in function name Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !742
| * wix: adds ability to modify attributes with patchKeith Holman2017-04-245-12/+30
| | | | | | | | | | | | | | | | | | Adds the ability to attributes to generated XML files for features with the WiX patch system. To modify attributes additional attributes may be added within the 'CPackWixFragment' xml tag. Fixes: #16813 Signed-off-by: Keith Holman <keith.holman@windriver.com>
| * wix: fix spelling error in function nameKeith Holman2017-04-242-7/+7
| | | | | | | | | | | | | | | | The function "AddDirectoryAndFileDefinitions" was missing the last "i" in the function name. This patch corrects the spelling so that the function can be found easier when searching through the source code. Signed-off-by: Keith Holman <keith.holman@windriver.com>
* | clang-tidy: remove reduntant .data() callsDaniel Pfeifer2017-04-212-18/+13
|/
* Drop Visual Studio 7 .NET 2003 generatorBrad King2017-04-191-2/+0
| | | | This generator has been deprecated since CMake 3.6. Remove it.
* Use quotes for non-system includesDaniel Pfeifer2017-04-1151-72/+72
| | | | | | | | | | | | | Automate with: git grep -l '#include <cm_' -- Source \ | xargs sed -i 's/#include <\(cm_.*\)>/#include "\1"/g' git grep -l '#include <cmsys/' -- Source \ | xargs sed -i 's/#include <\(cmsys\/.*\)>/#include "\1"/g' git grep -l '#include <cm[A-Z]' -- Source \ | xargs sed -i 's/#include <\(cm[A-Z].*\)>/#include "\1"/g'
* CPack: drop CPack prefix for includesDaniel Pfeifer2017-04-1117-24/+24
| | | | | | | | | | Automate with: git grep -l '#include <CPack/' -- Source \ | xargs sed -i 's/#include <CPack\/\(.*\)>/#include "\1"/g' git grep -l '#include "CPack/' -- Source \ | xargs sed -i 's/#include "CPack\/\(.*\)"/#include "\1"/g'
* cmConfigure: Ensure separate include block in headersDaniel Pfeifer2017-04-115-0/+5
| | | | | | | | | | | Make sure that `#include <cmConfigure.h>` is followed by an empty line in header files. This is necessary to make sure that changing <> to "" does not affect the include ordering of clang-format. Automate with: git grep -l '#include <cmConfigure.h>' | grep -v '.cxx$' \ | xargs sed -i '/#include <cmConfigure.h>/ { N; N; s/\n\{1,2\}/\n\n/ }'
* Add self-sufficient wrapper for <sys/stat.h>Daniel Pfeifer2017-03-245-10/+5
|
* cmCPackGenerator: Move macros to bottom of fileDaniel Pfeifer2017-03-231-14/+14
| | | | | Since the class name is used in the macros, the iwyu tool gets confused wheter it needs a forward declaration or not.
* cmWorkingDirectory: use the new classBen Boeckel2017-03-062-9/+5
| | | | | | These functions just need to change the directory for a block of code and then go back to the caller's expected location. Use cmWorkingDirectory to ensure that all return paths are handled.
* OSXScriptLauncher: remove unused variableBen Boeckel2017-03-061-1/+0
|
* cmCPackDragNDropGenerator: Improving handling of temporary dmg imagesClinton Stimpson2017-02-231-20/+25
| | | | | | | | | | | | | | Adjust the image format to create the initial `dmg`, and convert only when necessary. This eliminates spurious hdiutil create -format UDRW failures I'm seeing which may be related to an anti-virus scanner. Running hdiutil create -format UDRW -verbose indicates a "resource is busy" issue when unmounting an image.
* Merge topic 'iwyu'Brad King2017-02-201-1/+0
|\ | | | | | | | | | | | | | | | | | | | | d58d28a9 ParserHelper: Move macros to bottom of files 07953c18 remove file cmStandardIncludes.h f918b053 cmFortranParser: include what you use b74314c6 cmDependsJavaParser: include what you use 74404df4 cmCommandArgumentParser: include what you use e7168c08 cmExprParser: include what you use ee72803e fix some include-what-you-use diagnostics
| * fix some include-what-you-use diagnosticsDaniel Pfeifer2017-02-171-1/+0
| |
* | Merge topic 'productbuild_component_plist'Brad King2017-02-203-0/+13
|\ \ | | | | | | | | | | | | d32f9deb CPack: Add option to specify --component-plist for productbuild
| * | CPack: Add option to specify --component-plist for productbuildTim Hutt2017-02-173-0/+13
| |/ | | | | | | | | | | | | When using the productbuild generator this lets you specify the value of the `--component-plist` parameter when it runs pkgbuild for a component. Fixes: #16638
* | CPack: Add support for CPACK_PRODUCTBULID_RESOURCES_DIRTim Hutt2017-02-171-2/+15
|/ | | | | | | This allows you to copy custom files (e.g. a background image) into the macOS installer. Fixes: #16604
* CPackWIX: Introduce new CPACK_WIX_ROOT_FOLDER_ID variableNils Gladitz2017-02-062-6/+16
| | | | | | | | | | The new variable allows specification of a custom root folder ID. The implicit default is "ProgramFiles<64>Folder". The "<64>" token is replaced by "" for 32-bit and "64" for 64-bit builds. Inspired-By: Eric Backus Fixes: #16573
* CPackProductBuild: Add options to sign packagesRoman Wüger2017-02-041-0/+22
|
* CPackIFW: Add some optionsKonstantin Podsvirov2017-01-242-18/+165
| | | | | | | | | | | | | | | | | The cpack_ifw_configure_component_group command gained options: - DEPENDS. The cpack_ifw_configure_component and cpack_ifw_configure_component_group commands gained options: - REQUIRES_ADMIN_RIGHTS; - UPDATE_TEXT; - SORTING_PRIORITY; # New name for PRIORITY - DEPENDENCIES; # Alias for DEPENDS - AUTO_DEPEND_ON; - TRANSLATIONS. For both commands PRIORITY option now is depreceted. Please use SORTING_PRIORITY instead.
* QtIFW: Added new options to QtIFW cpack generator for modifying wizard styleAlexander Voitenko2017-01-172-3/+141
|
* CPack/Deb invalid md5sums file fixDomen Vrankar2016-12-231-1/+5
| | | | | | | | | Monolithic deb packages were packaged with invalid md5sums file as trailing slash in path was causing string replace to fail and preserve build path. Fixes #16517
* clang-tidy: apply misc-suspicious-string-compare fixesDaniel Pfeifer2016-12-121-7/+5
|
* clang-tidy: apply modernize-use-bool-literals fixesDaniel Pfeifer2016-12-125-5/+5
|
* Merge topic 'utf8pipe'Brad King2016-12-021-0/+2
|\ | | | | | | | | 076aef8e Windows: Use UTF-8 for pipes in CMake, CTest and CPack
| * Windows: Use UTF-8 for pipes in CMake, CTest and CPackDāvis Mosāns2016-11-291-0/+2
| | | | | | | | | | Applications which process CMake output will need to decode it as UTF-8 instead of console's codepage.
* | Merge topic 'cpack-ifw-options'Brad King2016-11-305-3/+108
|\ \ | |/ |/| | | | | 88ecfd8b CPackIFW: Add some options
| * CPackIFW: Add some optionsKonstantin Podsvirov2016-11-245-3/+108
| | | | | | | | | | | | | | | | New options is: DEFAULT, VIRTUAL, FORCED_INSTALLATION, DISPLAY_NAME, DESCRIPTION and RELEASE_DATE. Options added for both cpack_ifw_configure_component and cpack_ifw_configure_component_group command.
* | avoid including cmStandardIncludes.hDaniel Pfeifer2016-11-282-2/+2
| |
* | iwyu: Fix more findingsDaniel Pfeifer2016-11-2810-47/+53
| |
* | iwyu: Fix OSX specific issuesDaniel Pfeifer2016-11-2213-36/+52
|/
* Port hash computation to cmCryptoHashBrad King2016-11-101-2/+2
| | | | | Avoid using KWSys MD5 or `cm_sha2` and use the `cmCryptoHash` abstraction instead.
* 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
|