Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | cmake.cxx: Optimize calls to `std::osteam::operator<<` | Alex Turbov | 2022-11-17 | 1 | -28/+27 |
| | |||||
* | cmDocumentationFormatter: Hide internal methods into `private` section | Alex Turbov | 2022-11-17 | 1 | -4/+5 |
| | |||||
* | cmDocumentation: Drop unused `SetSections` method | Alex Turbov | 2022-11-17 | 2 | -8/+0 |
| | |||||
* | cmDocumentation: `char*[][2]` → `cmDocumentationEntry[N]` | Alex Turbov | 2022-11-17 | 13 | -161/+87 |
| | | | | | | | | | | 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. | ||||
* | CMakeSetup.cxx: Use anonymous namespace instead of `static` | Alex Turbov | 2022-11-17 | 1 | -5/+9 |
| | |||||
* | ccmake.cxx: Use anonymous namespace instead of `static` | Alex Turbov | 2022-11-17 | 1 | -10/+10 |
| | |||||
* | ctest.cxx: Eliminate redundand trenary operator | Alex Turbov | 2022-11-17 | 3 | -3/+3 |
| | |||||
* | ctest.cxx: Optimize `std::ostream::operator<<` calls | Alex Turbov | 2022-11-17 | 1 | -6/+4 |
| | |||||
* | ctest.cxx: Use anonymous namespace instead of `static` arrays | Alex Turbov | 2022-11-17 | 1 | -5/+6 |
| | |||||
* | cmakemain.cxx: Remove always true preprocessor `#if` block | Alex Turbov | 2022-11-17 | 1 | -2/+0 |
| | |||||
* | cmDocumentation: Accept `Iterable` instead of `vector` on add entries | Alex Turbov | 2022-11-17 | 2 | -26/+18 |
| | |||||
* | cmDocumentationSection: Accept `Iterable` instead of `vector` on add | Alex Turbov | 2022-11-17 | 1 | -7/+11 |
| | |||||
* | cmDocumentationFormatter: Improve `PrintFormatted` | Alex Turbov | 2022-11-17 | 1 | -34/+54 |
| | | | | Instead of one char at time copy (append), use lines. | ||||
* | cmDocumentationFormatter: All printing methods accept strings | Alex Turbov | 2022-11-17 | 3 | -13/+14 |
| | |||||
* | cmDocumentationFormatter: Turn `while ()` into `for ()` loop | Alex Turbov | 2022-11-17 | 1 | -15/+23 |
| | |||||
* | cmDocumentationFormatter: Eliminate one `if` in the `PrintColumn` loop | Alex Turbov | 2022-11-17 | 1 | -7/+2 |
| | |||||
* | cmDocumentationFormatter: Turn `TextWidth` member into `size_t` | Alex Turbov | 2022-11-17 | 2 | -8/+10 |
| | | | | Cuz normally required text width can't be negative. It was `int`… | ||||
* | cmDocumentationFormatter: Prevent indentation reset side effect | Alex Turbov | 2022-11-17 | 1 | -2/+7 |
| | | | | | Fix `cmDocumentationFormatter::PrintColumn()` method to eliminate an indentation reset side effect. | ||||
* | cmDocumentation: Drop useless call to formatter's `SetIndent()` | Alex Turbov | 2022-11-17 | 1 | -1/+0 |
| | | | | | The `cmDocumentationFormatter::PrintSection()` method ignores the currently set indentation level and use it's own. | ||||
* | cmDocumentationFormatter: Turn `TextIndent` member into `size_t` | Alex Turbov | 2022-11-17 | 4 | -27/+33 |
| | | | | … instead of `std::string`. | ||||
* | cmDocumentationFormatter: Use `std::ostream` padding capabitily | Alex Turbov | 2022-11-17 | 1 | -7/+6 |
| | | | | … instead of manually print spaces to align fields. | ||||
* | cmDocumentationFormatter: `TextIndent` member is `std::string` now | Alex Turbov | 2022-11-17 | 2 | -20/+17 |
| | | | | Was `const char*`. | ||||
* | cmDocumentationFormatter: `PrintPreformatted` accept string | Alex Turbov | 2022-11-17 | 2 | -14/+16 |
| | | | | Also, make it `const` method cuz it's not modify the state. | ||||
* | cmDocumentationFormatter.h: No need `virtual` methods | Alex Turbov | 2022-11-17 | 2 | -11/+3 |
| | | | | | Can be added later it really need. Also, drop ctor/dtor to make the class trivially destructable. | ||||
* | cmDocumentationEntry.h: Drop unused constructor | Alex Turbov | 2022-11-17 | 1 | -9/+0 |
| | |||||
* | cmDocumentation: Optimize `std::ostream::operator<<()` calls | Alex Turbov | 2022-11-17 | 2 | -19/+19 |
| | |||||
* | cmDocumentation.cxx: Use lambda function instead of macro | Alex Turbov | 2022-11-17 | 2 | -46/+41 |
| | |||||
* | cmDocumentation.cxx: Use anonymous namespace instead of `static` | Alex Turbov | 2022-11-16 | 1 | -3/+5 |
| | |||||
* | cmDocumentation: Remove MSVC 6 workaround | Alex Turbov | 2022-11-16 | 2 | -36/+26 |
| | |||||
* | Merge branch 'release-3.25' | Brad King | 2022-11-16 | 0 | -0/+0 |
|\ | |||||
| * | Merge topic 'qtifw-4.5' into release-3.25 | Brad King | 2022-11-16 | 1 | -0/+2 |
| |\ | | | | | | | | | | | | | | | | | | | 351239b776 CPack/IFW: Add support for QtIFW 4.5 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7920 | ||||
* | \ | Merge topic 'qtifw-4.5' | Brad King | 2022-11-16 | 1 | -0/+2 |
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | 351239b776 CPack/IFW: Add support for QtIFW 4.5 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7920 | ||||
| * | | CPack/IFW: Add support for QtIFW 4.5 | Erlend E. Aasland | 2022-11-15 | 1 | -0/+2 |
| | | | | | | | | | | | | Fixes: #24164 | ||||
* | | | Merge branch 'release-3.25' | Brad King | 2022-11-16 | 0 | -0/+0 |
|\ \ \ | | |/ | |/| | |||||
| * | | Merge topic 'cmp0141-pch-reuse' into release-3.25 | Brad King | 2022-11-16 | 3 | -2/+11 |
| |\ \ | | |/ | |/| | | | | | | | | | | | | | 94164ea55e CMP0141: Fix PCH REUSE_FROM when MSVC_DEBUG_INFORMATION_FORMAT is empty Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7914 | ||||
* | | | Merge topic 'cmp0141-pch-reuse' | Brad King | 2022-11-16 | 3 | -2/+11 |
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | 94164ea55e CMP0141: Fix PCH REUSE_FROM when MSVC_DEBUG_INFORMATION_FORMAT is empty Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7914 | ||||
| * | | CMP0141: Fix PCH REUSE_FROM when MSVC_DEBUG_INFORMATION_FORMAT is empty | Brad King | 2022-11-15 | 3 | -2/+11 |
| |/ | | | | | | | | | | | | | | | | | | | | | | | Under the policy's NEW behavior, `[CMAKE_]MSVC_DEBUG_INFORMATION_FORMAT` may be explicitly set to an empty string to tell CMake not to add any flags for this abstraction. In this case, fall back to checking the language-wide flags as we do in the OLD behavior. This revises commit 183b9a9eca (CMP0141: Fix PCH REUSE_FROM under policy NEW behavior, 2022-10-31, v3.25.0-rc3~4^2). Issue: #24106 | ||||
* | | CMake Nightly Date Stamp | Kitware Robot | 2022-11-16 | 1 | -1/+1 |
| | | |||||
* | | Merge topic 'ci-continuous' | Brad King | 2022-11-15 | 1 | -0/+3 |
|\ \ | | | | | | | | | | | | | | | | | | | 6cf026ab06 ci: add macos-x86_64-ninja build and test jobs to continuous pipeline Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7915 | ||||
| * | | ci: add macos-x86_64-ninja build and test jobs to continuous pipeline | Brad King | 2022-11-15 | 1 | -0/+3 |
|/ / | |||||
* | | Merge topic 'ci-openmp-macos' | Brad King | 2022-11-15 | 10 | -1/+49 |
|\ \ | | | | | | | | | | | | | | | | | | | 7ef3638454 ci: Enable FindOpenMP tests on macOS Ninja and Makefiles jobs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7912 | ||||
| * | | ci: Enable FindOpenMP tests on macOS Ninja and Makefiles jobs | Brad King | 2022-11-14 | 10 | -1/+49 |
| | | | | | | | | | | | | | | | Since Apple does not distribute the OpenMP header and library with its AppleClang compiler, download them as part of the jobs. | ||||
* | | | Merge topic 'cmake-E-copy-t-mode' | Brad King | 2022-11-15 | 7 | -12/+82 |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | 8d9069e5b6 cmake -E copy: Add support for -t argument Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7913 | ||||
| * | | | cmake -E copy: Add support for -t argument | Kyle Edwards | 2022-11-15 | 7 | -12/+82 |
| |/ / | | | | | | | | | | Fixes: #23543 | ||||
* | | | Merge topic 'clang-tidy-module-ostringstream-check' | Brad King | 2022-11-15 | 8 | -0/+96 |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0880114ada clang-tidy: disable ostringstream check 75ab77ee19 clang-tidy module: add test for ostringstream check 04638e7358 clang-tidy module: add check for ostringstream Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7911 | ||||
| * | | | clang-tidy: disable ostringstream check | Kyle Edwards | 2022-11-14 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | CMake is not remotely ready for this yet... | ||||
| * | | | clang-tidy module: add test for ostringstream check | Sean Orner | 2022-11-14 | 3 | -0/+17 |
| | | | | |||||
| * | | | clang-tidy module: add check for ostringstream | Joe Blaauboer | 2022-11-14 | 4 | -0/+78 |
| |/ / | |||||
* | | | Merge topic 'test-isolate-ctest-env' | Brad King | 2022-11-15 | 9 | -16/+16 |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e46a9d79fc Tests: Isolate more RunCMake cases from external ctest environment values 3b6c1c1a3b Tests: Factor out RunCMake ctest environment isolation Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7909 | ||||
| * | | | Tests: Isolate more RunCMake cases from external ctest environment values | Brad King | 2022-11-14 | 3 | -0/+12 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix a few RunCMake cases that were running `ctest` without isolating it from external environment values that affect its behavior. Fixes: #24153 |