Commit Graph

50237 Commits

Author SHA1 Message Date
Kitware Robot
586cce897b CMake Nightly Date Stamp 2020-10-12 00:01:19 -04:00
Kitware Robot
dda897234b CMake Nightly Date Stamp 2020-10-11 00:01:07 -04:00
Kitware Robot
a4958a6f28 CMake Nightly Date Stamp 2020-10-10 00:01:15 -04:00
Kyle Edwards
521847809f Merge topic 'ci-long-names'
544ee0edc0 CI: Add a long filename to a build

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5354
2020-10-09 14:44:30 -04:00
Kyle Edwards
544ee0edc0 CI: Add a long filename to a build
Nightly testing occasionally uncovers problems around long filenames
that were not found during gitlab-ci testing. Give a GitLab runner
a long filename to detect such problems.
2020-10-09 13:13:52 -04:00
Brad King
6ee22a56bc Merge branch 'release-3.19' 2020-10-09 09:40:04 -04:00
Brad King
c6e4d97425 Merge topic 'iwyu-map-cm-headers'
06c0d59c17 IWYU: Map <*> headers to <cm/*> headers

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5327
2020-10-09 09:40:04 -04:00
Brad King
3fb2112880 Merge topic 'iwyu-map-cm-headers' into release-3.19
06c0d59c17 IWYU: Map <*> headers to <cm/*> headers

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5327
2020-10-09 09:40:03 -04:00
Brad King
2fe2a007de Merge branch 'release-3.19' 2020-10-09 09:38:20 -04:00
Brad King
5f2e1f2f3d Merge topic 'GNUInstallDirs-debian' into release-3.19
798c1c3192 GNUInstallDirs: Comply with Debian Policy on LIBEXECDIR
75bcd3cf54 Tests: Add RunCMake.GNUInstallDirs expected output specific to Debian

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5349
2020-10-09 09:38:20 -04:00
Brad King
ab29036620 Merge topic 'GNUInstallDirs-debian'
798c1c3192 GNUInstallDirs: Comply with Debian Policy on LIBEXECDIR
75bcd3cf54 Tests: Add RunCMake.GNUInstallDirs expected output specific to Debian

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5349
2020-10-09 09:38:20 -04:00
Kitware Robot
dabce5dcee CMake Nightly Date Stamp 2020-10-09 00:01:18 -04:00
Brad King
c960674e24 Merge topic 'refactor-custom-command-output-lookup'
953f4d503d cmMakefile: Consolidate CreateGenerated{Outputs,Byproducts}
0090a11a42 cmLocalGenerator: Migrate custom command output lookup from cmMakefile
26464da5d3 cmMakefile: Drop unnecessary custom command APPEND check

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5347
2020-10-08 14:27:22 -04:00
Kyle Edwards
06c0d59c17 IWYU: Map <*> headers to <cm/*> headers
For headers which exclusively contain things that were not present
in C++11.
2020-10-08 13:40:21 -04:00
Brad King
953f4d503d cmMakefile: Consolidate CreateGenerated{Outputs,Byproducts}
The implementations of these two methods are now identical,
so combine them.
2020-10-08 12:20:34 -04:00
Brad King
0090a11a42 cmLocalGenerator: Migrate custom command output lookup from cmMakefile
Since commit 777ceaea94 (cmMakefile: Delay custom command creation,
2019-10-17, v3.17.0-rc1~352^2) we process custom command declarations at
generate time.  Therefore we do not need to look up what source file
holds the custom command producing a given output until generate time.
2020-10-08 12:20:33 -04:00
Brad King
26464da5d3 cmMakefile: Drop unnecessary custom command APPEND check
Since commit 777ceaea94 (cmMakefile: Delay custom command creation,
2019-10-17, v3.17.0-rc1~352^2) we process custom command declarations
at generate time.  This includes the append-to-non-existing-command
check, so we do not need it at configure time.
2020-10-08 12:20:33 -04:00
Brad King
488141fe37 Merge topic 'rel-3.19-policy-settings' into release-3.19
ac765f5eff FetchContent: Remove unnecessary policy CMP0114 setting
62e73a7d10 Tests: Fix policy version in RunCMake.ExternalProject test

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5350
2020-10-08 12:19:10 -04:00
Brad King
142a29b46f Merge branch 'release-3.19' 2020-10-08 12:19:10 -04:00
Brad King
1313433adf Merge topic 'rel-3.19-policy-settings'
ac765f5eff FetchContent: Remove unnecessary policy CMP0114 setting
62e73a7d10 Tests: Fix policy version in RunCMake.ExternalProject test

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5350
2020-10-08 12:19:10 -04:00
Brad King
ac765f5eff FetchContent: Remove unnecessary policy CMP0114 setting
Now that `CMAKE_VERSION` is at least 3.19, the policy will be set to NEW
implicitly by the version.
2020-10-08 11:59:05 -04:00
Brad King
62e73a7d10 Tests: Fix policy version in RunCMake.ExternalProject test
Now that we have policies that need to be tested, this test cannot
just use CMAKE_VERSION for the policy level.
2020-10-08 11:58:06 -04:00
Brad King
0cd84434ac Begin post-3.19 development 2020-10-08 11:28:48 -04:00
Brad King
5d1755fab1 Merge branch 'release-3.19' into master 2020-10-08 11:27:34 -04:00
Brad King
302b00a262 Begin 3.19 release versioning 2020-10-08 11:23:38 -04:00
Brad King
16324555ab gitlab-ci: Drop package pipeline upload jobs for release branch
The package pipeline for release versions should not upload packages
automatically to our archive of nightly development versions.
2020-10-08 11:22:56 -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
85c2bb724f Merge topic 'doc-3.19-relnotes'
e1ab55b4ca Help: Update Sphinx versionadded directives for 3.19 release
1b6c0b375e Help: Organize and revise 3.19 release notes
b81cb27f20 Help: Consolidate 3.19 release notes

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5345
2020-10-08 11:21:04 -04:00
Dennis Klein
798c1c3192 GNUInstallDirs: Comply with Debian Policy on LIBEXECDIR
If CMAKE_INSTALL_PREFIX is /usr, CMAKE_INSTALL_LIBEXECDIR shall return
the same value as CMAKE_INSTALL_LIBDIR on Debian.

While the FHS allows /usr/libexec for internal binaries
(https://refspecs.linuxfoundation.org/FHS_3.0/fhs-3.0.html#usrlibexec) the
Debian Policy Manual states an exception here (section 9.1.1 bullet point 4):
https://www.debian.org/doc/debian-policy/ch-opersys#file-system-structure.

Fixes: #21287
2020-10-08 11:10:41 -04:00
Brad King
75bcd3cf54 Tests: Add RunCMake.GNUInstallDirs expected output specific to Debian 2020-10-08 11:09:37 -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
Brad King
8f2ba9a3fc Merge topic 'ignore_MSB_warnings'
b756ec8a46 cm_cxx_features: Filter out MSBXXXX warnings

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5348
2020-10-08 09:29:02 -04:00
Anonymous Maarten
b756ec8a46 cm_cxx_features: Filter out MSBXXXX warnings
When building CMake in `%TMP%` on Windows, MSBuild issues warnings.
Filter those out to avoid breaking C++ feature checks.

Fixes: #21270
2020-10-08 09:24:02 -04:00
Brad King
20d140c894 Merge topic 'android-ndk-r22'
1ab574a0f4 Android: Add support for NDK r22
91a362d2fa Android: Drop redundant setting of CMP0057 in Android-Determine
0b082c5253 Android: Select Android API after ABI is determined

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5332
2020-10-08 09:23:37 -04:00
Brad King
bc19ceb6fe Merge topic 'check_cuda_helpers'
5c66ac31e6 CUDA: CheckLinkerFlag now supports CUDA
da2622ff36 CUDA: Add Support to SourceCompiles|Runs and CheckCompilerFlags

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5338
2020-10-08 09:22:21 -04:00
Robert Maynard
5c66ac31e6 CUDA: CheckLinkerFlag now supports CUDA 2020-10-08 08:30:59 -04:00
Robert Maynard
da2622ff36 CUDA: Add Support to SourceCompiles|Runs and CheckCompilerFlags 2020-10-08 08:30:59 -04:00
Brad King
96dcf07d33 Merge topic 'FindwxWidgets-freebsd'
1fe5abb47f FindwxWidgets: Expand list of names for wx-config

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5342
2020-10-08 08:10:41 -04:00
Brad King
736cd0f533 Merge topic 'FindJNI-freebsd'
79bfa0f75e FindJNI: Search in FreeBSD standard locations

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5341
2020-10-08 08:09:53 -04:00
Brad King
ef889ede4c Merge topic 'FindPython-fix-tests-failures'
2549dc7c93 FindPython: Enable C language in tests that find the Development component

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Ben Boeckel <ben.boeckel@kitware.com>
Merge-request: !5344
2020-10-08 08:08:08 -04:00
Kitware Robot
75a486f8c0 CMake Nightly Date Stamp 2020-10-08 00:01:15 -04:00
Haibo Huang
1ab574a0f4 Android: Add support for NDK r22
NDK r22 removed platforms and sysroot directory.
NDK r18+ provides `.cmake` files with tables of platforms and abis.
2020-10-07 16:18:10 -07:00
Haibo Huang
91a362d2fa Android: Drop redundant setting of CMP0057 in Android-Determine
A module-wide setting was added by commit 8ede35523e (IN_LIST: Ensure
policy allows if(IN_LIST) if used by a module, 2018-09-12,
v3.13.0-rc1~95^2), so our local setting is no longer needed.
2020-10-07 16:17:36 -07:00
Haibo Huang
0b082c5253 Android: Select Android API after ABI is determined
API level depends on ABI. E.g. for LP64 the minimum API level should be 21 instead of 16 for others.
2020-10-07 16:13:56 -07:00
Kyle Edwards
a354440de9 Merge topic 'vs-android-doc'
0a638e86b2 Help: Add note about Visual Studio tools for Android
55689ce800 Help: Add ref to Ninja Generators section

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5343
2020-10-07 14:16:40 -04:00
Marc Chevrier
2549dc7c93 FindPython: Enable C language in tests that find the Development component
Since commit 5537ccd814 (FindPython: Tests optimizations, 2020-10-01)
some FindPython tests fail because the Development component cannot be
found without knowing `CMAKE_LIBRARY_ARCHITECTURE`.  Enable at least one
language in each of these test cases to get that value.  This is
consistent with use in practice because the Development component does
not make much sense without a language to compile sources anyway.

Fixes: #21277
2020-10-07 12:01:43 -04:00
Kyle Edwards
0a638e86b2 Help: Add note about Visual Studio tools for Android 2020-10-07 10:24:38 -04:00
Kyle Edwards
55689ce800 Help: Add ref to Ninja Generators section 2020-10-07 10:23:31 -04:00