summaryrefslogtreecommitdiffstats
path: root/Help
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'doc-SYSTEM'Craig Scott2022-12-198-58/+71
|\ | | | | | | | | | | | | dfab263825 Help: Clarify and update SYSTEM-related docs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8027
| * Help: Clarify and update SYSTEM-related docsCraig Scott2022-12-178-58/+71
| |
* | Merge topic 'fileapi-configureLog'Brad King2022-12-193-0/+52
|\ \ | | | | | | | | | | | | | | | | | | | | | d811d86fd7 FileAPI: Add "configureLog" object kind Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8029
| * | FileAPI: Add "configureLog" object kindBrad King2022-12-173-0/+52
| | | | | | | | | | | | | | | | | | | | | Provide clients with a way to get a known set of configure log event versions. Issue: #23200
* | | Merge topic 'doc-updates'Marc Chevrier2022-12-181-11/+11
|\ \ \ | |/ / |/| | | | | | | | | | | | | | 22d36aa0f8 Help: string(JSON): avoid duplicate labels Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8028
| * | Help: string(JSON): avoid duplicate labelsMarc Chevrier2022-12-171-11/+11
| |/
* | Merge topic 'cxxmodules-clang-update'Brad King2022-12-171-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 5dc17d0a7a gitlab-ci: update to new Clang CI image for C++ modules e84fcbcb0b cxxmodules: support new round of Clang patches 5e35913382 ci: update `llvm` snapshot to newest patch revisions Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8019
| * | cxxmodules: support new round of Clang patchesBen Boeckel2022-12-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These patches now support the `-MF` output, so remove the `none` support added just for the old patchset which did not use it. Also update the flag name to `-fmodule-output=`. Due to the new Clang module mapper flag, use a new experimental support UUID as well.
* | | Merge topic 'configure-log'Brad King2022-12-173-0/+260
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6c40e0b25e ConfigureLog: Version individual events instead of the whole log 048a02d5bb ConfigureLog: Log try_compile and try_run checks 746c776caf ConfigureLog: Add infrastructure for structured configure event logging e8b8d82cbf Tests: Generalize RunCMake expectation component names 8d29a0bda6 cmTryRunCommand: Factor out stdout/stderr capture conditions fdda4095a3 cmCoreTryCompile: Return more semantic information from compile step Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8017
| * | | ConfigureLog: Version individual events instead of the whole logBrad King2022-12-161-21/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order to support multiple log versions without buffering the entire log, move versioning to the level of individual events. Multiple versions of an event may then be logged consecutively. Issue: #23200
| * | | ConfigureLog: Log try_compile and try_run checksMatthew Woehlke2022-12-161-3/+134
| | | | | | | | | | | | | | | | | | | | | | | | Add configure log events for `try_compile` and `try_run` results. Issue: #23200
| * | | ConfigureLog: Add infrastructure for structured configure event loggingMatthew Woehlke2022-12-163-0/+108
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | Add infrastructure for a "configure log". Use YAML for a balance of machine- and human-readability to records details of configure-time events in a structured format. Teach the RunCMake test framework to support matching the configure log. Issue: #23200
* | | Merge topic 'doc-updates'Craig Scott2022-12-171-6/+7
|\ \ \ | | |/ | |/| | | | | | | | | | | | | 2ee845c0a5 Help: Add version information for SYSTEM option of add_subdirectory Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8025
| * | Help: Add version information for SYSTEM option of add_subdirectoryMarc Chevrier2022-12-161-6/+7
| | |
* | | Help: Fix command references in CTEST_CUSTOM_ variablesAmir Masoud Abdol2022-12-154-4/+4
| |/ |/| | | | | Fixes: #19087
* | Merge topic 'COMPILE_DEFINITIONS-property-cleanup'Brad King2022-12-145-0/+18
|\ \ | | | | | | | | | | | | | | | | | | | | | 7480fa0a5f COMPILE_DEFINITIONS property: ensure leading -D is removed in all cases Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8004
| * | COMPILE_DEFINITIONS property: ensure leading -D is removed in all casesMarc Chevrier2022-12-135-0/+18
| | | | | | | | | | | | Fixes: #24186
* | | Merge topic 'cuda-nvcc-cuda20'Brad King2022-12-141-0/+6
|\ \ \ | |/ / |/| / | |/ | | | | | | 0aeeb8160c CUDA: Add support for cuda_std_20 for nvcc 12.0+ Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8008
| * CUDA: Add support for cuda_std_20 for nvcc 12.0+Robert Maynard2022-12-131-0/+6
| | | | | | | | CUDA 12.0 has been released with support for `-std=c++20`.
* | Merge topic 'doc-add_custom_command'Brad King2022-12-091-7/+48
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 303c48fbd4 Help: Add add_custom_command example with output consumed by multiple targets 5f2bf6ecc6 Help: Drop misleading add_custom_command "makefile terms" explanation Acked-by: Kitware Robot <kwrobot@kitware.com> Rejected-by: BRevzin <barry.revzin@gmail.com> Merge-request: !8002
| * | Help: Add add_custom_command example with output consumed by multiple targetsBrad King2022-12-081-3/+48
| | | | | | | | | | | | This is a common use case, so add an example demonstrating it.
| * | Help: Drop misleading add_custom_command "makefile terms" explanationBrad King2022-12-071-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The "In makefile terms" explanation is left from very early days of CMake to help developers migrating from hand-written makefiles. These days it is often misinterpreted, particularly in the context of multiple `add_custom_command` calls, to mean that we generate a single Makefile containing rules for all custom commands. This leads to an incorrect mental model of the expressed build system. The actual generated build system may spread the rules across multiple targets that do not see the each other's file-level rules, which makes target-level dependencies important too.
* | | VS: Add a variable to report the Visual Studio version build numberBrad King2022-12-074-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | VS 2017 and above come with a Visual Studio Installer tool that tracks four-component Visual Studio version numbers. We already detect the VS version number because it is needed to make some generation decisions. Provide the number to projects in a `CMAKE_VS_VERSION_BUILD_NUMBER` variable so they can use it similarly. Fixes: #24230
* | | Help: Factor out VS Build Number components document fragmentBrad King2022-12-072-17/+19
|/ /
* | Merge topic 'clang-tidy-export-fixes-dir'Brad King2022-12-075-0/+54
|\ \ | | | | | | | | | | | | | | | | | | | | | 232467eb1c clang-tidy: add <LANG>_CLANG_TIDY_EXPORT_FIXES_DIR property Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7982
| * | clang-tidy: add <LANG>_CLANG_TIDY_EXPORT_FIXES_DIR propertyKyle Edwards2022-12-065-0/+54
| | | | | | | | | | | | Fixes: #21362
* | | Merge topic 'doc-SYSTEM'Brad King2022-12-073-7/+7
|\ \ \ | | |/ | |/| | | | | | | | | | | | | b15b9cf286 Help: Clarify SYSTEM property default for imported targets Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7990
| * | Help: Clarify SYSTEM property default for imported targetsBrad King2022-12-063-7/+7
| | | | | | | | | | | | | | | | | | The `SYSTEM` directory property does not affect imported targets. Fixes: #24219
| * | Merge topic 'msvc-cxx-no-optin-experimental-flag' into release-3.25Brad King2022-11-291-1/+2
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 12e4bc73cb MSVC: don't opt into dyndep support Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7965
* | \ \ Merge topic 'cxx-module-map-clang'Brad King2022-12-061-3/+6
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2c558cfd1b gitlab-ci: add CI jobs for Clang with C++20 modules abd42e9cfc ci: add a Docker container for clang support of C++20 modules 51093f3002 Clang-FindBinUtils: also find `clang-scan-deps` 0b333de923 ci: add C++ module rules file for Clang 21b9fb1e8c cmCxxModuleMapper: support the `clang` module map format 9c66224668 cmNinjaTargetGenerator: skip setting `depfile` for `none` scantypes 9123a0991f cmNinjaTargetGenerator: use `.clear()` to empty out some strings Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Cristian Adam <cristian.adam@gmail.com> Merge-request: !7978
| * | | cmCxxModuleMapper: support the `clang` module map formatBen Boeckel2022-12-021-3/+6
| | | |
* | | | cmExperimental: recycle C++20 module support UUIDBen Boeckel2022-12-011-1/+1
| | | | | | | | | | | | | | | | Visual Studio support warrants a new ID.
* | | | Help/dev/experimental: document C++20 module limitationsBen Boeckel2022-12-011-0/+25
|/ / /
* | | FindPython: add support for Stable ABIMarc Chevrier2022-11-291-0/+6
| | | | | | | | | | | | Fixes: #24141
* | | Merge topic 'msvc-cxx-no-optin-experimental-flag'Brad King2022-11-291-1/+2
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | 12e4bc73cb MSVC: don't opt into dyndep support Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7965
| * | MSVC: don't opt into dyndep supportBen Boeckel2022-11-281-1/+2
| | | | | | | | | | | | | | | | | | | | | Instead, just set the variables for how scanning works since that is part of the compiler mechanisms. Fixes: #24198
* | | Merge topic 'revert-find_library-msvc-libfoo.a'Brad King2022-11-291-5/+13
|\ \ \ | | |/ | |/| | | | | | | | | | | | | 955d6245c1 MSVC: Revert "Teach find_library to consider the 'libfoo.a' naming convention" Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7962
| * | MSVC: Revert "Teach find_library to consider the 'libfoo.a' naming convention"Brad King2022-11-281-5/+13
| |/ | | | | | | | | | | | | | | | | | | | | | | Revert commit be848a71b0 (MSVC: Teach find_library to consider the 'libfoo.a' naming convention, 2022-09-19, v3.25.0-rc1~111^2). When targeting the MSVC ABI, this causes GNU-ABI libraries to be found in cases they were not previously, and broke existing builds. Revert the change pending further discussion on how to handle the motivating use case. Issue: #23975 Fixes: #24168
* | Merge topic 'doc-add_compile_options-example'Craig Scott2022-11-291-4/+7
|\ \ | | | | | | | | | | | | | | | | | | f03a1833e2 Help: Update compiler-specific add_compile_options() example and prose Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7959
| * | Help: Update compiler-specific add_compile_options() example and proseMichael Hirsch2022-11-281-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid hard-coding a warning-as-error flag now that CMake offers a first class abstraction for that. Also mention some relevant generator expressions which can be used to provide even more specific targeting with language-specific flags. Fixes: #24200
* | | Help: Clarify behavior of BEFORE with target_compile_options()Craig Scott2022-11-272-9/+18
|/ /
* | Merge topic 'cxxmodules-doc-msvc-modmapfmt'Brad King2022-11-221-2/+7
|\ \ | |/ | | | | | | | | | | 19fc1ba630 Help/dev/experimental: document the `msvc` module map format Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7944
| * Help/dev/experimental: document the `msvc` module map formatBen Boeckel2022-11-211-2/+7
| |
* | Merge topic 'custom-command-comment-genex'Brad King2022-11-223-0/+14
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 26d813092b add_custom_{command,target}: add genex support for COMMENT 60a5a39022 cmCustomCommandGenerator: refactor GetComment to return std::string Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7887
| * | add_custom_{command,target}: add genex support for COMMENTPeter Würth2022-11-193-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Evaluate and expand generator expressions in the `COMMENT` argument of the `add_custom_command()` and `add_custom_target()` commands. This allows to include generator expressions, e.g. a targets location $<TARGET_...> or the current configuration $<CONFIG>, in the build-time messages. Fixes #22507
* | | Merge topic 'help-remove-self-reference-links'Brad King2022-11-2160-98/+98
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | eb77695e25 Help: clean up some minor typos c36910476a Help: remove links from pages to themselves 391c53a851 Help/prop_tgt/LINK_OPTIONS: fix `:genex:` reference de4909ea16 Help: fix some minor markup errors c42c77b020 Help/CMAKE_GLOBAL_AUTORCC_TARGET_NAME: fix link reference Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7940
| * | | Help: clean up some minor typosBen Boeckel2022-11-182-2/+2
| | | |
| * | | Help: remove links from pages to themselvesBen Boeckel2022-11-1855-92/+92
| | | | | | | | | | | | | | | | | | | | At least the top-reference links. Internal `:ref:` usages have been left intact.
| * | | Help/prop_tgt/LINK_OPTIONS: fix `:genex:` referenceBen Boeckel2022-11-181-1/+1
| | | |
| * | | Help: fix some minor markup errorsBen Boeckel2022-11-184-4/+4
| | | |