Sam Freed
ca289abea5
Help: Fix presets typo (longDescription to displayName)
2020-11-28 16:32:31 +11:00
Brad King
d1b6879ece
Merge topic 'ctest_custom_versions' into release-3.19
...
6e7625989c Help: Fix `.. versionadded` directives for CTEST_CUSTOM_* variables
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5524
2020-11-23 11:24:22 -05:00
Raul Tambre
440dc98b07
CUDA: Clang CUDA 11.1 support
...
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 .
2020-11-22 11:30:01 +02:00
Nikita Nemkin
6e7625989c
Help: Fix .. versionadded directives for CTEST_CUSTOM_* variables
...
CTEST_CUSTOM_* variables predate 3.0, but the docs were only added in 3.4.
Issue: #19715
2020-11-22 03:15:45 +05:00
Brad King
30aa715fac
Revert "specify language flag when source LANGUAGE property is set"
...
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
2020-11-19 17:06:03 -05:00
Tobias Ribizel
fea49b2df0
CTest: Rename CudaMemcheck to CudaSanitizer
2020-11-17 21:06:30 +01:00
Brad King
c35c4ae85c
Merge topic 'qtifw-archivegen' into release-3.19
...
5ab75dd7dd CPack/IFW: Locate the archivegen utility
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5503
2020-11-13 09:45:32 -05:00
Brad King
ddd6979aab
Merge topic 'doc-cstd' into release-3.19
...
48645cabe3 Help: MSVC now has C standard level flags
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5500
2020-11-13 09:43:07 -05:00
Erlend Egeberg Aasland
5ab75dd7dd
CPack/IFW: Locate the archivegen utility
...
Fixes : #21427
2020-11-12 21:22:53 +01:00
Michael Hirsch
48645cabe3
Help: MSVC now has C standard level flags
2020-11-12 09:41:24 -05:00
Nikita Nemkin
5934a6275c
Help: Fix .. versionadded directives in environment variable docs
...
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
2020-11-11 20:38:18 +05:00
Ben Boeckel
c0e05671d3
Help/get_filename_component: clarify NAME_W[L]E summaries
...
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.
2020-11-10 10:06:24 -05:00
Tobias Ribizel
e620bb7293
Help: Add cuda-memcheck to CTest documentation
...
Issue: #21388
2020-11-05 10:05:01 -05:00
Marc Chevrier
1c912056a1
cmake_path: remove new command from 3.19
...
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
2020-11-03 09:55:35 -05:00
Brad King
37d75e5fdd
Merge topic 'fix-cuda-qnx' into release-3.19
...
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
2020-11-03 07:22:54 -05:00
Brad King
0832516bec
Help: Add 3.19 release note about CUDA support on QNX
2020-11-02 09:39:36 -05:00
Craig Scott
604fa62c01
Merge topic 'string-json-doc-update' into release-3.19
...
49fce3373b Help: Clarify string(JSON) error handling
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5427
2020-10-30 07:15:40 -04:00
Peter Steneteg
49fce3373b
Help: Clarify string(JSON) error handling
...
Closes : #21355
2020-10-28 23:09:24 +11:00
Brad King
f48e32178f
Merge topic 'cmake_path-update-doc' into release-3.19
...
ec5951e078 cmake_path: Enhance documentation
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5425
2020-10-28 07:43:37 -04:00
Kyle Edwards
ef03124237
CMake GUI: Add --browse-manual argument
2020-10-27 12:05:41 -04:00
Craig Scott
698851cdb7
Merge topic 'cmake-presets-path-arg' into release-3.19
...
b7d7eca66d CMakePresets.json: Rework how --preset argument is handled
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5416
2020-10-27 07:33:45 -04:00
Marc Chevrier
ec5951e078
cmake_path: Enhance documentation
2020-10-26 13:10:37 +01:00
Kyle Edwards
b7d7eca66d
CMakePresets.json: Rework how --preset argument is handled
...
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
2020-10-26 22:32:45 +11:00
Craig Scott
95c14579f2
Help: Cleanup typos and grammar for the 3.19 release
2020-10-24 22:58:42 +11:00
Craig Scott
5e1858c0c2
Merge topic 'cmake-presets-toolset-arch-config' into release-3.19
...
64afabdbcb CMakePresets.json: Split cmakeGeneratorConfig field
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5387
2020-10-23 06:37:56 -04:00
Kyle Edwards
64afabdbcb
CMakePresets.json: Split cmakeGeneratorConfig field
...
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
2020-10-22 11:24:39 -04:00
Kyle Edwards
25742c589c
CMakePresets.json: Add ${sourceDirName} macro
...
Fixes : #21312
2020-10-22 11:09:28 -04:00
Kyle Edwards
920d180047
CMakePresets.json: Allow boolean for cache variable value
...
Fixes : #21327
2020-10-21 10:37:08 -04:00
Ben McMorran
0307f7c980
Help: Add JSON schema for CMakePresets.json
2020-10-20 12:07:09 -04:00
Kyle Edwards
4a123fc28c
Help: Clarify purpose of warnings and errors
2020-10-19 10:29:19 -04:00
Kyle Edwards
6c74bcfc20
Help: Make architecture and toolset descriptions generic
2020-10-19 10:29:19 -04:00
Kyle Edwards
45766789a0
Help: Add inheritance to CMakePresets.json example
2020-10-19 10:29:19 -04:00
Kyle Edwards
88c9d6f6eb
Help: Add documentation for debug field
...
Oops!
2020-10-19 10:25:57 -04:00
Kyle Edwards
efab856008
Help: Show environment field
2020-10-19 10:25:57 -04:00
Kyle Edwards
2208db114c
Help: Show multiple ways of doing cacheVariables
...
This demonstrates both the simple string and the complex object,
and ensures that they get automated testing.
2020-10-19 10:25:57 -04:00
Kyle Edwards
d30f85193f
Help: Move vendor field into example
...
This ensures that the vendor field gets automated testing from the
example.
2020-10-19 10:25:57 -04:00
Kyle Edwards
b9c8c57860
Help: s/unusedVars/unusedCli/
...
This was a mistake in the documentation.
Fixes : #21303
2020-10-19 10:25:57 -04:00
Kyle Edwards
c436aaaad1
Help: Move CMakePresets.json documentation into a separate file
2020-10-19 10:25:57 -04:00
Brad King
5c3a91c808
CMP0111: Clarify that the new error is on a missing property setting
...
The previous wording could be confused with the file missing on disk.
2020-10-16 08:26:00 -04:00
Kyle Edwards
7d811ceb3a
Help: Fix invalid code-block in cmake(1) manual
...
Fixes : #21304
2020-10-14 09:47:28 -04:00
Brad King
ce6f9610b3
Merge topic 'FindPython-Apple-python3' into release-3.19
...
5772ca0a53 FindPython: Ensure Apple Xcode python 3 is usable
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5356
2020-10-13 08:26:14 -04:00
Kyle Edwards
55fce4425f
Merge topic 'cmake-presets-documentation-fix' into release-3.19
...
94c955e508 Tests: Test the CMakePresets.json example in the documentation
d6af1e83bc Help: Fix documentation of CMakePresets.json's cacheVariables
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5353
2020-10-12 14:04:41 -04:00
Marc Chevrier
5772ca0a53
FindPython: Ensure Apple Xcode python 3 is usable
...
The python 3 distributed as part of Xcode requires the specification
of a 'rpath' pointing at frameowrks root for a correct execution.
Fixes : #21293
2020-10-12 15:45:55 +02:00
Kyle Edwards
94c955e508
Tests: Test the CMakePresets.json example in the documentation
2020-10-09 15:35:54 -04:00
Kyle Edwards
18372afcd4
Help: Fix documentation for Ninja Multi-Config's build.ninja
2020-10-09 13:50:36 -04:00
Kyle Edwards
d6af1e83bc
Help: Fix documentation of CMakePresets.json's cacheVariables
...
cacheVariables is a map with variable names as the keys, but the
example in the documentation was not updated to reflect this. Fix
the example.
2020-10-09 11:41:47 -04:00
Brad King
b16eb7c76d
Help: Drop development topic notes to prepare release
...
Release versions do not have the development topic section of
the CMake Release Notes index page.
2020-10-08 11:22:38 -04:00
Brad King
e1ab55b4ca
Help: Update Sphinx versionadded directives for 3.19 release
...
Run the script:
Utilities/Sphinx/update_versions.py --since v3.18.0 --overwrite
2020-10-08 09:30:26 -04:00
Brad King
1b6c0b375e
Help: Organize and revise 3.19 release notes
...
Add section headers similar to the 3.18 release notes and move each
individual bullet into an appropriate section. Revise a few bullets.
2020-10-08 09:30:25 -04:00
Brad King
b81cb27f20
Help: Consolidate 3.19 release notes
...
Run the `Utilities/Release/consolidate-relnotes.bash` script to move
notes from `Help/release/dev/*` into `Help/release/3.19.rst`.
2020-10-08 09:30:25 -04:00