summaryrefslogtreecommitdiffstats
path: root/Source/CPack
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* | Merge topic 'small-cleanups'Brad King2016-06-092-7/+7
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 9f25fc4d Prefer std::ostream& over derivatives as parameters f9cc43ea cmake: remove unnused member Verbose 6e658085 cmake: Fix constness of methods 87ffd76d cmake: Make internal method file static fa169fe8 Parser: Merge identical conditions
| * | Prefer std::ostream& over derivatives as parametersDaniel Pfeifer2016-06-082-7/+7
| | |
* | | CPack/PackageMaker: port to cmXMLWriterDaniel Pfeifer2016-06-093-85/+85
|/ /
* | Source/CPack: Run clang-format to fix styleBrad King2016-06-076-110/+75
| |
* | Remove c_str() calls from stream arguments.Daniel Pfeifer2016-06-066-46/+43
| | | | | | | | | | | | Mostly automated: git grep -l '.c_str() <<' | xargs sed -i 's|\.c_str() <<| <<|g'
* | Merge topic 'productbuild'Brad King2016-06-067-386/+799
|\ \ | | | | | | | | | | | | | | | | | | 63e5eb5f Help: Add notes for 'productbuild' topic 2e3c67d1 productbuild: Add new productbuild cpack generator. 50a3d340 PackageMaker: factor out common code for creating pkg files.
| * | productbuild: Add new productbuild cpack generator.Clinton Stimpson2016-06-035-1/+327
| | | | | | | | | | | | This cpack generator basically replaces the obsolete PackageMaker generator.
| * | PackageMaker: factor out common code for creating pkg files.Clinton Stimpson2016-06-024-388/+475
| |/
* | Simplify boolean expressionsDaniel Pfeifer2016-06-025-29/+9
|/ | | | | | Use clang-tidy's readability-simplify-boolean-expr checker. After applying the fix-its, revise all changes *very* carefully. Be aware of false positives and invalid changes.
* Merge topic 'remove-needless-copies'Brad King2016-05-274-6/+8
|\ | | | | | | | | | | 27ead963 Remove unnecessary local copies. 618fb23f Pass arguments that are not modified as const&.
| * Pass arguments that are not modified as const&.Daniel Pfeifer2016-05-264-6/+8
| | | | | | | | | | | | | | Use clang-tidy's performance-unnecessary-value-param checker to find value parameter declarations of expensive to copy types that are not modified inside the function. Ignore findings in kwsys. After applying the fix-its, manually change `const T&` to `T const&`.
* | Remove redundant c_str() calls.Daniel Pfeifer2016-05-261-2/+2
|/ | | | | Run clang-tidy's readability-redundant-string-cstr checker. Ignore findings in kwsys.
* CPack/DragNDrop: Optionally disable `/Applications` symlinkHarry Mallon2016-05-251-5/+10
|
* Improve string find: prefer character overloads.Daniel Pfeifer2016-05-242-4/+4
| | | | | Apply fix-its from clang-tidy's performance-faster-string-find checker. Ignore findings in kwsys.
* Use std::replace for replacing chars in strings.Daniel Pfeifer2016-05-242-7/+7
| | | | | | | | | | | Find uses of `cmSystemTools::ReplaceString` where both `replace` and `with` are string literals with a size of one. Automate with: git grep -l ReplaceString | xargs sed -i "s|cmSystemTools::ReplaceString(\([^,]*\), \"\(.\)\", \"\(.\)\");|std::replace(\1.begin(), \1.end(), '\2', '\3');|g" git grep -l ReplaceString | xargs sed -i "s|cmSystemTools::ReplaceString(\([^,]*\), \"\(.\)\", \"\\\\\\\\\");|std::replace(\1.begin(), \1.end(), '\2', '\\\\\\\\');|g" git grep -l ReplaceString | xargs sed -i "s|cmSystemTools::ReplaceString(\([^,]*\), \"\\\\\\\\\", \"\(.\)\");|std::replace(\1.begin(), \1.end(), '\\\\\\\\', '\2');|g"
* Merge topic 'cpack-deb-different-package-names'Brad King2016-05-241-4/+4
|\ | | | | | | | | adbd3985 CPack/Deb possibility to change package name
| * CPack/Deb possibility to change package nameDomen Vrankar2016-05-231-4/+4
| | | | | | | | | | | | | | | | This patch preserves backward compatibility of deb package names with previous CMake versions but similarly to CPack/RPM allows to change package name format and supports DEB-DEFAULT setting that produces proper Debian package names.
* | CPackIFW: Command cpack_ifw_configure_component learned ESSENTIAL optionKonstantin Podsvirov2016-05-232-0/+14
|/
* Merge topic 'minor-cleanup'Brad King2016-05-201-5/+4
|\ | | | | | | | | 40bee43a cmCPackDragNDropGenerator: Replace std::{ostringstream => string}
| * cmCPackDragNDropGenerator: Replace std::{ostringstream => string}Brad King2016-05-171-5/+4
| |
* | CPackIFW: Add support for Promoting UpdatesKonstantin Podsvirov2016-05-186-90/+518
|/ | | | | | | | Add support for this feature added by QtIFW 2.0.3: http://doc.qt.io/qtinstallerframework/ifw-updates.html Add a `cpack_ifw_update_repository` command as porcelain.
* Revise C++ coding style using clang-formatKitware Robot2016-05-1664-5690/+4184
| | | | | | | | | | | | | 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.
* Merge topic 'cpack-rpm-different-package-names'Brad King2016-05-162-31/+44
|\ | | | | | | | | 44ee2d71 CPack/RPM different package names
| * CPack/RPM different package namesDomen Vrankar2016-05-152-31/+44
| | | | | | | | | | | | | | | | Packagers may now set their own rpm package file names or request that rpmbuild tool chooses one for them. It also supports handing of situations where one spec file may produce multiple rpm packages.
* | CPack/Deb proper package file namingDomen Vrankar2016-05-132-29/+21
| | | | | | | | | | Proper Debian packages file naming for single package setup (breaks compatibility with previous versions)