summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* cmDocumentationSection: Accept `Iterable` instead of `vector` on addAlex Turbov2022-11-171-7/+11
|
* cmDocumentationFormatter: Improve `PrintFormatted`Alex Turbov2022-11-171-34/+54
| | | | Instead of one char at time copy (append), use lines.
* cmDocumentationFormatter: All printing methods accept stringsAlex Turbov2022-11-173-13/+14
|
* cmDocumentationFormatter: Turn `while ()` into `for ()` loopAlex Turbov2022-11-171-15/+23
|
* cmDocumentationFormatter: Eliminate one `if` in the `PrintColumn` loopAlex Turbov2022-11-171-7/+2
|
* cmDocumentationFormatter: Turn `TextWidth` member into `size_t`Alex Turbov2022-11-172-8/+10
| | | | Cuz normally required text width can't be negative. It was `int`…
* cmDocumentationFormatter: Prevent indentation reset side effectAlex Turbov2022-11-171-2/+7
| | | | | Fix `cmDocumentationFormatter::PrintColumn()` method to eliminate an indentation reset side effect.
* cmDocumentation: Drop useless call to formatter's `SetIndent()`Alex Turbov2022-11-171-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 Turbov2022-11-174-27/+33
| | | | … instead of `std::string`.
* cmDocumentationFormatter: Use `std::ostream` padding capabitilyAlex Turbov2022-11-171-7/+6
| | | | … instead of manually print spaces to align fields.
* cmDocumentationFormatter: `TextIndent` member is `std::string` nowAlex Turbov2022-11-172-20/+17
| | | | Was `const char*`.
* cmDocumentationFormatter: `PrintPreformatted` accept stringAlex Turbov2022-11-172-14/+16
| | | | Also, make it `const` method cuz it's not modify the state.
* cmDocumentationFormatter.h: No need `virtual` methodsAlex Turbov2022-11-172-11/+3
| | | | | Can be added later it really need. Also, drop ctor/dtor to make the class trivially destructable.
* cmDocumentationEntry.h: Drop unused constructorAlex Turbov2022-11-171-9/+0
|
* cmDocumentation: Optimize `std::ostream::operator<<()` callsAlex Turbov2022-11-172-19/+19
|
* cmDocumentation.cxx: Use lambda function instead of macroAlex Turbov2022-11-172-46/+41
|
* cmDocumentation.cxx: Use anonymous namespace instead of `static`Alex Turbov2022-11-161-3/+5
|
* cmDocumentation: Remove MSVC 6 workaroundAlex Turbov2022-11-162-36/+26
|
* Merge topic 'cmp0141-pch-reuse'Brad King2022-11-161-2/+4
|\ | | | | | | | | | | | | 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 emptyBrad King2022-11-151-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | 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 StampKitware Robot2022-11-161-1/+1
| |
* | Merge topic 'cmake-E-copy-t-mode'Brad King2022-11-152-7/+61
|\ \ | | | | | | | | | | | | | | | | | | 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 argumentKyle Edwards2022-11-152-7/+61
| | | | | | | | | | | | Fixes: #23543
* | | Merge topic 'better_handling_of_build_args'Brad King2022-11-151-19/+7
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 01611f8258 cmake: --build improve detection of no build dir Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7908
| * | | cmake: --build improve detection of no build dirRobert Maynard2022-11-141-19/+7
| |/ / | | | | | | | | | Fixes #24157
* | | Merge topic 'top-level-command-order'Brad King2022-11-151-0/+9
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 59573bf5b9 project: Warn at top-level if `cmake_minimum_required` wasn't called 23f3dd9f7c RunCMake/project: Ignore exact line number in stderr checks Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7902
| * | | project: Warn at top-level if `cmake_minimum_required` wasn't calledfriendlyanon2022-11-111-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The top-level project() call will now issue an AUTHOR_WARNING if it wasn't called after cmake_minimum_required(). Fixes: #24071
* | | | CMake Nightly Date StampKitware Robot2022-11-151-1/+1
| |/ / |/| |
* | | Merge topic 'profile-genex'Brad King2022-11-1424-95/+169
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4d70a94545 Profiling: Profile genex evaluation 09d7f947d6 cmGeneratorExpression: Require cmake instance 553794e987 cmake::CreateProfilingEntry: Refactor to take lambda for args Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: alcroito <alexandru.croitor@qt.io> Merge-request: !7898
| * | | Profiling: Profile genex evaluationKyle Edwards2022-11-112-2/+42
| | | |
| * | | cmGeneratorExpression: Require cmake instanceKyle Edwards2022-11-1119-59/+92
| | | |
| * | | cmake::CreateProfilingEntry: Refactor to take lambda for argsKyle Edwards2022-11-114-35/+36
| | | |
* | | | Merge topic 'msvc-19.34-cpp-modules'Brad King2022-11-141-22/+0
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | 0e9782b336 msvc: bless MSVC 19.34 support for C++ modules as experimental Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7745
| * | | msvc: bless MSVC 19.34 support for C++ modules as experimentalBen Boeckel2022-11-111-22/+0
| | | | | | | | | | | | | | | | Visual Studio 17.4 now contains official support for what CMake needs.
* | | | CMake Nightly Date StampKitware Robot2022-11-141-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2022-11-131-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2022-11-121-1/+1
| |/ / |/| |
* | | Merge topic 'fix-cxx20-detection'Brad King2022-11-111-5/+12
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | 5e7c8f44ac Ninja: Restore support for compilers not defining a C++ standard level Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: Jaeden Amero <kitware@patater.com> Acked-by: Martin Kojtal <martin.kojtal@arm.com> Merge-request: !7896
| * | Ninja: Restore support for compilers not defining a C++ standard levelLingkai Dong2022-11-101-5/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit 386465bf83 (cmTarget: add support for C++ module fileset types, 2022-04-08, v3.25.0-rc1~624^2~7), the Ninja generator checks for C++20 support using logic that requires `CMAKE_<LANG>_STANDARD_DEFAULT` to be non-empty. On some compilers, such as ARMClang, CMake does not automatically detect and set default language standards, thus causing `HaveStandardAvailable` to raise an internal error. To fix this issue, if `CMAKE_CXX_STANDARD_DEFAULT` is empty, assume all standards to be supported instead of calling `HaveStandardAvailable`. This is consistent with how `CompileFeaturesNode::Evaluate` handles this case. Fixes: #24146
* | | CMake Nightly Date StampKitware Robot2022-11-111-1/+1
| |/ |/|
* | Merge topic 'better-file-download-failure-msg'Brad King2022-11-101-5/+9
|\ \ | | | | | | | | | | | | | | | | | | | | | 8c3cf2716a file(DOWNLOAD EXPECTED_HASH): better error message when download failed Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7888
| * | file(DOWNLOAD EXPECTED_HASH): better error message when download failedAurelien Regat-Barrel2022-11-091-5/+9
| | |
* | | Merge topic 'marmasm-language'Brad King2022-11-1011-1/+141
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3166547cf6 ASM_MARMASM: Add support for Microsoft ARM assembler language ce4babb566 Tests: Fix ARM64 test conditions for non-VS generators Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7793
| * | | ASM_MARMASM: Add support for Microsoft ARM assembler languageIlia K2022-11-0911-1/+141
| | | | | | | | | | | | | | | | | | | | | | | | https://learn.microsoft.com/en-us/cpp/assembler/arm/arm-assembler-reference Fixes: #23999
* | | | Merge topic 'cmake-gui-restore-version-info'Brad King2022-11-101-3/+8
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | ec76a9c22f cmake-gui: Restore embedded version information in Windows binary Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7895
| * | | cmake-gui: Restore embedded version information in Windows binaryBrad King2022-11-091-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | Refactoring in commit 89a1e1c1be (Build: Link w/ `OBJECT` library is OK since 3.12, 2022-08-21, v3.25.0-rc1~97^2~19) dropped the `.res` object containing this information from the `cmake-gui` link line. Restore it.
| * | | CMake 3.25.0-rc4v3.25.0-rc4Brad King2022-11-081-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2022-11-101-1/+1
| |/ / |/| |
* | | Merge topic 'file-set-file-api'Brad King2022-11-092-8/+105
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | b3e9fb67bb file-api: support exporting file set information Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7867
| * | | file-api: support exporting file set informationBen Boeckel2022-11-082-8/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This includes listing the filesets themselves as well as which file set (if any) each source file is associated with. Fixes: #24128