summaryrefslogtreecommitdiffstats
path: root/Source/CPack
Commit message (Collapse)AuthorAgeFilesLines
* CPack: Deprecate OSXX11 generatorBrad King2020-01-311-0/+3
| | | | | | | | | | The CPack OSXX11 generator has not had any updates since 2011 except as part of sweeping maintenance changes. It also creates packages with a OSXScriptLauncher binary that has only ppc and i386 architectures which are not supported by Apple anymore. Furthermore, the generator is not even mentioned in our documentation. Add a deprecation warning. Fixes: #20235
* CPack: Deprecate PackageMaker generatorBrad King2020-01-311-0/+3
| | | | | | | Xcode no longer distributes the PackageMaker tools. Add a deprecation warning when the generator is used. Issue: #20235
* Merge topic 'cpack-dmg-breaklongline'Brad King2020-01-271-2/+3
|\ | | | | | | | | | | | | 4a3a7d5f5d CPack/DragNDrop: Fix word corruption in BreakLongLines Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4275
| * CPack/DragNDrop: Fix word corruption in BreakLongLinesKoray Kilinc2020-01-241-2/+3
| | | | | | | | When the lines are wrapped the leading characters of the next word were being lost
* | CPack/DragNDrop: Support RTF licensesAndrew Fuller2020-01-241-10/+31
|/
* Merge topic 'cpack-custom-dmg-names'Craig Scott2020-01-171-0/+5
|\ | | | | | | | | | | | | | | 6d6f4b9316 CPack/DragNDrop: Support CPACK_DMG_<component>_FILE_NAME b53230fbee Tests: Add DragNDrop as a testable CPack generator Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4227
| * CPack/DragNDrop: Support CPACK_DMG_<component>_FILE_NAMEAndrew Fuller2020-01-161-0/+5
| |
* | Merge topic 'fix-cpack-deb-description-file'Brad King2020-01-131-2/+7
|\ \ | |/ |/| | | | | | | | | d491f34a5e CPack: Fix regression in DEB generator description Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4204
| * CPack: Fix regression in DEB generator descriptionKyle Edwards2020-01-101-2/+7
| | | | | | | | Fixes: #20102
| * Merge topic 'cpack-custom-templates' into release-3.16Brad King2019-11-186-9/+18
| |\ | | | | | | | | | | | | | | | | | | | | | 7d6ab5dc5b CPack: Restore support for custom package configuration templates Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Kyle Edwards <kyle.edwards@kitware.com> Merge-request: !4054
* | \ Merge topic 'nsis-headerimage'Kyle Edwards2020-01-101-4/+9
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | ebfffc609e CPack/NSIS: Add option for setting MUI_HEADERIMAGE_BITMAP Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4157
| * | | CPack/NSIS: Add option for setting MUI_HEADERIMAGE_BITMAPJohnny Jazeix2020-01-021-4/+9
| | | | | | | | | | | | | | | | Fixes: #20120
* | | | GlobalGenerator family: modernize memory managementMarc Chevrier2020-01-071-2/+2
|/ / /
* | | Merge topic 'win-no-error-popup'Brad King2019-11-181-1/+0
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a4c19cb895 Windows: Restore suppression of error report popups in CI builds 0b9f1cc96b Merge branch 'upstream-KWSys' into win-no-error-popup 9e27e52d4b KWSys 2019-11-15 (329d8c7c) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4052
| * | | Windows: Restore suppression of error report popups in CI buildsBrad King2019-11-151-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Windows, libuv uses `_CrtSetReportHook` to install a handler it uses to suppress assertions on invalid file descriptors in `_get_osfhandle`. This removes the handler we install in CI environments to suppress interactive popups. Move installation of our handler to after libuv is initialized so that our handler is actually used. Unfortunately this also removes libuv's handler and so may cause Debug builds under CI to abort on invalid file descriptors instead of simply converting them to `INVALID_HANDLE_VALUE`. If this becomes a problem we may need to modify libuv to make its hook more configurable.
* | | | Merge topic 'cpack-custom-templates'Brad King2019-11-186-9/+18
|\ \ \ \ | |/ / / |/| | / | | |/ | |/| | | | | | | | | | 7d6ab5dc5b CPack: Restore support for custom package configuration templates Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Kyle Edwards <kyle.edwards@kitware.com> Merge-request: !4054
| * | CPack: Restore support for custom package configuration templatesBrad King2019-11-156-9/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactoring in commit 98617f1be0 (Refactor: Move CPack internal files to `Internal/CPack/` directory, 2019-07-09, v3.16.0-rc1~449^2) accidentally changed the public-facing names of the templates. The name passed to `FindTemplate` is searched in `CMAKE_MODULE_PATH` and should not change. Remove the `Internal/CPack/` prefix on the names added by that commit. Teach `FindTemplate` to use our builtin default directly when the public-facing name is not found in `CMAKE_MODULE_PATH`. Fixes: #19979
* | | Merge topic 'cpack-pkg-background'Brad King2019-11-124-4/+74
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | e6069613a1 CPack: Set background image in macOS installer Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3995
| * | | CPack: Set background image in macOS installerSergey Larin2019-11-084-4/+74
| | | | | | | | | | | | | | | | | | | | Now you can set a background image and it's parameters in productbuild and PackageMaker based installers.
* | | | Merge topic 'remove-CPACK_INSTALL_CMAKE_CONFIGURATIONS'Craig Scott2019-11-121-8/+0
|\ \ \ \ | |/ / / |/| | / | | |/ | |/| | | | | | | | | | 1d1fa5d3e4 Tests: Add RunCMake.CPackCommandLine case for multi-config package 108207cc84 CPack: Remove CPACK_INSTALL_CMAKE_CONFIGURATIONS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4025
| * | CPack: Remove CPACK_INSTALL_CMAKE_CONFIGURATIONSAlex Turbov2019-11-111-8/+0
| |/ | | | | | | | | | | | | | | | | | | | | In commit da5ac4bb60 (cpack: Add `CPACK_INSTALL_CMAKE_CONFIGURATIONS` variable, 2019-07-10, v3.16.0-rc1~165^2) we added both the variable and support for `cpack -C` with multiple configurations. Drop the variable because the `package` target cannot ensure that all of the configurations are built. Keep the command-line interface so that it can be used manually in scripts. Fixes: #19918
* | Merge topic 'cpack-nsis-welcome-finish-title'Brad King2019-11-061-6/+31
|\ \ | | | | | | | | | | | | | | | | | | 68b5af65fa CPack/NSIS: Add options for custom welcome/finish titles + display on 3 lines Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3980
| * | CPack/NSIS: Add options for custom welcome/finish titles + display on 3 linesJohnny Jazeix2019-11-051-6/+31
| |/ | | | | | | Fixes: #11275
* | CPack: Ensure CPACK_PACKAGE_DIRECTORY is an absolute pathJohnny Jazeix2019-11-011-1/+7
|/ | | | Fixes: #18133, #19412
* Revise include order using clang-format-6.0Kitware Robot2019-10-0149-173/+170
| | | | | Run the `clang-format.bash` script to update our C and C++ code to a new include order `.clang-format`. Use `clang-format` version 6.0.
* cmstd: Modernize CMake system headersMarc Chevrier2019-09-208-8/+15
| | | | | | | | | | | | | | Provide a standardized way to handle the C++ "standard" headers customized to be used with current CMake C++ standard constraints. Offer under directory `cm` headers which can be used as direct replacements of the standard ones. For example: #include <cm/string_view> can be used safely for CMake development in place of the `<string_view>` standard header. Fixes: #19491
* cmCPackGeneratorFactory: rule of zeroTushar Maheshwari2019-09-173-31/+11
|
* Merge topic 'tidy-deprecated-headers'Brad King2019-09-1612-15/+16
|\ | | | | | | | | | | | | f30523d090 clang-tidy: modernize-deprecated-headers Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3792
| * clang-tidy: modernize-deprecated-headersRegina Pfeifer2019-09-1612-15/+16
| |
* | Merge topic 'cpack-wix-start-menu'Brad King2019-09-132-12/+33
|\ \ | |/ |/| | | | | | | | | d69457077d CPackWIX: Allow omitting program menu folder and uninstall shortcut Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3802
| * CPackWIX: Allow omitting program menu folder and uninstall shortcutAlexej Harm2019-09-122-12/+33
| |
* | clang-tidy: modernize-use-autoRegina Pfeifer2019-09-104-28/+18
|/ | | | | | Set the MinTypeNameLength option to an impossibly high value in order to limit the diagnostics to iterators. Leave new expressions and cast expressions for later.
* Merge topic 'use-using'Brad King2019-09-0611-25/+25
|\ | | | | | | | | | | | | | | 1d3f5ebb0d clang-tidy: Enable check modernize-use-using a1ddf2d0ba clang-tidy: Replace typedef with using Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3782
| * clang-tidy: Replace typedef with usingRegina Pfeifer2019-09-0411-25/+25
| | | | | | | | | | | | | | | | Automate the conversion with perl -i -0pe 's/typedef ([^;]*) ([^ ]+);/using $2 = $1;/g' then manually fix a few places.
* | CPack/FreeBSD: Cleanup include-what-you-use diagnosticsBrad King2019-09-052-3/+5
| |
* | Merge topic 'cpack-zstd'Brad King2019-09-0523-314/+106
|\ \ | |/ |/| | | | | | | | | | | e26f0e9dd5 CPack: Add generator for .tar.zst packages f7085d7b0a cmCPackArchiveGenerator: Code cleanup Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3752
| * CPack: Add generator for .tar.zst packagesRegina Pfeifer2019-09-043-0/+9
| |
| * cmCPackArchiveGenerator: Code cleanupRegina Pfeifer2019-09-0423-314/+97
| |
* | clang-tidy: Replace typedef with usingRegina Pfeifer2019-09-032-2/+2
|/
* IWYU: Add missing cstddef includes for size_t and nullptr_tBrad King2019-09-031-0/+1
| | | | The IWYU tool we use for CI now diagnoses these.
* Merge topic 'cpack-install-multiple-configurations'Brad King2019-09-031-21/+49
|\ | | | | | | | | | | | | | | da5ac4bb60 cpack: Add `CPACK_INSTALL_CMAKE_CONFIGURATIONS` variable d4e6b2ae25 Refactor: Use `unique_ptr` instead of raw pointer Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3533
| * cpack: Add `CPACK_INSTALL_CMAKE_CONFIGURATIONS` variableAlex Turbov2019-08-301-17/+47
| | | | | | | | | | | | | | | | | | For the multi-configuration generators one can specify the list of configurations to include in the package. E.g. having a project, where debug libraries have a suffix to distinct them from the release builds, one can build the package containing both `Debug` and `Release` binaries.
| * Refactor: Use `unique_ptr` instead of raw pointerAlex Turbov2019-08-191-5/+3
| |
* | CPack/IFW: Command vectorizationKonstantin Podsvirov2019-08-271-47/+72
| | | | | | | | Fixes: #19634
* | Merge topic 'pvs-cleanup'Brad King2019-08-261-5/+5
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7fe3e874d5 cmCPackLog: Fix support for multiple log message tags 74f2c0ea56 cmCTestTestHandler: Remove extra layer of parentheses 7c2767ef3b cmCTestMultiProcessHandler: Explain testRun ownership in comments 303e813438 CTest: Simplify some boolean conditions 51565abe79 cmMessageCommand: Remove extra layer of parentheses b1cfaf7b91 cmVSSetupHelper: Remove unused SmartBSTR copy operations 3f4c4e7afe cmVSSetupHelper: Fix SmartBSTR copy operations a8ca5aea94 cmMakefileTargetGenerator: Check for null before using a pointer ... Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Daniel Pfeifer <daniel@pfeifer-mail.de> Acked-by: Artalus <artalus-mail@yandex.ru> Merge-request: !3715
| * | cmCPackLog: Fix support for multiple log message tagsBrad King2019-08-261-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | Fix logic from commit bbf1c2d275 (ENH: More improvements and add logging, 2006-01-02, v2.4.0~712) to append to the accumulated tag string instead of overwriting it for each type of message. Issue: #19610
* | | Merge topic 'source_sweep_ostringstream_single'Brad King2019-08-261-3/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 3b2b02825d Source sweep: Replace std::ostringstream when used with a single append Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3726
| * | | Source sweep: Replace std::ostringstream when used with a single appendSebastian Holtermann2019-08-231-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This replaces `std::ostringstream`, when it is written to only once. If the single written argument was numeric, `std::to_string` is used instead. Otherwise, the single written argument is used directly instead of the `std::ostringstream::str()` invocation.
* | | | Source sweep: Replace cmExpandList with the shorter cmExpandedListSebastian Holtermann2019-08-2312-55/+42
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This replaces the code pattern ``` std::vector<std::string> args; cmExpandList(valueStr, args, ...) ``` with ``` std::vector<std::string> args = cmExpandedList(valueStr, ...) ```
* | | Source sweep: Use cmStrCat for string concatenationSebastian Holtermann2019-08-2218-235/+167
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch is generated by a python script that uses regular expressions to search for string concatenation patterns of the kind ``` std::string str = <ARG0>; str += <ARG1>; str += <ARG2>; ... ``` and replaces them with a single `cmStrCat` call ``` std::string str = cmStrCat(<ARG0>, <ARG1>, <ARG2>, ...); ``` If any `<ARGX>` is itself a concatenated string of the kind ``` a + b + c + ...; ``` then `<ARGX>` is split into multiple arguments for the `cmStrCat` call. If there's a sequence of literals in the `<ARGX>`, then all literals in the sequence are concatenated and merged into a single literal argument for the `cmStrCat` call. Single character strings are converted to single char arguments for the `cmStrCat` call. `std::to_string(...)` wrappings are removed from `cmStrCat` arguments, because it supports numeric types as well as string types. `arg.substr(x)` arguments to `cmStrCat` are replaced with `cm::string_view(arg).substr(x)`