Commit Graph

4416 Commits

Author SHA1 Message Date
Brad King fdacbbf6c4 Merge topic 'file-ARCHIVE-files-dirs' into release-3.18
e9d2f06800 file(ARCHIVE*): Collapse FILES and DIRECTORY options

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4955
2020-07-01 07:00:42 -04:00
Kyle Edwards 4d2f1af9d5 Help: Update FileAPI codemodel version to 2.1, add release notes
This fixes the documentation which should have been fixed in 2f9729df.
2020-06-30 14:04:13 -04:00
Brad King c78a9ed810 Merge topic 'file-CONFIGURE-subdir' into release-3.18
141ed4e1a1 file: Fix CONFIGURE output relative path

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4951
2020-06-30 08:04:07 -04:00
Craig Scott e9d2f06800 file(ARCHIVE*): Collapse FILES and DIRECTORY options
The two options were concatenated internally for both ARCHIVE_CREATE
and ARCHIVE_EXTRACT. The distinction between files and dirs was not
meaningful. Therefore, replace them with PATHS or PATTERNS 
to more accurately describe the way the options are used.

Fixes: #20884
2020-06-30 22:01:35 +10:00
Brad King 141ed4e1a1 file: Fix CONFIGURE output relative path
In commit b16750f2d2 (file: Add CONFIGURE subcommand, 2020-03-06,
v3.18.0-rc1~584^2) we accidentally treated relative path outputs
with respect to the current working directory.  Treat them with
respect to the current binary directory instead.

Fixes: #20885
2020-06-29 09:20:42 -04:00
Craig Scott 75232c3f5a file(ARCHIVE_CREATE): Rename TYPE option to COMPRESSION
Fixes: #20883
2020-06-27 18:38:28 +10:00
Craig Scott 5031f4904a Help: Fix contents indenting for file(ARCHIVE_...) subcommands 2020-06-27 16:33:29 +10:00
Craig Scott 4d19db2c88 Help: Add CMAKE_GTEST_DISCOVER_TESTS_DISCOVERY_MODE to release notes 2020-06-24 23:19:06 +10:00
Brad King c4bc76e1d4 Merge topic 'doc-get_target_property' into release-3.18
779a509d85 Help: Update docs for failure result of get_target_property

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4933
2020-06-23 08:50:54 -04:00
Christopher Tetreault 779a509d85 Help: Update docs for failure result of get_target_property
If `get_target_property` fails to find a value for a non-inherited
property, it appends `-NOTFOUND` to the var name and sets that as the
result, rather than setting the value of the var to `NOTFOUND`.
2020-06-23 08:17:59 -04:00
Brad King 4fb9483b60 Merge topic 'improve_device_link_policy_cross_ref' into release-3.18
ca2fc4263c Help: Better document that CMP0105 controls DEVICE_LINK parsing

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4919
2020-06-18 12:45:27 -04:00
Robert Maynard ca2fc4263c Help: Better document that CMP0105 controls DEVICE_LINK parsing 2020-06-18 12:07:26 -04:00
Craig Scott 14ac7e82bd Help: Explicitly say transaction, don't abbreviate to trans
The release notes need to make sense to people not so familiar with
each item. For those less familiar with RPM, spelling out "transaction"
makes this line item much clearer in isolation.
2020-06-18 20:43:46 +10:00
Craig Scott cf1010f71b Help: Correct and condense examples for VS_SOLUTION_DEPLOY 2020-06-18 20:43:46 +10:00
Craig Scott 8c3b02c3f3 Help: Add missing cross-referencing for generator expressions 2020-06-18 20:43:46 +10:00
Craig Scott 6ba04f157a Help: Formatting, crossref for FRAMEWORK_MULTI_CONFIG_POSTFIX_<CONFIG> 2020-06-18 20:43:46 +10:00
Craig Scott 83df16dee7 Help: Add missing PCH_WARN_INVALID docs and related cleanups 2020-06-18 20:26:03 +10:00
Brad King 540f23753b Help: Fix order of FindCUDAToolkit entry in 3.18 release notes 2020-06-17 11:28:31 -04:00
Raul Tambre 5a5d38f464 Help: Mention CUDA Clang limitations in 3.18 release notes 2020-06-16 14:07:39 -04:00
Brad King ad6f2db200 Merge topic 'cuda_clang_toolkit_path' into release-3.18
6ad5c355c2 CUDA: Determine CUDA toolkit location for NVCC
4c5ad32dfa CUDA: Pass toolkit path to Clang
4d1a891fc6 FindCUDAToolkit: Avoid unnecessary temporary variable computing binary dir
6c7ed80393 FindCUDAToolkit: Remove unnecessary checks around searches
3260eb15d3 FindCUDAToolkit: Use list(SORT) to sort in natural order
6aed80d514 FindCUDAToolkit: Compute CUDAToolkit_INCLUDE_DIR instead of searching
a0f0906e26 FindCUDAToolkit: Add CUDAToolkit_LIBRARY_ROOT
8442620c33 FindCUDAToolkit: Re-unify with Internal/CUDAToolkit

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4828
2020-06-15 09:25:29 -04:00
Raul Tambre 55ab4c97e7 CUDA: Add support for disabling CUDA_ARCHITECTURES
The ability to disable adding architectures completely for packaging purposes
and cases requiring passing the architectures flags explicitly has been
requested.
Support a false value for CUDA_ARCHITECTURES and CMAKE_CUDA_ARCHITECTURES
for this purpose.

Implements #20821.
2020-06-15 09:13:32 -04:00
Raul Tambre 6ad5c355c2 CUDA: Determine CUDA toolkit location for NVCC
Similar to how we already do for Clang. Avoids a lot of redundant work in
FindCUDAToolkit.
2020-06-12 23:13:57 +03:00
Raul Tambre a0f0906e26 FindCUDAToolkit: Add CUDAToolkit_LIBRARY_ROOT
On scattered installations version.txt and nvvm are located at this location.
This may be useful to users and will allow us in the future to parse
version.txt instead of invoking nvcc to figure out the CUDA toolkit version.

We also add it to CMakeDetermineCUDACompiler in preparation for future use by
Clang code.
2020-06-12 21:49:15 +03:00
Ben Boeckel 05ffe59702 Help/dev: document other arguments to Do: test 2020-06-09 11:12:05 -04:00
Craig Scott 4de140a52b Merge topic 'doc-gitlab-ci' into release-3.18
0d0583ac00 Help/dev: Update CMake Review Process document for GitLab CI

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4865
2020-06-09 07:59:45 -04:00
Brad King 0d0583ac00 Help/dev: Update CMake Review Process document for GitLab CI
We have replaced use of `buildbot` with GitLab CI.  Update the
relevant section of our review process documentation.
2020-06-09 07:54:22 -04:00
Michael Hirsch 6f7cb7ac89 Help: Add example for REQUIRED_FILES test property 2020-06-09 09:20:23 +10:00
Michael Hirsch 4d810b58f6 Help: Add example for DEPENDS test property 2020-06-09 09:04:04 +10:00
Brad King 6dbb28a502 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-06-05 08:33:59 -04:00
Brad King 8f925b7481 Merge topic 'doc-3.18-relnotes'
364ed79e48 Help: Organize and revise 3.18 release notes
81d68b2da0 Help: Consolidate 3.18 release notes

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4845
2020-06-05 08:22:18 -04:00
Brad King 0482fde5dd Merge topic 'doc-EXCLUDE_FROM_ALL'
93ad3a87d4 Help: Clarify the effect of EXCLUDE_FROM_ALL on target installation
8a3adb9f72 Help: Rename 'artefact' to 'artifact' in target_precompile_headers

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4840
2020-06-03 07:48:13 -04:00
Brad King 364ed79e48 Help: Organize and revise 3.18 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-06-03 06:22:15 -04:00
Brad King 81d68b2da0 Help: Consolidate 3.18 release notes
Run the `Utilities/Release/consolidate-relnotes.bash` script to move
notes from `Help/release/dev/*` into `Help/release/3.18.rst`.
2020-06-03 06:17:54 -04:00
Arcturus 93ad3a87d4 Help: Clarify the effect of EXCLUDE_FROM_ALL on target installation 2020-06-02 13:29:08 -04:00
Arcturus 8a3adb9f72 Help: Rename 'artefact' to 'artifact' in target_precompile_headers 2020-06-02 13:26:38 -04:00
Marc Chevrier 74f0f19824 add_library/add_executable: allow local alias to imported targets
Fixes: #20641
2020-06-02 17:11:47 +02:00
Marc Chevrier 2066f6cb17 Help: add_executable: Add TOC 2020-06-02 15:37:21 +02:00
Brad King 9c9cbdc92f Merge topic 'doc-c-standard'
568e229b7c Help: Clarify that no version of MSVC today support C standard levels

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4830
2020-06-02 08:01:40 -04:00
Brad King 78155da034 Merge topic 'target_link_libraries-self-link-is-an-error'
1e81e8defe target_link_libraries: self-link through ALIAS is an error

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4826
2020-06-02 07:53:40 -04:00
Hong Xu 568e229b7c Help: Clarify that no version of MSVC today support C standard levels
The current description sounds as if MSVC later than 2015 update 3
support C standard level, which is not true. This patch clarifies MSVC
support.
2020-06-01 10:51:34 -04:00
Marc Chevrier 1e81e8defe target_link_libraries: self-link through ALIAS is an error
Fixes: #19617
2020-05-30 11:47:39 +02:00
Craig Scott 5192a21ecc ExternalProject: Add missing release note for git update strategy
This release note was mistakenly omitted from commit 5f1ba2e390
(ExternalProject: Provide choice of git update strategies, 2020-02-12).
2020-05-29 12:10:33 -04:00
Marc Chevrier a6c3d3dd72 ALIAS target: cannot overwrite an existing target
Fixes: #19616
2020-05-28 12:56:59 -04:00
Brad King 68f0331748 Merge topic 'update-gitlab-links'
b6079f3905 Update links to gitlab.kitware.com repos to add `-/`

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Ben Boeckel <ben.boeckel@kitware.com>
Merge-request: !4795
2020-05-27 08:21:20 -04:00
Brad King c4a282ec19 Merge topic 'cmake_language-check-invalid-commands'
f1a1d6e8fa cmake_language: check CALL with control command

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4788
2020-05-27 08:17:49 -04:00
Brad King b6079f3905 Update links to gitlab.kitware.com repos to add -/
GitLab now uses a `/-/` component between the `group/project` part of
the URL and the `{issues,merge_requests,tree}` part so that it can
support `group/subgroup/project` with arbitrary depth.
2020-05-26 11:38:01 -04:00
Marc Chevrier f1a1d6e8fa cmake_language: check CALL with control command
Fixes: #20739
2020-05-26 07:27:35 -04:00
Brad King aa023c3131 Merge topic 'doc-updates'
0ee0c655cb Help: clarify add_definitions() and add_compile_definitions() behavior

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4786
2020-05-25 15:50:18 -04:00
Brad King 83b44b7ed3 Merge topic 'CheckLinkerFlag-module'
05c271bf4d CheckLinkerFlag: Add module to check validity of linker flags
9f1ed93438 Tests: Extend Fortran compiler information

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4777
2020-05-25 10:59:01 -04:00
Marc Chevrier 05c271bf4d CheckLinkerFlag: Add module to check validity of linker flags
Fixes: #15934
2020-05-25 10:57:14 -04:00