summaryrefslogtreecommitdiffstats
path: root/Help
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'ninja-better-order-depends' into release-3.28Brad King2023-10-231-0/+6
|\ | | | | | | | | | | | | | | | | | | | | ed45432571 cmNinjaTargetGenerator: do not order-depend on C++ module sources 0973cd6702 cmNinjaTargetGenerator: use the file set visibility API 4625170925 cmFileSet: add a query for includeable file set types 51f9d9f0a2 cmNinjaTargetGenerator: avoid traversing old outputs repeatedly Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8902
| * cmNinjaTargetGenerator: do not order-depend on C++ module sourcesBen Boeckel2023-10-201-0/+6
| | | | | | | | | | | | | | | | | | C++ module sources should not be included by any other TUs, so their presence cannot matter for order-only dependencies of the entire target. Exclude them. Update CMP0154 to take this into consideration and add tests to the `CXXModules` suite (which already deals with module support detection).
* | Help: Move some deprecated modules to the dedicated sections權少2023-10-201-4/+4
|/
* Help: Document cmake-presets version 8Johel Ernesto Guerrero Peña2023-10-191-0/+3
| | | | | This was accidentally missed in commit f1a7179520 (presets: Add $schema property to JSON schema, 2023-09-07, v3.28.0-rc1~106^2).
* VS: Explicitly disallow C++ modules provided by imported targetsBen Boeckel2023-10-171-0/+1
| | | | | | | The `-ifcOnly` flag is understood by MSBuild, but there are unresolved questions about how to integrate with with CMake's model. See: #25328
* Help: Fix typo in COMPATIBLE_INTERFACE_NUMBER_MIN權少2023-10-111-1/+1
|
* Merge branch 'release-3.27' into release-3.28Brad King2023-10-061-2/+2
|\
| * CMake 3.27.7v3.27.7Brad King2023-10-061-2/+2
| |
| * Merge topic 'doc-CMP0124' into release-3.27Brad King2023-10-021-5/+37
| |\ | | | | | | | | | | | | | | | | | | 55bf2a3494 Help: Document CMP0124 behavior on already-set variables Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8850
* | | Help: Drop development topic notes to prepare releaseBrad King2023-10-032-9/+0
| | | | | | | | | | | | | | | Release versions do not have the development topic section of the CMake Release Notes index page.
* | | Help: Update Sphinx versionadded directives for 3.28 releaseBrad King2023-10-031-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Run the script: Utilities/Sphinx/update_versions.py --since v3.27.0 --overwrite Manually remove directives added to new documentation of existing environment variables.
* | | Help: Organize and revise 3.28 release notesBrad King2023-10-031-93/+136
| | | | | | | | | | | | | | | Add section headers similar to the 3.27 release notes and move each individual bullet into an appropriate section. Revise a few bullets.
* | | Help: Consolidate 3.28 release notesBrad King2023-10-0334-216/+161
| | | | | | | | | | | | | | | Run the `Utilities/Release/consolidate-relnotes.bash` script to move notes from `Help/release/dev/*` into `Help/release/3.28.rst`.
* | | Help: Fix versionadded indentation in cmake-generator-expressions(7) manualBrad King2023-10-031-2/+2
| | | | | | | | | | | | | | | | | | Fix indentation of the `versionadded` markup added by commit 634079b86d (cmGeneratorExpressionEvaluator: Short-circuit boolean operators, 2023-09-11) to render the note in the appropriate scope.
* | | Merge topic 'cxxmodules-no-longer-experimental'Brad King2023-10-0224-219/+123
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 437280b127 cxxmodules: scan C++ sources for imports by default 3cddd11649 Ninja: message about not compiled sources explicitly 068fde1c34 cmGeneratorTarget: use `this->` for method calls 197a6bf171 cxxmodules: rework control logic for scanning regular C++ sources 5eb7bd641a Tests/RunCMake/CXXModules: remove rules file requirement ff18acc301 CXXModules: remove `EXPERIMENTAL` from C++ module variable names 0c07f39006 cmExperimental: remove the flag for C++ modules 68caec9137 Help: add a manpage for cxxmodule support Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Pavel Solodovnikov <hellyeahdominate@gmail.com> Merge-request: !8828
| * | | cxxmodules: scan C++ sources for imports by defaultBen Boeckel2023-10-023-1/+28
| | | | | | | | | | | | | | | | | | | | Existing projects are not using C++ modules in their sources, so introduce policy CMP0155 to enable scanning by default.
| * | | cxxmodules: rework control logic for scanning regular C++ sourcesBen Boeckel2023-10-021-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that scanning support is no longer experimental, the logic for whether or not to scan C++ 20 sources is now important because all projects are now exposted to the logic. Make the scanning rules explicit in the documentation and rework the queries to localize all of the associated logic. A policy to handle the ultimate fallback logic will be implemented in a following commit.
| * | | cmExperimental: remove the flag for C++ modulesBen Boeckel2023-10-0220-219/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | All the major compilers now have scheduled releases with support for scanning, so remove the experimental gate. Fixes: #18355
| * | | Help: add a manpage for cxxmodule supportBen Boeckel2023-10-022-0/+56
| | | |
* | | | Merge topic 'doc-CMP0124'Brad King2023-10-021-5/+37
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | 55bf2a3494 Help: Document CMP0124 behavior on already-set variables Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8850
| * | | Help: Document CMP0124 behavior on already-set variablesBrad King2023-09-291-5/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Improve the documentation from commit 46896d98bb (foreach(): loop variables are only available in the loop scope, 2021-04-25, v3.21.0-rc1~245^2) to follow policy documentation convention. Fixes: #25224 Inspired-by: Marius Messerschmidt <marius.messerschmidt@googlemail.com>
* | | | Merge topic 'ctest-timeout-flag'Brad King2023-10-021-1/+2
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | d267c128a2 ctest: Restore support for --timeout values higher than default test timeout dd779a4bc2 Tests: Clarify RunCMake.CTestTimeout case name Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8851
| * | | ctest: Restore support for --timeout values higher than default test timeoutBrad King2023-09-291-1/+2
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since refactoring in commit 0a5aeaf302 (cmCTestRunTest: Consolidate test timeout selection logic, 2023-05-04, v3.27.0-rc1~120^2) we accidentally truncate `--timeout` values to ctest's default `TimeOut`. Fix the logic to prefer the flag whenever the `TIMEOUT` property is not set. In combination with the prior refactoring, this also fixes a bug that caused `--timeout` values of 10000000 seconds or more to be ignored. Fixes: #23979
* | | Merge topic 'ExternalProject-declare-download-byproducts'Craig Scott2023-10-011-0/+8
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 872daff159 ExternalProject: declare byproducts for the download step Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8823
| * | | ExternalProject: declare byproducts for the download stepBen Boeckel2023-09-301-0/+8
| | | | | | | | | | | | | | | | | | | | This can surface a conflict where two projects download the same file and get scheduled against each other.
* | | | Merge topic 'help-arbitrary'Brad King2023-09-291-0/+15
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | 4e50320978 Help: Allow help for arbitrary keywords Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8674
| * | | Help: Allow help for arbitrary keywordsMartin Duffy2023-09-271-0/+15
| | | | | | | | | | | | | | | | | | | | Changes `cmake --help [arg]` to search `Help/*/` instead of `Help/command/` Allows editors to easily display manual for `<cword>`
* | | | Merge topic 'misc-cxxmodule-fixes'Brad King2023-09-271-2/+4
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3b632f32fa Tests/CXXModules: forward the default build type 5ab6b09691 Tests/CXXModules: fix multi-config and MSVC details 11b62ef118 Tests/CXXModules: add missing `bmi-only` and compiler id fields 5d9631fbdd Tests/CXXModules: fix key set mismatch error messages 86e7fb72cb Tests/CXXModules: use a less generic name for the config 6b940dc590 Tests/CXXModules: replace the object extension as well 1c9f83c8ec Tests/CXXModules: fix error detection propagation 7a4c02cb38 cmGlobalGenerator: factor out messaging for CMP0037 ... Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Acked-by: Pavel Solodovnikov <hellyeahdominate@gmail.com> Merge-request: !8834
| * | | | Help/CMAKE_EXPORT_COMPILE_COMMANDS: mention the `output` fieldBen Boeckel2023-09-251-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | Added in 887a8874c3 (EXPORT_COMPILE_COMMANDS: add `output` field, 2022-10-28) via !7844. Sync the docs with this addition.
* | | | | Merge topic 'hip-nvidia'Brad King2023-09-266-33/+72
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fd982eec10 HIP: Add tests for special NVIDIA values of CMAKE_HIP_ARCHITECTURES 8c8b3f1bfa HIP: Fix support for -DCMAKE_HIP_ARCHITECTURES=native with NVCC b3e92775ab HIP: Add CMAKE_HIP_HOST_COMPILER when compiler is NVCC e43918b4ca HIP: Fix linking mixed-lang binary with CXX compiler and Makefile generators 4794505122 HIP: Do not require hip-lang package for NVIDIA platform 09d759dc7f HIP: Simplify exclusion of AMD device runtime with NVIDIA GPUs 2a60663670 HIP: Simplify CMAKE_GENERATOR references for determining compiler 8124950f6c CUDA: Generalize CMAKE_{CUDA => <LANG>}_HOST_COMPILER variable docs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8836
| * | | | | HIP: Add CMAKE_HIP_HOST_COMPILER when compiler is NVCCBrad King2023-09-253-5/+28
| | | | | | | | | | | | | | | | | | | | | | | | Also add `HIPHOSTCXX` environment variable.
| * | | | | CUDA: Generalize CMAKE_{CUDA => <LANG>}_HOST_COMPILER variable docsBrad King2023-09-254-33/+49
| | | | | |
* | | | | | Merge topic 'doc1'Brad King2023-09-262-0/+18
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 449f5da373 Help:cmake(1): add versionadded back to 3.17 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8831
| * | | | | | Help:cmake(1): add versionadded back to 3.17scivision2023-09-242-0/+18
| | |/ / / / | |/| | | |
* | | | | | Merge topic 'genexp-no-eval'Brad King2023-09-262-0/+16
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 634079b86d cmGeneratorExpressionEvaluator: Short-circuit boolean operators Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: scivision <michael@scivision.dev> Acked-by: Pavel Solodovnikov <hellyeahdominate@gmail.com> Merge-request: !8791
| * | | | | | cmGeneratorExpressionEvaluator: Short-circuit boolean operatorsMartin Duffy2023-09-132-0/+16
| | | | | | |
* | | | | | | Merge topic 'orangec-compiler'Brad King2023-09-262-0/+7
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f8fa4f1ad7 ci: Add OrangeC 6.73.1 nightly CI job 531b4fe643 OrangeC: Add support for OrangeC compiler 10f435a58f Tests: Simplify nested if conditions in Complex tests Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: Victor <lostfreeman@gmail.com> Merge-request: !8592
| * | | | | | | OrangeC: Add support for OrangeC compilerDavid Lindauer2023-09-252-0/+7
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add compiler information modules. Update the test suite. Fixes: #25032 Co-authored-by: Brad King <brad.king@kitware.com>
* | | | | | | Merge topic 'FetchContent-EXCLUDE_FROM_ALL'Craig Scott2023-09-261-0/+7
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5f77807f1c FetchContent: Add support for EXCLUDE_FROM_ALL Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8822
| * | | | | | FetchContent: Add support for EXCLUDE_FROM_ALLSteven Stallion2023-09-251-0/+7
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | Fixes: #20167
* | | | | | CrayClang: Add support for this compilerRyan Krattiger2023-09-222-0/+6
| |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | Add `CrayClang` compiler ID for newer Cray compilers. Fixes: #25102
* | | | | Merge topic 'hip-nvidia'Brad King2023-09-225-4/+41
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6546aa2a2a ci: Add HIP job using CUDA on NVIDIA GPUs 18158bf81c HIP: Add support for NVIDIA GPUs 127b6fa06b HIP: Add CMAKE_HIP_PLATFORM variable to specify GPU platform 90e23f40ee Tests/HIP/WithDefs: Clean up test case 9ebdf3281f Tests/HIP/ArchitectureOff: Cover HIP_ARCHITECTURES initialization cfec29196e ci: Add CUDA 11.8 to HIP 5.5 image 26470eb987 ci: Put HIP GPU platform in CMake_TEST_HIP Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8817
| * | | | | HIP: Add support for NVIDIA GPUsBrad King2023-09-212-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for using the CUDA Toolkit's NVCC to compile HIP code. Fixes: #25143
| * | | | | HIP: Add CMAKE_HIP_PLATFORM variable to specify GPU platformBrad King2023-09-215-4/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For now, require the value to be `amd`, since that is the only platform we currently support.
* | | | | | Merge topic 'fileset-private-dep'Brad King2023-09-216-0/+78
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ec2ba29ac5 Ninja: Allow compilation before generation of dependencies' private sources Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8420
| * | | | | | Ninja: Allow compilation before generation of dependencies' private sourcesMartin Duffy2023-09-206-0/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This requires knowing when a generated header is public, which we can model using file sets. Add policy CMP0154 to treat generated sources as private by default in targets with file sets. Generated public headers can be specified in public file sets. Fixes: #24959 Issue: #15555
* | | | | | | Merge topic 'doc-find-arch-paths'Brad King2023-09-212-11/+20
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 51c2927816 Help: Clarify requirements for find_package to use lib{64,32,x32} paths e625255fe4 Help: Indent find_package REGISTRY_VIEW paragraphs together Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Roscoe A. Bartlett <rabartl@sandia.gov> Merge-request: !8819
| * | | | | | Help: Clarify requirements for find_package to use lib{64,32,x32} pathsBrad King2023-09-202-10/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue: #25157
| * | | | | | Help: Indent find_package REGISTRY_VIEW paragraphs togetherBrad King2023-09-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit 8d7e80cf3d (find_* commands: add control over Windows registry views, 2022-04-16, v3.24.0-rc1~201^2) this indentation was used for the other find commands but was left out for `find_package`.
* | | | | | | Merge branch 'release-3.27'Brad King2023-09-201-2/+2
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | / | | |_|_|_|/ | |/| | | |