summaryrefslogtreecommitdiffstats
path: root/Help/dev
Commit message (Collapse)AuthorAgeFilesLines
* LICENSE: Replace references to Copyright.txt with LICENSE.rstKitware Robot2025-03-031-2/+2
| | | | | | | | | | ``` git grep -lz 'Copyright.txt or https://cmake.org/licensing ' | while IFS= read -r -d $'\0' f ; do sed -i '/Copyright.txt or https:\/\/cmake.org\/licensing / { s/Copyright.txt/LICENSE.rst/ }' "$f" ; done ```
* ctest: Include cmake instrumentation data in XML filesZack Galbreath2025-02-151-1/+7
|
* Merge topic 'enum_set-enhancements'Brad King2025-01-301-0/+5
|\ | | | | | | | | | | | | | | | | 35dafcb5a1 cmext/enum_set: add various enhancements to increase usability a3ae58c9c5 C++ features: add cm::is_scoped_enum from C++23 Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !10248
| * C++ features: add cm::is_scoped_enum from C++23Marc Chevrier2025-01-281-0/+5
| |
* | Help: More syntax highlighting for literal blocksNikita Nemkin2025-01-291-3/+3
|/ | | | | | | | | | | | | | | Covers almost all blocks containing actual code, except: * Parsed-literal blocks can't be highlighted, including many command summaries and substitution-heavy docs like find_... commands. This is a Sphinx limitation. * Code with errors, like CMP0049, DEPLOYMENT_ADDITIONAL_FILES, DEPLOYMENT_REMOTE_DIRECTORY, @PACKAGE_INIT@ substitution in the tutorial, bracket arguments/comments in cmake-language.7 and cmake-developer.7. * FindQt4 module, which needs reformatting.
* Merge topic 'doc-policy-deprecation-schedule'Brad King2025-01-271-0/+7
|\ | | | | | | | | | | | | | | | | | | | | | | 3e0720a2ae Help: Add cmake_minimum_required(VERSION) example to cmake-policies(7) 085de39879 Help: Document policy transition schedule in cmake-policies(7) 60e302a539 Help: Drop policy scope from cmake-policies(7) 3b926b32e3 Help: Drop CMAKE_MINIMUM_REQUIRED_VERSION from cmake-policies(7) ec9e5feb93 Help: Organize cmake-policies(7) by supported and unsupported policies 6be0fe22be Help: Mention CMAKE_POLICY_DEFAULT_CMP<NNNN> in cmake_minimum_required Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !10222
| * Help: Add cmake_minimum_required(VERSION) example to cmake-policies(7)Brad King2025-01-271-0/+7
| |
* | clang-format.bash: update to clang-format-18Brad King2025-01-231-1/+1
|/ | | | | | | The `.clang-format` configuration needs no changes to make the version 18 format close to what version 15 produced before. Issue: #26123
* Merge topic 'instrumentation'Brad King2025-01-161-0/+14
|\ | | | | | | | | | | | | | | | | 097d4fd1b5 instrumentation: Collect and record project build system metrics 8a3c195188 Tests/RunCMake: Add RunCMake_CHECK_ONLY Option Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Alex <leha-bot@yandex.ru> Merge-request: !9791
| * instrumentation: Collect and record project build system metricsMartin Duffy2025-01-151-0/+14
| | | | | | | | | | | | Add a feature for collecting build instrumentation for CMake projects. Issue: #26099
* | Merge topic 'fix-typos-found-by-pre-commit-hooks'Brad King2025-01-141-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d620d77d26 FindDoxygen: Rename `_Doxygen_dne_header` -> `_Doxygen_do_not_edit_header` e7ff3cccea PushToAndroidDevice.cmake: Rename `cmake_parse_arguments` prefix bc8621d999 Fix: A lot of typos in code found by `typos` b33beb7af5 Help: Fix some typos found by `sphinx-lint` 78e45c2db6 Style: Replace TABs with spaces for indentation in some files 74e0173f66 Tests(NuGet): Fix the test to ignore empty and space-only lines Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !10151
| * | Fix: A lot of typos in code found by `typos`Alex Turbov2025-01-121-1/+1
| |/ | | | | | | | | | | Yet another great code spellchecker: https://github.com/crate-ci/typos/ (Will be added later as a `pre-commit` hook)
* | Experimental: recycle the `import std` UUIDBen Boeckel2025-01-081-1/+1
|/ | | | Now that GCC is supported, update the feature UUID.
* Help: Describe CPS support in find_packageMatthew Woehlke2024-12-131-0/+18
| | | | | | | Update find_package documentation to describe (the current state of) support for Common Package Specification packages. Make some general improvements to the same while we're at it. Add documentation blurb for the experimental flag that enables CPS support.
* Help/dev: Improve coding conventions guideMatthew Woehlke2024-12-101-8/+4
| | | | | | | | | | | | Improve the coding conventions specified in our source code guide: - Recommend capitalization for locals as well as members. - Remove exceptions for `const` placement; new code should always prefer "east" style. - Remove separate section; "Code Style" and "Code Conventions" are similar enough to not need to make a distinction.
* Help/dev: Add some coding conventions to source code guideBrad King2024-12-061-0/+34
|
* Merge topic 'doc-rel-3.31'Brad King2024-10-151-5/+0
|\ | | | | | | | | | | | | 315a8f88cc Help: Add 3.31 release note for file(MAKE_DIRECTORY)'s RESULT option Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9904
| * Help: Add 3.31 release note for file(MAKE_DIRECTORY)'s RESULT optionPeter Kokot2024-10-151-5/+0
| | | | | | | | | | | | | | | | In commit 95323c90a1 (file(MAKE_DIRECTORY): Add optional RESULT keyword to capture failure., 2024-06-16, v3.31.0-rc1~414^2) the release note was added in the wrong directory so it was not gathered for the 3.31 release. Fixes: #26377
* | Merge topic 'doc-rel-3.29'Brad King2024-10-151-6/+0
|\ \ | | | | | | | | | | | | | | | | | | 0e81c12483 Help: Add 3.29 release note for try_compile LINKER_LANGUAGE option Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9905
| * | Help: Add 3.29 release note for try_compile LINKER_LANGUAGE optionBrad King2024-10-151-6/+0
| | | | | | | | | | | | | | | | | | In commit 0f37000304 (try_{compile,run}: add LINKER_LANGUAGE option, 2023-10-12, v3.29.0-rc1~567^2) a release note was accidentally added in the wrong directory and so was not included in the 3.29 release notes.
* | | Merge topic 'post-rel-dev'Brad King2024-10-111-1/+1
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | 3a96346a3f Configure CMake itself with policies through CMake 3.30 10f8c6a274 export: Increase maximum policy version in exported files to 3.30 fe6cf6d28c Add deprecation warnings for policies CMP0139 and below b51e6a0be7 Help/dev: Update export policy version in post-release development Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9892
| * | Help/dev: Update export policy version in post-release developmentBrad King2024-10-091-1/+1
| | | | | | | | | | | | | | | | | | Since commit 20fa4ce8d8 (export: Factor out CMake-specific export generation (2/2), 2024-07-18) the code that needs editing is in a different method.
* | | Help/dev: Add maintainer guide release branch creation to use a MR for CIBrad King2024-10-091-2/+13
|/ / | | | | | | | | Provide a way to run CI with a new release version number before merging it.
* | cmExperimental: gate build database support behind a flagBen Boeckel2024-09-031-0/+21
| | | | | | | | | | Given that the feature currently only supports C++ sources and is not formally accepted by ISO yet, gate it behind a flag.
* | export: Add initial CPS supportMatthew Woehlke2024-08-141-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add initial support for exporting (install only, for now) Common Package Specification (https://cps-org.github.io/cps/) format package descriptions. This has some limitations, such as not supporting generator expressions (as these cannot be portably exported), and only partially supporting transitive dependencies, but should be usable for at least some simple cases. (Actually, $<LINK_ONLY> is theoretically supportable, but is not yet implemented.) This still needs tests; these will be added in the next commit. Other potential improvements include support for language-specific compile definitions and inferring some package properties from project properties. Additionally, there is no module support yet; this is partly pending on having a tool agnostic format for providing the necessary information.
* | STL: extend type_traits to deal with member pointersVito Gamberini2024-07-021-0/+8
| |
* | file(MAKE_DIRECTORY): Add optional RESULT keyword to capture failure.Asit Dhal2024-06-241-0/+5
| | | | | | | | Fixes: #26041
* | Help/dev: Add a CMake Testing GuideBrad King2024-06-054-2/+112
| | | | | | | | | | | | | | Document how developers working on CMake itself may run the test suite locally. Fixes: #26001
* | Help/dev: Move integration testing to a more-specific documentBrad King2024-06-054-43/+52
| | | | | | | | | | Avoid breaking existing links to `Help/dev/testing.rst` by keeping the document with minimal text to direct readers to the new one.
* | Help/dev: Fix formatting in CMake Documentation GuideBrad King2024-06-051-9/+9
| |
* | importstd: clarify when the experimental UUID must be availableBen Boeckel2024-05-151-1/+2
| | | | | | | | Fixes: #25980
* | Experimental: add an experimental feature gate for `import std`Ben Boeckel2024-04-121-0/+21
|/
* EXPORT_PACKAGE_DEPENDENCIES: Add experimental feature gateBrad King2024-03-121-0/+25
| | | | | | | Some design concerns have been raised after trying the 3.29 release candidates. Avoid committing to a stable public interface for now. Issue: #25767
* Help: Convert http URLs to httpsscivision2024-03-072-5/+5
|
* Help/dev: Add informal governance section to maintainer guideBrad King2023-12-061-0/+7
| | | | Document the status quo w.r.t. governance.
* Help/dev: Update UseJava export policy version in post-release developmentGold8562023-11-271-4/+5
|
* Merge branch 'backport-ci-fedora-39' into ci-fedora-39Brad King2023-11-171-1/+1
|\
| * codespell: Fix typosBrad King2023-11-171-1/+1
| |
* | try_{compile,run}: add LINKER_LANGUAGE optionscivision2023-10-161-0/+6
|/ | | | Fixes: #25326
* cmExperimental: remove the flag for C++ modulesBen Boeckel2023-10-021-130/+0
| | | | | | | All the major compilers now have scheduled releases with support for scanning, so remove the experimental gate. Fixes: #18355
* cmExperimental: recycle the C++ modules API UUIDBen Boeckel2023-08-171-1/+1
| | | | Supporting modules on IMPORTED targets is worth an update.
* CXXModules: add a variable for BMI-only compilationBen Boeckel2023-08-171-0/+6
| | | | | This will be required when dealing with imported targets which contain modules.
* Merge topic 'cmExperimental-uuid-doc'Brad King2023-08-081-1/+1
|\ | | | | | | | | | | | | 21c45a81c3 Help/experimental: fix UUID documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8692
| * Help/experimental: fix UUID documentationBen Boeckel2023-08-071-1/+1
| | | | | | | | | | This was missed in be53c75852 (cmExperimental: recycle the C++ modules API UUID, 2023-07-21) from !8639.
* | Help/dev: Extend documentation guide with another section nesting levelBrad King2023-07-311-0/+1
|/
* cmExperimental: refresh the C++ modules UUIDBen Boeckel2023-07-131-1/+1
| | | | | The transitive support for Clang is a change in support for the ecosystem.
* cxxmodules: remove `CMAKE_EXPERIMENTAL_CXX_MODULE_DYNDEP` variableBen Boeckel2023-06-011-7/+0
| | | | It is now subsumed by the UUID setting completely.
* cxxmodules: update the experimental UUIDBen Boeckel2023-05-311-1/+1
| | | | | Syntactic support for C++ header units has been removed, so a new UUID is warranted.
* Utilities/Sphinx: Add 'cref' roleMatthew Woehlke2023-03-141-0/+4
| | | | | | | | | | | | | Add a role that can be used to create local links (a la '`LINK`_'), but that also applies literal style. This is particularly useful for referring to subcommands within the command's documentation in a style that is consistent with ':command:`BAR <foo(BAR)>`' but is much less verbose. Although this is intended for subcommands, it works with any local reference. Co-authored-by: Brad King <brad.king@kitware.com>
* Merge topic 'smart-wrap-signatures'Brad King2023-03-141-0/+17
|\ | | | | | | | | | | | | 39ecaa5da1 Utilities/Sphinx: Improve word wrap of signatures Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8317