Commit Graph

50221 Commits

Author SHA1 Message Date
Kyle Edwards f4215ee57d Ninja Multi-Config: Fix segfault when installing an export
Fixes: #21290
2020-10-09 13:51:01 -04:00
Kyle Edwards 18372afcd4 Help: Fix documentation for Ninja Multi-Config's build.ninja 2020-10-09 13:50:36 -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 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
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 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 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 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
Adriaan de Groot 79bfa0f75e FindJNI: Search in FreeBSD standard locations 2020-10-07 10:12:49 -04:00
Adriaan de Groot 1fe5abb47f FindwxWidgets: Expand list of names for wx-config
This looks for the FreeBSD-packaging names of wx-config as well.

Fixes: #19372
2020-10-07 10:11:18 -04:00
Brad King 2e53641d76 Merge topic 'user-interaction-presets'
4bdc1c0a2c Help: Update user interaction guide with presets info

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5340
2020-10-07 07:48:24 -04:00
Brad King c4c86acaac Merge topic 'cmake-presets-empty-var'
a395cb516b CMakePresets.json: Prohibit empty variable names

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5339
2020-10-07 07:25:52 -04:00
Brad King c61f820a7f Merge topic 'add_ispc_to_check_helpers'
e17e2c6a51 ISPC: CheckCompilerFlags and CheckSourceCompiles support ISPC

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5337
2020-10-07 07:13:21 -04:00
Brad King 026beeb620 Merge topic 'CheckCompilerFlag-gcc-10'
d66858c8e4 CheckCompilerFlag: Update the regex used to detect invalid options for GCC 10

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5331
2020-10-07 07:12:31 -04:00
Brad King 7f1a36deea Merge topic 'ci-nightly'
dd47d0d7f4 gitlab-ci: add rules to enable jobs in a nightly pipeline schedule
3f494b12ea gitlab-ci: configure continuous job ctest build name and model accordingly
63c7e7ca04 gitlab-ci: factor out ctest_start() model into a variable
0556bd2f8a gitlab-ci: use ctest_start GROUP option instead of deprecated TRACK

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5334
2020-10-07 07:09:09 -04:00
Brad King dd47d0d7f4 gitlab-ci: add rules to enable jobs in a nightly pipeline schedule 2020-10-07 06:16:51 -04:00
Brad King 3f494b12ea gitlab-ci: configure continuous job ctest build name and model accordingly 2020-10-07 06:16:28 -04:00
Brad King 63c7e7ca04 gitlab-ci: factor out ctest_start() model into a variable 2020-10-07 06:12:44 -04:00
Brad King 0556bd2f8a gitlab-ci: use ctest_start GROUP option instead of deprecated TRACK 2020-10-07 06:12:05 -04:00
Kitware Robot a410755597 CMake Nightly Date Stamp 2020-10-07 00:01:18 -04:00
Kyle Edwards 4bdc1c0a2c Help: Update user interaction guide with presets info 2020-10-06 16:11:50 -04:00
Kyle Edwards 62895f9d74 Merge topic 'ide-integration-guide'
6e10518cbc Help: Add IDE integration guide

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5298
2020-10-06 13:20:42 -04:00
Kyle Edwards a395cb516b CMakePresets.json: Prohibit empty variable names 2020-10-06 12:09:38 -04:00
Kyle Edwards 6e10518cbc Help: Add IDE integration guide 2020-10-06 11:54:12 -04:00