Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | CPack/WiX: Make InstallScope configurable | Max Gaukler | 2023-11-16 | 1 | -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 components | Atılhan Emre Dursunoğlu | 2023-10-26 | 2 | -8/+151 |
| | | | | Fixes: #25280 | ||||
* | Merge topic 'vector-emplace-back' | Brad King | 2023-10-24 | 1 | -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 copies | Rose | 2023-10-23 | 1 | -3/+4 |
| | | | | | | | | Prefer `emplace_back` over `push_back`. | ||||
| * | cmCPackInnoSetupGenerator: Reserve space to reduce allocations | Rose | 2023-10-23 | 1 | -0/+1 |
| | | |||||
* | | Fix clang -Wreserved-identifier by renaming an enum | Sean McBride | 2023-10-20 | 1 | -1/+1 |
|/ | |||||
* | Source: Fix mysterious new IWYU warnings | Kyle Edwards | 2023-08-29 | 1 | -0/+2 |
| | |||||
* | cmCryptoHash: prefer to cmSystemTools::ComputeFileHash | Ben Boeckel | 2023-08-08 | 1 | -2/+2 |
| | |||||
* | cmCryptoHash: prefer to cmSystemTools::ComputeStringMD5 | Ben Boeckel | 2023-08-08 | 1 | -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 King | 2023-08-01 | 12 | -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` lints | Ben Boeckel | 2023-07-31 | 1 | -1/+1 |
| | | |||||
| * | clang-tidy: fix `readability-static-accessed-through-instance` lints | Ben Boeckel | 2023-07-31 | 1 | -1/+1 |
| | | |||||
| * | cmWIXRichTextFormatWriter: remove identity cast | Ben Boeckel | 2023-07-31 | 1 | -1/+1 |
| | | |||||
| * | clang-tidy: fix `modernize-use-equals-default` lints | Ben Boeckel | 2023-07-31 | 1 | -3/+1 |
| | | |||||
| * | clang-tidy: fix `readability-container-size-empty` lints | Ben Boeckel | 2023-07-31 | 1 | -1/+1 |
| | | |||||
| * | clang-tidy: fix `modernize-raw-string-literal` lints | Ben Boeckel | 2023-07-31 | 2 | -2/+2 |
| | | |||||
| * | clang-tidy: fix `readability-else-after-return` lints | Ben Boeckel | 2023-07-28 | 2 | -9/+10 |
| | | |||||
| * | clang-tidy: fix `modernize-use-auto` lints | Ben Boeckel | 2023-07-28 | 3 | -3/+3 |
| | | |||||
| * | clang-tidy: fix `modernize-use-nullptr` lints | Ben Boeckel | 2023-07-28 | 2 | -4/+5 |
| | | |||||
| * | clang-tidy: fix `readability-braces-around-statements` lints | Ben Boeckel | 2023-07-28 | 3 | -8/+16 |
| | | |||||
| * | cmLocalVisualStudio10Generator: remove unnecessary `.c_str()` | Ben Boeckel | 2023-07-28 | 2 | -5/+4 |
| | | |||||
| * | strings: use `emplace_back` with `cmStrCat` arguments | Ben Boeckel | 2023-07-28 | 1 | -4/+4 |
| | | |||||
| * | strings: use character literals where possible | Ben Boeckel | 2023-07-28 | 8 | -42/+42 |
| | | |||||
| * | cmStrCat: use in Windows-specific sources | Ben Boeckel | 2023-07-28 | 3 | -29/+36 |
| | | |||||
| * | strings: simplify streaming sequences | Ben Boeckel | 2023-07-27 | 1 | -6/+5 |
| | | |||||
| * | strings: combine string literals where possible | Ben Boeckel | 2023-07-27 | 1 | -5/+8 |
| | | |||||
| * | strings: compare to static `string_view` instances in Windows-only code | Ben Boeckel | 2023-07-27 | 3 | -14/+18 |
| | | |||||
* | | strings: use single characters where possible | Ben Boeckel | 2023-07-30 | 3 | -18/+18 |
| | | |||||
* | | string_view: use string_view literals in comparisons | Ben Boeckel | 2023-07-30 | 2 | -2/+8 |
| | | |||||
* | | strings: combine string literals | Ben Boeckel | 2023-07-30 | 2 | -16/+32 |
| | | |||||
* | | cmCPackDragNDropGenerator: use a string instead of a stream for commands | Ben Boeckel | 2023-07-30 | 3 | -65/+70 |
| | | |||||
* | | cmStrCat: use where possible in Apple-specific sources | Ben Boeckel | 2023-07-30 | 3 | -36/+45 |
| | | |||||
* | | cmCPackPKGGenerator: remove unnecessary `.c_str()` calls | Ben Boeckel | 2023-07-30 | 1 | -6/+5 |
| | | |||||
* | | cmCPackDragNDropGenerator: remove unnecessary string construction | Ben Boeckel | 2023-07-30 | 1 | -1/+1 |
| | | |||||
* | | clang-tidy: fix `modernize-loop-convert` lints | Ben Boeckel | 2023-07-30 | 1 | -3/+5 |
|/ | |||||
* | Merge topic 'innosetup-component-install' | Brad King | 2023-07-18 | 1 | -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 type | Jannik Alber | 2023-07-17 | 1 | -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 string | Marc Chevrier | 2023-06-22 | 3 | -9/+9 |
|/ | |||||
* | Source: Fix -Wdangling-reference warnings exposed by gcc 13 | Brad King | 2023-05-22 | 1 | -1/+1 |
| | |||||
* | Merge topic 'CMake-uses-cmList-class' | Brad King | 2023-05-01 | 10 | -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 Chevrier | 2023-04-29 | 9 | -40/+36 |
| | | |||||
| * | cmList class: various enhancements | Marc Chevrier | 2023-04-29 | 1 | -6/+6 |
| | | |||||
* | | CPack: Add Inno Setup generator | Jannik Alber | 2023-04-28 | 3 | -0/+1280 |
|/ | |||||
* | CMake code rely on cmList class for CMake lists management (part. 1) | Marc Chevrier | 2023-04-24 | 11 | -82/+73 |
| | |||||
* | presets: Improve JSON parser and error messages | Martin Duffy | 2023-03-29 | 1 | -3/+4 |
| | |||||
* | Source: use C++11 nullptr | scivision | 2023-02-14 | 1 | -2/+2 |
| | |||||
* | CYGWIN: Drop pre-2.8.4 compatibility mode CMAKE_LEGACY_CYGWIN_WIN32 | Brad King | 2023-01-19 | 1 | -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-15 | Kitware Robot | 2023-01-18 | 1 | -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 call | Vitaly Stakhovsky | 2023-01-16 | 10 | -62/+65 |
| | |||||
* | CMake: fix sizeof string literal violations | Kyle Edwards | 2022-11-18 | 1 | -1/+1 |
| |