summaryrefslogtreecommitdiffstats
path: root/Help
Commit message (Collapse)AuthorAgeFilesLines
* Tutorial: Extend literal include to contain full code changes in solutionMarkus Ferrell2023-06-151-1/+1
| | | | | The solution for step 7 todo 5 did not include all of the code changes. Modify it to include the needed `#endif` code change.
* Help: Add 3.27 release note for TARGET_RUNTIME_DLL_DIRSBrad King2023-06-131-0/+4
| | | | | | This was accidentally left out of commit 2ce3d62ffb (Help: add documentation for the new TARGET_RUNTIME_DLL_DIRS genex, 2023-02-26, v3.27.0-rc1~400^2~2).
* FindCUDAToolkit: Add cupti nvperf and pcsampling targetsRobert Maynard2023-06-071-1/+2
|
* Help: Drop development topic notes to prepare releaseBrad King2023-06-062-9/+0
| | | | | Release versions do not have the development topic section of the CMake Release Notes index page.
* Merge topic 'doc-3.27-relnotes'Brad King2023-06-0646-280/+250
|\ | | | | | | | | | | | | | | | | 6bc97b453c Help: Update Sphinx versionadded directives for 3.27 release 78d2c9fef0 Help: Organize and revise 3.27 release notes e6bcda8c39 Help: Consolidate 3.27 release notes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8539
| * Help: Update Sphinx versionadded directives for 3.27 releaseBrad King2023-06-061-0/+2
| | | | | | | | | | | | | | | | | | Run the script: Utilities/Sphinx/update_versions.py --since v3.26.0 --overwrite Manually remove directives added to new documentation of existing environment variables.
| * Help: Organize and revise 3.27 release notesBrad King2023-06-061-133/+178
| | | | | | | | | | Add section headers similar to the 3.26 release notes and move each individual bullet into an appropriate section. Revise a few bullets.
| * Help: Consolidate 3.27 release notesBrad King2023-06-0545-280/+203
| | | | | | | | | | Run the `Utilities/Release/consolidate-relnotes.bash` script to move notes from `Help/release/dev/*` into `Help/release/3.27.rst`.
* | VERIFY_INTERFACE_HEADER_SETS: Skip header files that have SKIP_LINTINGKyle Edwards2023-06-062-2/+6
|/ | | | Fixes: #24972
* Merge topic 'file-api-query-command'Brad King2023-06-054-0/+91
|\ | | | | | | | | | | | | | | 99b2ccf80d cmake_file_api: New project command Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8530
| * cmake_file_api: New project commandCraig Scott2023-06-054-0/+91
| | | | | | | | | | | | | | | | Projects can use the new command to request file API replies for the current run. No query files are generated, the query is tracked internally. Replies are created in the file system at generation time in the usual way. Fixes: #24951
* | Merge topic 'ctest-timeout-signal'Brad King2023-06-056-0/+69
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 54c5654f7d ctest: Optionally terminate tests with a custom signal on timeout e38c05688e CTest/cmProcess: Adopt field tracking reason for the process timeout 25c1468314 cmCTestTestHandler: Remove outdated comment 41e8507ab7 IWYU: Add mapping for bits/chrono.h to chrono Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8472
| * | ctest: Optionally terminate tests with a custom signal on timeoutBrad King2023-06-026-0/+69
| | | | | | | | | | | | | | | | | | | | | | | | CTest normally terminates test processes on timeout using `SIGKILL`. Offer tests a chance to exit gracefully, on platforms supporting POSIX signals, by setting `TIMEOUT_SIGNAL_{NAME,GRACE_PERIOD}` properties. Fixes: #17288
* | | cxxmodules: remove `CMAKE_EXPERIMENTAL_CXX_MODULE_DYNDEP` variableBen Boeckel2023-06-011-7/+0
| |/ |/| | | | | It is now subsumed by the UUID setting completely.
* | Merge topic 'automoc-moc-options-test'Brad King2023-06-011-0/+36
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1f4b374d6e cmQtAutoGenInitializer: Reduce string copies b6f66b445a cmQtAutoGenInitializer: Remove no-op calls 55d93bdabf cmQtAutoGenInitializer: Improve const correctness feb56a666f cmTarget: Improve const correctness of AddUtility 5e513e562f Help: Add AUTOMOC_MOC_OPTIONS example 5380ad9d58 Tests: Add test for AUTOMOC_MOC_OPTIONS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8523
| * | Help: Add AUTOMOC_MOC_OPTIONS exampleOrkun Tokdemir2023-05-311-0/+36
| |/
* | 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.
* | cxxmodules: remove support for `CXX_MODULE_HEADER_UNITS` filesetsBen Boeckel2023-05-3110-154/+8
|/ | | | | There's no backing implementation for header units anyways, so just remove it for now.
* Merge topic 'cmake-verbose-print-build-tool-command'Brad King2023-05-311-0/+5
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8451a3f0b5 cmGlobalGenerator: use a stream for output in `Build` e060666531 cmake: write the build command itself with `--verbose` b017c9f127 cmGlobalGenerator: fix off-by-one for `&&` command joining c715fd8d76 cmGlobalGenerator: quote commands in `::Build` output d6c0e827bc cmGlobalGenerator: add a `QuotedPrintable` method for commands 28ee3bef34 cmGlobalGenerator: add missing spaces in output 465ab8d872 cmGlobalGenerator: use `cmStrCat` in `::Build` 81d45dabc4 cmOutputConverter: add a `static` version of `EscapeForShell` Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Acked-by: Alex <leha-bot@yandex.ru> Merge-request: !8183
| * cmake: write the build command itself with `--verbose`Ben Boeckel2023-05-161-0/+5
| |
* | Merge topic 'help-importing-exporting-lib'Brad King2023-05-311-4/+5
|\ \ | | | | | | | | | | | | | | | | | | | | | aef057d0e8 Help/guide: fix MathFunctionsTargets.cmake path in importing-exporting Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !8511
| * | Help/guide: fix MathFunctionsTargets.cmake path in importing-exportingOlivier Blin2023-05-261-4/+5
| | | | | | | | | | | | | | | | | | | | | It is using ${CMAKE_INSTALL_LIBDIR} and an extra "/MathFunctions" path suffix since these commits: - e58a76de51 Help/guide: fix importing-exporting CMake install destinations - 26cf661b64 Help/guide: use GNUInstallDirs in importing-exporting example
* | | cmake: Add debuggerGlen Chung2023-05-302-0/+58
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Depends on cppdap and jsoncpp. - Add --debugger argument to enable the Debugger. - Add --debugger-pipe argument for DAP traffics over named pipes. - Support breakpoints by filenames and line numbers. - Support exception breakpoints. - Call stack shows filenames and line numbers. - Show Cache Variables. - Show the state of currently defined targets, tests and directories with their properties. - Add cmakeVersion to DAP initialize response. - Include unit tests. Co-authored-by: Ben McMorran <bemcmorr@microsoft.com>
* | Optionally exclude implicit link directories via environmentBrad King2023-05-253-1/+20
| | | | | | | | | | | | | | | | A misconfigured compiler may pass extraneous implicit link directories to its linker. If they are in `CMAKE_<LANG>_IMPLICIT_LINK_DIRECTORIES`, CMake may generate extra `-L` flags on mixed-language link lines that break linking. Add an environment variable that users can set to work around such misconfiguration of their compilers.
* | Merge topic 'ep-update-disconnected'Brad King2023-05-231-0/+14
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 8cc45e150a ExternalProject: Make hg download method respect UPDATE_DISCONNECTED 1512dc43cb ExternalProject: Avoid reconfigure when updates are disconnected 1d29cf37a1 Tests: Reduce warning noise in ExternalProjectUpdate test Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8498
| * | ExternalProject: Avoid reconfigure when updates are disconnectedCraig Scott2023-05-231-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When UPDATE_DISCONNECTED is true, create separate update_disconnected and patch_disconnected targets which have ALWAYS set to false. Make the configure step depend on patch_disconnected in this case too. This ensures the configure, build, install and test steps are not executed unnecessarily when updates are disconnected. Make the update and patch commands depend on the details of those steps. This ensures they are re-executed when any of those details change, even if updates are disconnected. Allow updates to occur even if UPDATE_DISCONNECTED is true, but don't contact the remote in that case. If asked to update to a ref that isn't known locally, that is now detected and causes a fatal error when updates are disconnected. Previously, the build would have silently and erroneously continued to use the old ref. Fixes: #16419, #19703, #21146
* | | Merge topic 'help_configure_file'Brad King2023-05-231-4/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | b2b97d015e Help: configure_file: add $CACHE{VAR} and $ENV{VAR} to description Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8500
| * | | Help: configure_file: add $CACHE{VAR} and $ENV{VAR} to descriptionTorsten Rasmussen2023-05-221-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The configure_file(...) and string(CONFIGURE ...) functions also substitutes variables of the form: $CACHE{VAR} and $ENV{VAR}. Therefore add this information to the help documentation so that this behavior is described to users
* | | | codespell: Fix typosBrad King2023-05-221-1/+1
|/ / /
* | | Merge topic 'doc-mingw-var'Brad King2023-05-221-2/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | c16f5914f3 Help: Clarify meaning of MINGW variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8495
| * | | Help: Clarify meaning of MINGW variableBrad King2023-05-191-2/+3
| |/ / | | | | | | | | | Fixes: #24928
* | | Merge topic 'FileAPI-framework'Brad King2023-05-222-1/+30
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | b3a6a11e95 fileapi: Extend codemodel targets/compileGroups with Apple frameworks Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8489
| * | fileapi: Extend codemodel targets/compileGroups with Apple frameworksMarc Chevrier2023-05-192-1/+30
| | | | | | | | | | | | Fixes: #19897
* | | Merge topic 'doc-skip-linting'Brad King2023-05-196-33/+41
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 652a785311 Help: Wording, formatting and ordering fixes for SKIP_LINTING docs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8493
| * | | Help: Wording, formatting and ordering fixes for SKIP_LINTING docsCraig Scott2023-05-196-33/+41
| | | | | | | | | | | | | | | | | | | | Amends b480315e0c2 (TargetGenerator: Add SKIP_LINTING source property, 2023-05-12).
* | | | Help: Clarify PRE_BUILD option for add_custom_command()Craig Scott2023-05-191-3/+6
|/ / / | | | | | | | | | Fixes: #24889
* | | Merge branch 'release-3.26'Brad King2023-05-181-2/+2
|\ \ \
| * | | CMake 3.26.4v3.26.4Brad King2023-05-181-2/+2
| | | |
* | | | Merge topic 'skip-linting'Brad King2023-05-187-0/+75
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 775c369420 Autogen: set SKIP_LINTING ON for generated files b480315e0c TargetGenerator: Add SKIP_LINTING source property 993dde925f TargetGenerator: Factor out generation of code check rules 023af4ab2f Improve Const Correctness Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8467
| * | | TargetGenerator: Add SKIP_LINTING source propertyOrkun Tokdemir2023-05-167-0/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The `SKIP_LINTING` source property was added to disable code check for desired source files. The `SKIP_LINTING`includes `cpplint`, `clang-tidy`, \ `cppcheck` and `include-what-you-use`. If `SKIP_LINTING` is set on a source file, the tools mentioned above will not be run on that source file.
* | | | Help: Update SYSTEM oriented target properties for Apple FrameworksMarc Chevrier2023-05-143-12/+19
| |_|/ |/| | | | | | | | This is a complement to !8469.
* | | Apple Frameworks: honor SYSTEM target propertyMarc Chevrier2023-05-111-0/+4
|/ / | | | | | | Fixes: #24109
* | Merge topic 'ctest-timeout-zero'Brad King2023-05-051-0/+3
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0a5aeaf302 cmCTestRunTest: Consolidate test timeout selection logic 426e38cc10 cmCTestRunTest: Adopt decision for starting cmProcess timer 59336b29bd cmCTestRunTest: Remove unnecessary arguments to ForkProcess 07b5087ba7 Help: Document meaning of TIMEOUT test property with value 0 3edf7fbb41 ctest: Fix TIMEOUT test property with value 0 with --timeout flag 39a20a56dd Tests: Move `CTestTestZeroTimeout` into `RunCMake.CTestTimeout` cd4038fe94 cmCTestTestHandler: Use in-class initialization of properties and results Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8455
| * | Help: Document meaning of TIMEOUT test property with value 0Brad King2023-05-041-0/+3
| | | | | | | | | | | | | | | Document the behavior added by commit 51bb493574 (Test TIMEOUT property explicitly set to zero should be honored, 2011-01-03, v2.8.4~118^2).
* | | Merge topic 'compile-only-genex'Brad King2023-05-052-1/+26
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | c42630ee62 cmGeneratorExpressionNode: implement `COMPILE_ONLY` genex 0fb923c460 cmGeneratorExpressionNode: implement `COMPILE_ONLY` genex Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8411
| * | cmGeneratorExpressionNode: implement `COMPILE_ONLY` genexRobert Maynard2023-05-041-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | This generator expression is the inverse of `LINK_ONLY` and only coveys usage requirements for the purposes of compilation. Its intended use is to avoid needing to export targets that do not have link usage requirements (e.g., header-only libraries) when used by another target. See: #15415
| * | cmGeneratorExpressionNode: implement `COMPILE_ONLY` genexBen Boeckel2023-04-122-1/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This generator expression is the inverse of `LINK_ONLY` and only coveys usage requirements for the purposes of compilation. Its intended use is to avoid needing to export targets that do not have link usage requirements (e.g., header-only libraries) when used by another target. It will also be used to represent private usage requirements on exported C++ module-containing targets in the future. Eventually there should be logic to collapse nesting of `$<COMPILE_ONLY>` and `$<LINK_ONLY>` when generating instances of either. A TODO is left in the code for this case. See: #15415
* | | Merge topic 'use-linker-depfile'Brad King2023-05-043-0/+24
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 375e6fdbbe Link step: use linker dependency linker file 24a3e5cda0 cmLocalGenerator::MayBeRelativeToWorkDir: take care of all cases Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8443
| * | | Link step: use linker dependency linker fileMarc Chevrier2023-05-033-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | Based on work done by @ben.boeckel (!8051) Fixes: #22217
* | | | Merge topic 'Pospelove-master-patch-11353'Brad King2023-05-041-0/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c64f6d5a5a Help: Document append functionality of string(JSON) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8453