summaryrefslogtreecommitdiffstats
path: root/Source/CPack
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* cpack.cxx: Optimize calls to `std::osteam::operator<<`Alex Turbov2022-11-171-64/+53
|
* cpack.cxx: Eliminate redundant `if`Alex Turbov2022-11-171-5/+1
|
* cpack.cxx: Deduplicate "Generators" section creation codeAlex Turbov2022-11-171-21/+24
|
* cmDocumentationEntry: Drop all user provided ctors for C++ >= 14Alex Turbov2022-11-171-3/+3
| | | | | | | | | | | There is no need for them cuz: - the last field has a default value - all static instances use 2 arguments convertible to `std::string` - "dynamic" instances used for _Generator_ doc entries access fields diectly using default constructed instance Moreover, compiler may generate move ctor/assign when needed.
* cmDocumentation: `char*[][2]` → `cmDocumentationEntry[N]`Alex Turbov2022-11-171-13/+6
| | | | | | | | | | Use fixed size arrays of `cmDocumentationEntry` items instead of open arrays of two `char` pointers when describe program options help screens. Also, drop `const char*[][2]` overloads of methods of `cmDocumentation` and `cmDocumentationSection` classes in the sake of generic (template) appenders introduced earlier.
* Merge topic 'cpack-trace-argument'Brad King2022-10-271-2/+2
|\ | | | | | | | | | | | | b5ebaa0d9c CPack: Require no argument for --trace and --trace-expand Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7824