summaryrefslogtreecommitdiffstats
path: root/Help
Commit message (Collapse)AuthorAgeFilesLines
* Help: Fix Sphinx not recognising list in XCODE_LINK_BUILD_PHASE_MODECraig Scott2020-12-201-0/+1
|
* ISPC: Generated Headers suffix configurable with a better defaultRobert Maynard2020-12-145-0/+30
| | | | | | | | | The target property `ISPC_HEADER_SUFFIX` and associated global variable now can control the suffix used when generating the C/C++ interoperability ISPC headers. In addition the default suffix is now "_ispc.h" which matches the common convention that the ISPC compiler team uses and recommends.
* Merge topic 'apple-silicon-host-arch' into release-3.19Brad King2020-12-116-3/+84
|\ | | | | | | | | | | | | | | b7f0327dcd Tests: Cover macOS host architecture selection on Apple Silicon hosts 5f882f6ce5 macOS: Offer control over host architecture on Apple Silicon hosts Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5589
| * macOS: Offer control over host architecture on Apple Silicon hostsBrad King2020-12-106-3/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit b6c60f14b6 (macOS: Default to arm64 architecture on Apple Silicon hosts, 2020-09-28, v3.19.0-rc1~63^2) we use `sysctl` to detect that we are running on Apple Silicon in a way that pierces Rosetta. This always sets `CMAKE_HOST_SYSTEM_PROCESSOR` to be `arm64` on such hosts. However, macOS offers strong support for running processes under an emulated `x86_64` architecture. Teach CMake to select either `arm64` or `x86_64` as the host architecture on Apple Silicon based on the architecture of its own process. When CMake is built as a universal binary, macOS will select whichever slice (architecture) is appropriate under the user's shell, and `CMAKE_HOST_SYSTEM_PROCESSOR` will match. Also offer a `CMAKE_APPLE_SILICON_PROCESSOR` variable and environment variable to provide users with explicit control over the host architecture selection regardless of CMake's own architecture. Finally, if `CMAKE_OSX_ARCHITECTURES` is not set, pass explicit flags to the toolchain to use selected host architecture instead of letting the toolchain pick. Fixes: #21554
* | Help: Clarify scope details of deferred call ids for cmake_language()Craig Scott2020-12-111-5/+12
| | | | | | Fixes: #21586
* | Help: Re-sort indexes in the manualsCraig Scott2020-12-113-60/+60
| |
* | Help: Mention how OPTIMIZE_DEPENDENCIES is initializedCraig Scott2020-12-111-0/+3
| |
* | Help: xref variable that cmake_minimum_required() setsCraig Scott2020-12-111-0/+3
|/ | | | | | | The CMAKE_MINIMUM_REQUIRED_VERSION has long been set by the cmake_minimum_required() command, but the command docs never mentioned this. Only the variable's own docs stated this but the variable isn't very discoverable without it being mentioned in the command's docs as well.
* ci: update macOS package to produce universal binariesBrad King2020-12-101-0/+9
| | | | | | | | Update our deployment target to macOS 10.10. This is required by Qt 5.9. Fixes: #21565 Issue: #20825
* Merge topic 'update_cmp112' into release-3.19Brad King2020-12-082-0/+4
|\ | | | | | | | | | | | | cf0c71dae3 Document CMP0112 covers $<TARGET_FILE_NAME,tgt> Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5582
| * Document CMP0112 covers $<TARGET_FILE_NAME,tgt>Robert Maynard2020-12-072-0/+4
| | | | | | | | Fixes #21559
* | Revert "Intel: Add Intel DPC++ compiler identification"Brad King2020-12-071-1/+0
| | | | | | | | | | | | | | | | | | | | Revert commit 887f3a88a6 (Intel: Add Intel DPC++ compiler identification, 2020-09-21, v3.19.0-rc1~124^2). The compiler has already been released, and is more usable with CMake by pretending to be upstream Clang than by identifying it as a compiler for which we have not implemented support. Fixes: #21551
* | Revert "Intel: Add Intel Clang compiler identification"Brad King2020-12-071-1/+0
| | | | | | | | | | | | | | | | | | | | Revert commit 5c3a93ab88 (Intel: Add Intel Clang compiler identification, 2020-09-29, v3.19.0-rc1~68^2). The compiler has already been released, and is more usable with CMake by pretending to be upstream Clang than by identifying it as a compiler for which we have not implemented support. Issue: #21551
* | Help: Fix presets typo (longDescription to displayName)Sam Freed2020-11-281-1/+1
|/
* Merge topic 'ctest_custom_versions' into release-3.19Brad King2020-11-2317-34/+0
|\ | | | | | | | | | | | | 6e7625989c Help: Fix `.. versionadded` directives for CTEST_CUSTOM_* variables Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5524
| * Help: Fix `.. versionadded` directives for CTEST_CUSTOM_* variablesNikita Nemkin2020-11-2117-34/+0
| | | | | | | | | | | | CTEST_CUSTOM_* variables predate 3.0, but the docs were only added in 3.4. Issue: #19715
* | CUDA: Clang CUDA 11.1 supportRaul Tambre2020-11-221-0/+2
|/ | | | | | | | | version.txt is gone from CUDA 11.1 installations, but the rest is the same. Instead of looking for version.txt look for <CUDA path>/nvvm/libdevice, which is the main thing that Clang requires (though it also checks for the existence of bin and include). Fixes #21353.
* Revert "specify language flag when source LANGUAGE property is set"Brad King2020-11-191-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | Revert commit 74b1c9fc8e (Explicitly specify language flag when source LANGUAGE property is set, 2020-06-01, v3.19.0-rc1~722^2) and the lookup tables from its two immediate ancestors. The purpose of that change was to convert an explicit `LANGUAGE` source file property into an explicit language specification compiler flag like `-x c`. This seems reasonable since the property is documented as meaning "indicate what programming language the source file is". It is also needed to help compilers deal with non-standard source file extensions they don't recognize. However, some projects have been setting `LANGUAGE C` on `.S` assembler source files to mean "use the C compiler". Passing `-x c` for them breaks the build because the `.S` sources are not written in C. These projects should be updated to use `enable_language(ASM)`, for which CMake often chooses the C compiler as the assembler when using toolchains that support it (which would have to be the case for projects using the approach). Revert the change for now to preserve the old behavior for such projects. We can re-introduce it with a policy in a future version of CMake. Fixes: #21469 Issue: #14516, #20716
* CTest: Rename CudaMemcheck to CudaSanitizerTobias Ribizel2020-11-172-6/+6
|
* Merge topic 'qtifw-archivegen' into release-3.19Brad King2020-11-131-0/+4
|\ | | | | | | | | | | | | 5ab75dd7dd CPack/IFW: Locate the archivegen utility Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5503
| * CPack/IFW: Locate the archivegen utilityErlend Egeberg Aasland2020-11-121-0/+4
| | | | | | | | Fixes: #21427
* | Merge topic 'doc-cstd' into release-3.19Brad King2020-11-132-4/+4
|\ \ | |/ |/| | | | | | | | | 48645cabe3 Help: MSVC now has C standard level flags Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5500
| * Help: MSVC now has C standard level flagsMichael Hirsch2020-11-122-4/+4
| |
* | Help: Fix `.. versionadded` directives in environment variable docsNikita Nemkin2020-11-1128-50/+6
| | | | | | | | | | | | | | | | Many environment variables were documented late and got assigned wrong versions by the script. (The whole Help/envvar section was only added in 3.10). Issue: #19715
* | Help/get_filename_component: clarify NAME_W[L]E summariesBen Boeckel2020-11-101-2/+2
|/ | | | | | There was an ambiguity in the wording with the meaning of "or" typically meaning exclusive-or in prose. Instead, ensure that the easiest parsing is clear that the directory part is always removed.
* Help: Add cuda-memcheck to CTest documentationTobias Ribizel2020-11-052-3/+17
| | | | Issue: #21388
* cmake_path: remove new command from 3.19Marc Chevrier2020-11-035-855/+3
| | | | | | | Defer adding this command until post-3.19 development so that it has more time to mature before being included in a release. Issue: #21385
* Merge topic 'fix-cuda-qnx' into release-3.19Brad King2020-11-031-0/+2
|\ | | | | | | | | | | | | | | | | 0832516bec Help: Add 3.19 release note about CUDA support on QNX bcdd486bf7 CUDA: Enable support on QNX Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Raul Tambre <raul@tambre.ee> Merge-request: !5446
| * Help: Add 3.19 release note about CUDA support on QNXBrad King2020-11-021-0/+2
| |
* | Merge topic 'string-json-doc-update' into release-3.19Craig Scott2020-10-301-10/+13
|\ \ | |/ |/| | | | | | | | | 49fce3373b Help: Clarify string(JSON) error handling Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5427
| * Help: Clarify string(JSON) error handlingPeter Steneteg2020-10-281-10/+13
| | | | | | | | Closes: #21355
* | Merge topic 'cmake_path-update-doc' into release-3.19Brad King2020-10-281-122/+127
|\ \ | | | | | | | | | | | | | | | | | | ec5951e078 cmake_path: Enhance documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5425
| * | cmake_path: Enhance documentationMarc Chevrier2020-10-261-122/+127
| |/
* | CMake GUI: Add --browse-manual argumentKyle Edwards2020-10-271-0/+4
| |
* | Merge topic 'cmake-presets-path-arg' into release-3.19Craig Scott2020-10-272-20/+17
|\ \ | |/ |/| | | | | | | | | b7d7eca66d CMakePresets.json: Rework how --preset argument is handled Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5416
| * CMakePresets.json: Rework how --preset argument is handledKyle Edwards2020-10-262-20/+17
| | | | | | | | | | | | | | | | If a path argument with no -S or -B leads to a cache directory, use that directory as the binary directory. Otherwise, use the binary directory from the preset. Fixes: #21311
* | Help: Cleanup typos and grammar for the 3.19 releaseCraig Scott2020-10-2411-78/+98
|/
* Merge topic 'cmake-presets-toolset-arch-config' into release-3.19Craig Scott2020-10-232-30/+68
|\ | | | | | | | | | | | | 64afabdbcb CMakePresets.json: Split cmakeGeneratorConfig field Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5387
| * CMakePresets.json: Split cmakeGeneratorConfig fieldKyle Edwards2020-10-222-30/+68
| | | | | | | | | | | | | | | | Make this field separate for both architecture and toolset. Allow architecture and toolset to be either strings or objects with value and strategy fields. Fixes: #21317
* | CMakePresets.json: Add ${sourceDirName} macroKyle Edwards2020-10-221-0/+5
|/ | | | Fixes: #21312
* CMakePresets.json: Allow boolean for cache variable valueKyle Edwards2020-10-212-6/+20
| | | | Fixes: #21327
* Help: Add JSON schema for CMakePresets.jsonBen McMorran2020-10-203-0/+251
|
* Help: Clarify purpose of warnings and errorsKyle Edwards2020-10-191-4/+4
|
* Help: Make architecture and toolset descriptions genericKyle Edwards2020-10-191-4/+4
|
* Help: Add inheritance to CMakePresets.json exampleKyle Edwards2020-10-191-0/+7
|
* Help: Add documentation for debug fieldKyle Edwards2020-10-191-0/+20
| | | | Oops!
* Help: Show environment fieldKyle Edwards2020-10-191-0/+4
|
* Help: Show multiple ways of doing cacheVariablesKyle Edwards2020-10-191-2/+3
| | | | | This demonstrates both the simple string and the complex object, and ensures that they get automated testing.
* Help: Move vendor field into exampleKyle Edwards2020-10-192-14/+12
| | | | | This ensures that the vendor field gets automated testing from the example.
* Help: s/unusedVars/unusedCli/Kyle Edwards2020-10-191-1/+1
| | | | | | This was a mistake in the documentation. Fixes: #21303