Brad King
3252bc4476
Merge topic 'tutorial_install_when_built_static'
...
0fdfd6bf37 Tutorial: Install correctly when built statically
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4906
2020-06-18 09:41:31 -04:00
Brad King
d7541e80ed
Merge topic 'tutorial_correct_step9_wording'
...
7c3204fc7d Tutorial: Correct Step9 wording
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4907
2020-06-18 09:40:38 -04:00
Brad King
65406b1cd7
Merge topic 'doc-relnotes'
...
4f6ce41446 Help: Fix order of FindCUDAToolkit entry in 3.18 release notes
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4910
2020-06-17 13:45:12 -04:00
Brad King
4f6ce41446
Help: Fix order of FindCUDAToolkit entry in 3.18 release notes
2020-06-17 11:28:31 -04:00
Brad King
55ade79ab8
Merge topic 'cuda_clang_limitations'
...
bdb105ee94 Help: Mention CUDA Clang limitations in 3.18 release notes
fec7dd33d3 CUDA: Add issue number to Clang separable compilation error
14163d7d6b CUDA: Throw error for Clang on Windows
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4903
2020-06-17 06:44:25 -04:00
Robert Maynard
7c3204fc7d
Tutorial: Correct Step9 wording
...
on some platforms -fPIC is implicit so you won't get an error
2020-06-16 15:43:32 -04:00
Robert Maynard
0fdfd6bf37
Tutorial: Install correctly when built statically
...
When built statically we failed to install the SqrtLibrary
2020-06-16 15:38:57 -04:00
Raul Tambre
bdb105ee94
Help: Mention CUDA Clang limitations in 3.18 release notes
2020-06-16 14:07:39 -04:00
Brad King
158c6511e0
Merge topic 'cmake-E-compare_files-exit-code'
...
b5b6075522 cmake: add dedicated error for -E compare_files invalid arguments
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4881
2020-06-16 09:09:32 -04:00
Brad King
f2c1debe40
Merge topic 'cpack-pre-and-post-scripts'
...
915409af49 CPack: Introduce pre- and post- build actions
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4846
2020-06-16 09:08:01 -04:00
Asit Dhal
b5b6075522
cmake: add dedicated error for -E compare_files invalid arguments
...
Return 2 when user provides invalid arguments
Fixes : #20815
2020-06-15 12:39:37 -04:00
Brad King
9d45a8be08
find_program: Find programs that are executable but not readable
...
This fix was first made by commit 86e6349ef7 (find_program: Find
programs that are executable but not readable, 2020-04-04,
v3.18.0-rc1~372^2) but was reverted for compatibility. Re-introduce it
with a policy for compatibility.
Fixes : #10468
2020-06-15 11:58:47 -04:00
Alex Turbov
915409af49
CPack: Introduce pre- and post- build actions
...
CPack learned the `CPACK_PRE_BUILD_SCRIPTS`, `CPACK_POST_BUILD_SCRIPTS`,
and `CPACK_PACKAGE_FILES` variables.
The first two are lists of scripts to perform
- after pre-install files into a staging directory and before
producing the resulting packages
- after produsing the packages
The post-build script(s) also get the list of actually produced
packages in the `CPACK_PACKAGE_FILES`.
Issue: #19077
2020-06-15 11:06:41 -04:00
Brad King
7fa5ea130b
Merge topic 'cuda_clang_toolkit_path' into release-3.18
...
ec59fb6c31 CUDA: Determine CUDA toolkit location for NVCC
0a056246a1 CUDA: Pass toolkit path to Clang
9c43972127 FindCUDAToolkit: Avoid unnecessary temporary variable computing binary dir
9eebb5b8b2 FindCUDAToolkit: Remove unnecessary checks around searches
8f01fe7bf1 FindCUDAToolkit: Use list(SORT) to sort in natural order
8c144fe9ad FindCUDAToolkit: Compute CUDAToolkit_INCLUDE_DIR instead of searching
403f8d31e3 FindCUDAToolkit: Add CUDAToolkit_LIBRARY_ROOT
6636693134 FindCUDAToolkit: Re-unify with Internal/CUDAToolkit
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4828
2020-06-15 09:25:29 -04:00
Brad King
5d710f2d11
Merge topic 'cuda_clang_toolkit_path'
...
ec59fb6c31 CUDA: Determine CUDA toolkit location for NVCC
0a056246a1 CUDA: Pass toolkit path to Clang
9c43972127 FindCUDAToolkit: Avoid unnecessary temporary variable computing binary dir
9eebb5b8b2 FindCUDAToolkit: Remove unnecessary checks around searches
8f01fe7bf1 FindCUDAToolkit: Use list(SORT) to sort in natural order
8c144fe9ad FindCUDAToolkit: Compute CUDAToolkit_INCLUDE_DIR instead of searching
403f8d31e3 FindCUDAToolkit: Add CUDAToolkit_LIBRARY_ROOT
6636693134 FindCUDAToolkit: Re-unify with Internal/CUDAToolkit
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4828
2020-06-15 09:25:29 -04:00
Brad King
e366317674
Merge topic 'cuda_architectures_disable'
...
877a92e968 CUDA: Add support for disabling CUDA_ARCHITECTURES
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4886
2020-06-15 09:24:37 -04:00
Raul Tambre
877a92e968
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
Brad King
9710790a39
Help/dev: Add maintainer guide step for initial post-release development
...
Document steps for deprecating old policy settings and future-proofing
export files generated by `install(EXPORT)`.
2020-06-13 11:44:04 +10:00
Raul Tambre
ec59fb6c31
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
403f8d31e3
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
Brad King
6f6651f728
Add deprecation warnings for policies CMP0072 and below
...
The OLD behaviors of all policies are deprecated, but only by
documentation. Add an explicit deprecation diagnostic for policies
introduced in CMake 3.11 and below to encourage projects to port away
from setting policies to OLD.
2020-06-12 11:04:56 -04:00
Brad King
068551cfb2
Merge topic 'cmake-gui-qt5-only'
...
4037beb747 QtDialog: remove Qt4 definition
ce9dbceb42 QtDialog: remove Qt4-only code
8ea50749da QtDialog: use Qt5's imported targets
4ccc9921be QtDialog: use qt5 functions for special Qt sources
e4d6015460 QtDialog: remove Qt4 support
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4836
2020-06-12 10:11:54 -04:00
Craig Scott
4587754705
Merge topic 'add-missing-test-args'
...
131b8cc8ae Help/dev: document other arguments to `Do: test`
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4870
2020-06-10 08:42:40 -04:00
Ben Boeckel
131b8cc8ae
Help/dev: document other arguments to Do: test
2020-06-09 11:12:05 -04:00
Brad King
4d9c42ff6d
Merge topic 'cpack-extern-update-package-list'
...
a6e1b20bab CPack External: Introduce `CPACK_EXTERNAL_BUILT_PACKAGES`
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4831
2020-06-09 09:25:19 -04:00
Craig Scott
b5d8e93732
Merge topic 'doc-gitlab-ci' into release-3.18
...
855ed80111 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
Craig Scott
1f1af33e50
Merge topic 'doc-gitlab-ci'
...
855ed80111 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
855ed80111
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
Craig Scott
0e3b72c2d2
Merge topic 'doc-testprop-DEPENDS-REQUIRED_FILES'
...
6b75175219 Help: Add example for REQUIRED_FILES test property
61139c91d2 Help: Add example for DEPENDS test property
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4853
2020-06-09 05:55:24 -04:00
Michael Hirsch
6b75175219
Help: Add example for REQUIRED_FILES test property
2020-06-09 09:20:23 +10:00
Michael Hirsch
61139c91d2
Help: Add example for DEPENDS test property
2020-06-09 09:04:04 +10:00
Alex Turbov
a6e1b20bab
CPack External: Introduce CPACK_EXTERNAL_BUILT_PACKAGES
...
The `CPACK_EXTERNAL_PACKAGE_SCRIPT` script may set this list variable to the
full paths of generated package files. CPack copy these files from the stage
directory back to the top build directory and possibly produce checksum files
if the `CPACK_PACKAGE_CHECKSUM` is set.
2020-06-05 08:56:32 -04:00
Ben Boeckel
e4d6015460
QtDialog: remove Qt4 support
2020-06-05 08:46:40 -04:00
Brad King
21218f5c12
Begin post-3.18 development
2020-06-05 08:34:10 -04:00
Brad King
47a47f5ce0
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
7cf278da55
Merge topic 'doc-3.18-relnotes'
...
389ca18289 Help: Organize and revise 3.18 release notes
ab6b5c01ea 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
35a192788f
Merge topic 'doc-EXCLUDE_FROM_ALL'
...
e262123fee Help: Clarify the effect of EXCLUDE_FROM_ALL on target installation
a09195e7bf 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
389ca18289
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
ab6b5c01ea
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
e262123fee
Help: Clarify the effect of EXCLUDE_FROM_ALL on target installation
2020-06-02 13:29:08 -04:00
Arcturus
a09195e7bf
Help: Rename 'artefact' to 'artifact' in target_precompile_headers
2020-06-02 13:26:38 -04:00
Marc Chevrier
056489d567
add_library/add_executable: allow local alias to imported targets
...
Fixes : #20641
2020-06-02 17:11:47 +02:00
Marc Chevrier
254f2b9058
Help: add_executable: Add TOC
2020-06-02 15:37:21 +02:00
Brad King
ec7b5f21ee
Merge topic 'doc-c-standard'
...
e8958d4742 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
855a7158ed
Merge topic 'target_link_libraries-self-link-is-an-error'
...
9436ad35df 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
e8958d4742
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
9436ad35df
target_link_libraries: self-link through ALIAS is an error
...
Fixes : #19617
2020-05-30 11:47:39 +02:00
Craig Scott
8aa4d51ec5
ExternalProject: Add missing release note for git update strategy
...
This release note was mistakenly omitted from commit 0aea435aa1
(ExternalProject: Provide choice of git update strategies, 2020-02-12).
2020-05-29 12:10:33 -04:00
Marc Chevrier
1eca5993e2
ALIAS target: cannot overwrite an existing target
...
Fixes : #19616
2020-05-28 12:56:59 -04:00
Brad King
340dcadb8b
Merge topic 'update-gitlab-links'
...
eb705b9531 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