summaryrefslogtreecommitdiffstats
path: root/Source/CPack
Commit message (Collapse)AuthorAgeFilesLines
* CPack/WiX: Make InstallScope configurableMax Gaukler2023-11-161-0/+1
| | | | | | | | Add a new `CPACK_WIX_INSTALL_SCOPE` variable to set the `InstallScope` when using the default WiX template. Set the default to the bug-free value `perMachine`. Fixes: #20962
* CPack: Avoid adding duplicate files to archive when combining componentsAtılhan Emre Dursunoğlu2023-10-262-8/+151
| | | | Fixes: #25280
* Merge topic 'vector-emplace-back'Brad King2023-10-241-3/+5
|\ | | | | | | | | | | | | | | | | | | 9ca6dfc280 Source: Reduce vector entry allocations and copies aaeb2e0aa8 cmLinkItemGraphVisitor: Remove unnecessary syntax d1c1e95331 cmCPackInnoSetupGenerator: Reserve space to reduce allocations Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8891
| * Source: Reduce vector entry allocations and copiesRose2023-10-231-3/+4
| | | | | | | | Prefer `emplace_back` over `push_back`.
| * cmCPackInnoSetupGenerator: Reserve space to reduce allocationsRose2023-10-231-0/+1
| |
* | Fix clang -Wreserved-identifier by renaming an enumSean McBride2023-10-201-1/+1
|/
* Source: Fix mysterious new IWYU warningsKyle Edwards2023-08-291-0/+2
|
* cmCryptoHash: prefer to cmSystemTools::ComputeFileHashBen Boeckel2023-08-081-2/+2
|
* cmCryptoHash: prefer to cmSystemTools::ComputeStringMD5Ben Boeckel2023-08-081-1/+3
| | | | | | | The latter call is no longer post-bootstrap only since 596439b1bb (cmCustomCommandGenerator: Add option to transform depfile, 2020-10-05) via !5325. Convert callers to just use `cmCryptoHash` directly and remove the bootstrap guard.
* Merge topic 'windows-tidy-cmstrcat'Brad King2023-08-0112-125/+145
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d58253d155 clang-tidy: fix `performance-faster-string-find` lints a19ec77200 clang-tidy: fix `readability-static-accessed-through-instance` lints 3d03629f20 cmWIXRichTextFormatWriter: remove identity cast 1df29567ac clang-tidy: fix `modernize-use-equals-default` lints 32fe862b8c clang-tidy: fix `readability-container-size-empty` lints 7eaab9a957 clang-tidy: fix `modernize-raw-string-literal` lints ffa49c23aa clang-tidy: fix `readability-else-after-return` lints 4489e9a85c clang-tidy: fix `modernize-use-auto` lints ... Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8668
| * clang-tidy: fix `performance-faster-string-find` lintsBen Boeckel2023-07-311-1/+1
| |
| * clang-tidy: fix `readability-static-accessed-through-instance` lintsBen Boeckel2023-07-311-1/+1
| |
| * cmWIXRichTextFormatWriter: remove identity castBen Boeckel2023-07-311-1/+1
| |
| * clang-tidy: fix `modernize-use-equals-default` lintsBen Boeckel2023-07-311-3/+1
| |
| * clang-tidy: fix `readability-container-size-empty` lintsBen Boeckel2023-07-311-1/+1
| |
| * clang-tidy: fix `modernize-raw-string-literal` lintsBen Boeckel2023-07-312-2/+2
| |
| * clang-tidy: fix `readability-else-after-return` lintsBen Boeckel2023-07-282-9/+10
| |
| * clang-tidy: fix `modernize-use-auto` lintsBen Boeckel2023-07-283-3/+3
| |
| * clang-tidy: fix `modernize-use-nullptr` lintsBen Boeckel2023-07-282-4/+5
| |
| * clang-tidy: fix `readability-braces-around-statements` lintsBen Boeckel2023-07-283-8/+16
| |
| * cmLocalVisualStudio10Generator: remove unnecessary `.c_str()`Ben Boeckel2023-07-282-5/+4
| |
| * strings: use `emplace_back` with `cmStrCat` argumentsBen Boeckel2023-07-281-4/+4
| |
| * strings: use character literals where possibleBen Boeckel2023-07-288-42/+42
| |
| * cmStrCat: use in Windows-specific sourcesBen Boeckel2023-07-283-29/+36
| |
| * strings: simplify streaming sequencesBen Boeckel2023-07-271-6/+5
| |
| * strings: combine string literals where possibleBen Boeckel2023-07-271-5/+8
| |
| * strings: compare to static `string_view` instances in Windows-only codeBen Boeckel2023-07-273-14/+18
| |
* | strings: use single characters where possibleBen Boeckel2023-07-303-18/+18
| |
* | string_view: use string_view literals in comparisonsBen Boeckel2023-07-302-2/+8
| |
* | strings: combine string literalsBen Boeckel2023-07-302-16/+32
| |
* | cmCPackDragNDropGenerator: use a string instead of a stream for commandsBen Boeckel2023-07-303-65/+70
| |
* | cmStrCat: use where possible in Apple-specific sourcesBen Boeckel2023-07-303-36/+45
| |
* | cmCPackPKGGenerator: remove unnecessary `.c_str()` callsBen Boeckel2023-07-301-6/+5
| |
* | cmCPackDragNDropGenerator: remove unnecessary string constructionBen Boeckel2023-07-301-1/+1
| |
* | clang-tidy: fix `modernize-loop-convert` lintsBen Boeckel2023-07-301-3/+5
|/
* Merge topic 'innosetup-component-install'Brad King2023-07-181-11/+8
|\ | | | | | | | | | | | | | | c80190c6ab InnoSetup: Always specify at least one component installation type Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8630
| * InnoSetup: Always specify at least one component installation typeJannik Alber2023-07-171-11/+8
| | | | | | | | | | | | | | | | | | Inno Setup implicitly creates three installation types if none is specified in the script. This causes some component features (e.g. `REQUIRED`) to lose their functionality. Teach the generator to always specify a "custom" installation type when using components. Fixes: #25083
* | cmList: Add container conversion to stringMarc Chevrier2023-06-223-9/+9
|/
* Source: Fix -Wdangling-reference warnings exposed by gcc 13Brad King2023-05-221-1/+1
|
* Merge topic 'CMake-uses-cmList-class'Brad King2023-05-0110-46/+42
|\ | | | | | | | | | | | | | | 241304190f CMake code rely on cmList class for CMake lists management (part. 2) 87fe031a07 cmList class: various enhancements Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8441
| * CMake code rely on cmList class for CMake lists management (part. 2)Marc Chevrier2023-04-299-40/+36
| |
| * cmList class: various enhancementsMarc Chevrier2023-04-291-6/+6
| |
* | CPack: Add Inno Setup generatorJannik Alber2023-04-283-0/+1280
|/
* CMake code rely on cmList class for CMake lists management (part. 1)Marc Chevrier2023-04-2411-82/+73
|
* presets: Improve JSON parser and error messagesMartin Duffy2023-03-291-3/+4
|
* Source: use C++11 nullptrscivision2023-02-141-2/+2
|
* CYGWIN: Drop pre-2.8.4 compatibility mode CMAKE_LEGACY_CYGWIN_WIN32Brad King2023-01-191-3/+0
| | | | | | | | | | Prior to CMake 2.8.4 (released in 2011), we defined `WIN32` on CYGWIN. That was removed, but an undocumented `CMAKE_LEGACY_CYGWIN_WIN32` compatibility mode was left to help projects transition. Only projects that do not require at least 2.8.4 as their minimum CMake version need the compatibility mode. We've also long warned about projects that do not require at least 2.8.12, so it is now reasonable to remove the legacy compatibility mode.
* Revise C++ coding style using clang-format-15Kitware Robot2023-01-181-2/+8
| | | | | | | | | | | | | | Run the `clang-format.bash` script to update all our C and C++ code to a new style defined by `.clang-format`. Use `clang-format` version 15. * 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. Fixes: #24315
* cmValue: Use operator* explicitly to convert to std::string; avoid extra callVitaly Stakhovsky2023-01-1610-62/+65
|
* CMake: fix sizeof string literal violationsKyle Edwards2022-11-181-1/+1
|