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
961ca77a7a
Merge topic 'gitlab-ci-ninja-multi'
...
e1b2c0108f
gitlab-ci: add a Ninja Multi-Config test job
1e8ecfccdd
gitlab-ci: also build ncurses and Qt code on Linux
95721f0a82
ci: install ncurses and Qt development into the Fedora 31 image
ed2fe558b0
CursesDialog: resolve clang-tidy warnings
44f1744bed
QtDialog: avoid using deprecated APIs
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4832
2020-06-02 09:17:24 -04:00
Brad King
a432b1075c
Merge topic 'getdef-expand'
...
7ed8c9ebe3
cmMakefile: add GetDefExpandList() that splits value into std::vector
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4819
2020-06-02 08:02:24 -04: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
fff14290d2
Merge topic 'cmprop'
...
b36d1bdd9d
Single location for cmProp typedef
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4829
2020-06-02 08:00:55 -04:00
Brad King
75a34b1214
Merge topic 'UseSWIG-note-dep-strategy'
...
1f543b23a8
UseSWIG: note dependency behavior for Make generators
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4834
2020-06-02 08:00:07 -04:00
Brad King
a0c4c27443
Merge topic 'macos-sdk-libraries'
...
444dbd40de
Darwin: honour `CMAKE_OSX_SYSROOT` more faithfully
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4779
2020-06-02 07:57:07 -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
Brad King
1b0b0c6427
Merge topic 'getdef-nodups'
...
1e805f53f5
GetDefinition: avoid duplicate calls
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4824
2020-06-02 07:52:14 -04:00
Ben Boeckel
e1b2c0108f
gitlab-ci: add a Ninja Multi-Config test job
...
This reuses the Ninja generator's tested build.
2020-06-02 07:40:00 -04:00
Ben Boeckel
1e8ecfccdd
gitlab-ci: also build ncurses and Qt code on Linux
2020-06-02 07:37:56 -04:00
Ben Boeckel
95721f0a82
ci: install ncurses and Qt development into the Fedora 31 image
2020-06-02 07:37:56 -04:00
Ben Boeckel
ed2fe558b0
CursesDialog: resolve clang-tidy warnings
...
Fixes:
- unnecessary bool expression (cmCursesMainForm)
- removes a duplicate if/else branch (RegexExplorer)
- collapses redundant if/else branch logic (CMakeSetupDialog and
cmCursesStringWidget)
2020-06-02 07:37:56 -04:00
Ben Boeckel
44f1744bed
QtDialog: avoid using deprecated APIs
2020-06-02 07:37:56 -04:00
Brad King
6950706ca0
Merge topic 'asm-preprocessor-flag'
...
97fa63c09b
ASM: Fix preprocessor definition flags for GNU 'as' tool
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4838
2020-06-02 06:39:44 -04:00
Brad King
241dde8de0
Merge topic 'test-fs-time-resolution'
...
37bf7eb7a6
Tests: Skip RunCMake.try_compile RerunCMake-nowork case on 1s filesystems
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4816
2020-06-02 06:29:12 -04:00
Kitware Robot
06f9be47b8
CMake Nightly Date Stamp
2020-06-02 00:01:19 -04:00
Kyle Edwards
97fa63c09b
ASM: Fix preprocessor definition flags for GNU 'as' tool
...
Fixes : #20780
2020-06-01 14:43:37 -04:00
Brad King
37bf7eb7a6
Tests: Skip RunCMake.try_compile RerunCMake-nowork case on 1s filesystems
...
On low-resolution filesystems, `Makefile` can end up with the same
time stamp as `CMakeCache.txt`. CMake must re-run in this case to
be conservative, but that invalidates the `-nowork` cases.
Rather than trying to detect 1s filesystems, just add an option
called `CMake_TEST_FILESYSTEM_1S` that external scripts can use
to tell CMake's test suite about this.
2020-06-01 13:42:16 -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
Ben Boeckel
1f543b23a8
UseSWIG: note dependency behavior for Make generators
...
See: #20067
2020-06-01 10:09:56 -04:00
Brad King
1d2c8ae209
Merge branch 'release-3.17'
2020-06-01 09:31:51 -04:00
Brad King
20ca1c018f
Merge branch 'release-3.16' into release-3.17
2020-06-01 09:31:13 -04:00
Brad King
066e2fa82c
Merge branch 'release-3.16'
2020-06-01 09:02:34 -04:00
Vitaly Stakhovsky
b36d1bdd9d
Single location for cmProp typedef
2020-06-01 08:54:20 -04:00
Brad King
39c6ac5112
CMake 3.16.8
v3.16.8
2020-06-01 07:56:25 -04:00
Brad King
6f5f87966b
Merge topic 'fc-ep-git-update-strategy'
...
8aa4d51ec5
ExternalProject: Add missing release note for git update strategy
1236590507
FetchContent: Pass through CMAKE_EP_GIT_REMOTE_UPDATE_STRATEGY if set
e71c2807ba
ExternalProject: Remote checkout needs to include the remote name
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4818
2020-06-01 07:49:14 -04:00
Brad King
e773892ccb
Merge topic 'non-coverage-lines'
...
ed6d20ddcb
CTest: Handle non-coverage lines in gcov files
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4822
2020-06-01 07:48:25 -04:00
Brad King
5dfb4dc2d1
Merge topic 'cuda_user_architectures_nvcc'
...
650c1029a0
CUDA: Detect non-working user-specified architectures on NVCC
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4814
2020-06-01 07:47:30 -04:00
Brad King
43238877d4
Merge branch 'release-3.16'
2020-06-01 07:45:37 -04:00
Brad King
6a9441058e
Merge branch 'release-3.17'
2020-06-01 07:44:35 -04:00
Brad King
3020decbff
Merge topic 'pch-fix-bad-ClearSourcesCache'
...
902858367f
Merge branch 'backport-3.16-pch-fix-bad-ClearSourcesCache'
fa7b041eca
PCH: Fix logic error that incorrectly clears sources during VS generation
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4815
2020-06-01 07:44:35 -04:00
Brad King
f671372735
Merge topic 'pch-fix-bad-ClearSourcesCache' into release-3.17
...
902858367f
Merge branch 'backport-3.16-pch-fix-bad-ClearSourcesCache'
fa7b041eca
PCH: Fix logic error that incorrectly clears sources during VS generation
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4815
2020-06-01 07:44:34 -04:00
Brad King
b763a5e325
Merge branch 'release-3.17'
2020-06-01 07:36:50 -04:00
Brad King
8cf2e1de22
Merge topic 'ninja-multi-export-all-symbols'
...
6fc4bfa11c
Ninja Multi-Config: Fix bug in CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Alex Reinking <alex_reinking@berkeley.edu >
Merge-request: !4825
2020-06-01 07:36:50 -04:00
Brad King
70b8a2863f
Merge topic 'ninja-multi-export-all-symbols' into release-3.17
...
6fc4bfa11c
Ninja Multi-Config: Fix bug in CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Alex Reinking <alex_reinking@berkeley.edu >
Merge-request: !4825
2020-06-01 07:36:49 -04:00
Kitware Robot
14e25d991b
CMake Nightly Date Stamp
2020-06-01 00:01:14 -04:00
Kitware Robot
6e7230f7dd
CMake Nightly Date Stamp
2020-05-31 00:01:13 -04:00
Saleem Abdulrasool
444dbd40de
Darwin: honour CMAKE_OSX_SYSROOT
more faithfully
...
The libraries in the SDK should be given precedence over the system
libraries. Check for the default library search path (in default order)
of `/usr/lib` and `/usr/local/lib` and use these as system prefix paths
for libraries when performing the link step against a specified SDK.
2020-05-30 20:32:38 -07:00
Vitaly Stakhovsky
7ed8c9ebe3
cmMakefile: add GetDefExpandList() that splits value into std::vector
...
Combines cmMakefile:GetDefinition() and cmExpandList()
2020-05-30 08:59:20 -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
Kitware Robot
67dd687657
CMake Nightly Date Stamp
2020-05-30 00:01:21 -04:00
Kyle Edwards
6fc4bfa11c
Ninja Multi-Config: Fix bug in CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS
...
Fixes : #20775
2020-05-29 15:28:43 -04:00
Brad King
6bb20b51c9
Merge topic 'gitlab-ci-concurrency-tags'
...
0eebd0a0e3
gitlab-ci: pin macOS and Windows jobs to nonconcurrent runners
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Robert Maynard <robert.maynard@kitware.com >
Acked-by: Ben Boeckel <ben.boeckel@kitware.com >
Merge-request: !4823
2020-05-29 13:36:06 -04:00
Vitaly Stakhovsky
1e805f53f5
GetDefinition: avoid duplicate calls
2020-05-29 13:12:22 -04: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
Craig Scott
1236590507
FetchContent: Pass through CMAKE_EP_GIT_REMOTE_UPDATE_STRATEGY if set
...
This was missed when the initial support was added in
commit 0aea435aa1
(ExternalProject: Provide choice of
git update strategies, 2020-02-12)
2020-05-29 12:10:32 -04:00
Craig Scott
e71c2807ba
ExternalProject: Remote checkout needs to include the remote name
...
Commit 0aea435aa1
(ExternalProject: Provide choice of
git update strategies, 2020-02-12) added the git update
strategies, but the CHECKOUT strategy was not handling
remote refs correctly. The local ref would be checked out
instead and no warning or error would have been emitted.
The test that should have caught this was also malformed
and did not actually move the local master branch as intended.
2020-05-29 12:10:32 -04:00
Raul Tambre
650c1029a0
CUDA: Detect non-working user-specified architectures on NVCC
...
Extend the improved error message added for Clang by commit 19cc5bc296
(CUDA: Throw error if user-specified architectures don't work,
2020-05-26) to cover NVCC as well.
Also fix the error incorrectly being thrown if the user-specified list
differed in order to the architectures parsed from the compiler output.
Implements: #20757
2020-05-29 11:55:47 -04:00