Kyle Edwards
a1988e4c80
Merge topic 'explicit-source-extensions'
...
fd50a75fa0 CMP0115: Require source file extensions to be explicit
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Ben Boeckel <ben.boeckel@kitware.com >
Merge-request: !5346
2020-10-13 10:17:14 -04:00
Kyle Edwards
fd50a75fa0
CMP0115: Require source file extensions to be explicit
2020-10-13 09:46:54 -04:00
Brad King
7e0cb5cab8
Merge topic 'android-verify-abi-in-ndk'
...
5c2f9e3eeb Android: Fatal if ABI is not supported by NDK
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5351
2020-10-13 08:38:54 -04:00
Craig Scott
343c8fe8ab
Merge topic 'export-namelink-only'
...
64690f6df0 export: Do not fail generation for namelink-only case
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5352
2020-10-12 19:19:33 -04:00
Kyle Edwards
9e9447a427
Merge topic 'cmake-presets-documentation-fix'
...
94c955e508 Tests: Test the CMakePresets.json example in the documentation
d6af1e83bc Help: Fix documentation of CMakePresets.json's cacheVariables
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5353
2020-10-12 14:04:41 -04:00
Deniz Bahadir
64690f6df0
export: Do not fail generation for namelink-only case
2020-10-09 22:29:22 +02:00
Kyle Edwards
94c955e508
Tests: Test the CMakePresets.json example in the documentation
2020-10-09 15:35:54 -04:00
Haibo Huang
5c2f9e3eeb
Android: Fatal if ABI is not supported by NDK
2020-10-09 09:49:19 -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
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
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
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
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
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
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
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
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
Kyle Edwards
a395cb516b
CMakePresets.json: Prohibit empty variable names
2020-10-06 12:09:38 -04:00
Brad King
8c4c658ab0
Merge topic 'cmake-presets'
...
6f8fdc686c .gitignore: Add CMakeUserPresets.json
1d25760198 Help: Add presets documentation and release notes
a4382f72d7 CMake GUI: Add presets functionality
8617479061 CMake: Add presets functionality
06128cf949 Presets: Add cmCMakePresetsFile class
5a36542086 Refactor: Add allowArch parameter to cmake::CreateGlobalGenerator()
3059e6aed7 cmJSONHelpers: Add new Bind() function
8682d1b7b2 CMake GUI Tests: Increase default sleep time
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Michael Hirsch, Ph.D. <michael@scivision.dev >
Merge-request: !5169
2020-10-06 10:49:59 -04:00
Robert Maynard
e17e2c6a51
ISPC: CheckCompilerFlags and CheckSourceCompiles support ISPC
2020-10-06 10:47:20 -04:00
Luthaf
d66858c8e4
CheckCompilerFlag: Update the regex used to detect invalid options for GCC 10
...
The warning emmitted by GCC for invalid options have been updated to
read "command-line option XXX is valid ..." instead of "command line
option XXX is valid ...". Update the regex to make it valid with both
the old and new warning message.
Fixes : #21275
2020-10-06 10:38:18 -04:00
Brad King
990cf3c5d2
Merge topic 'add_checkcompilerflag_tests'
...
8ac9719659 CheckCompilerFlag: Add tests to verify module correctness
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5328
2020-10-06 08:18:46 -04:00
Robert Maynard
8ac9719659
CheckCompilerFlag: Add tests to verify module correctness
2020-10-06 07:07:02 -04:00
Brad King
ad2ac18a23
Merge topic 'ci-find-modules'
...
0792fe4759 ci: enable IPO tests on Debian 10 and Fedora 31 builds
c582e51909 ci: enable Fortran submodule tests on Debian 10 and Fedora 31 builds
12b56269d4 ci: enable Qt5 tests on Debian 10 and Fedora 31 builds
02e8befb74 gitlab-ci: add job to run test suite on Debian 10 with ninja
2bb2a283e9 ci: add packages for many find modules to the Debian 10 image
03fb06b8e7 ci: enable many find module tests for the Fedora 31 Makefiles build
b23f36bba6 ci: add packages for many find modules to the Fedora 31 image
20f7d51b7b Tests: Revise FindBLAS test to avoid cblas_ mangling
...
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5322
2020-10-06 06:54:29 -04:00
Brad King
c814172e84
Merge topic 'csharp-source_group-bugfix'
...
8d87cfdbf3 VS: Fix regression in C# source links
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5314
2020-10-06 06:47:19 -04:00
Kinan Mahdi
8d87cfdbf3
VS: Fix regression in C# source links
...
Fix logic used since commit ac6b18cd90 (CSharp: Add support for source
groups with out-of-source builds, 2020-02-18, v3.18.0-rc1~645^2).
Add a check of the physical file location for C# source groups.
2020-10-05 12:49:14 -04:00
Kyle Edwards
a4382f72d7
CMake GUI: Add presets functionality
2020-10-05 09:49:59 -04:00
Kyle Edwards
8617479061
CMake: Add presets functionality
2020-10-05 09:49:59 -04:00
Kyle Edwards
3059e6aed7
cmJSONHelpers: Add new Bind() function
2020-10-05 09:49:59 -04:00
Kyle Edwards
8682d1b7b2
CMake GUI Tests: Increase default sleep time
2020-10-05 09:49:59 -04:00
Brad King
20f7d51b7b
Tests: Revise FindBLAS test to avoid cblas_ mangling
2020-10-05 08:57:10 -04:00
Brad King
d77f8117cb
Tests: Improve FindRuby test robustness
2020-10-05 08:57:10 -04:00
Craig Scott
1291dd3103
Merge topic 'xcode-refactor-framework-linking'
...
ce2dee9e5b Xcode: Don't add framework as -framework argument in linker info list
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5216
2020-10-04 17:05:57 -04:00
Craig Scott
a771e2146a
Merge topic 'FetchContent_missing_SOURCE_DIR'
...
b030a6af88 FetchContent: Raise error if manually given source dir does not exist
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5317
2020-10-04 17:02:11 -04:00
Craig Scott
b030a6af88
FetchContent: Raise error if manually given source dir does not exist
...
Fixes : #21208
2020-10-03 18:46:08 +10:00
Marc Chevrier
127436192d
FindSWIG: Fix syntax error
...
Add some tests to cover all cases regarding version handling
Fixes : #21264
2020-10-02 16:17:36 +02:00
Brad King
3ec0f9d620
Merge topic 'UseSWIG-output-source-file-properties'
...
4a81a0ce3d UseSWIG: Add OUTPUT_DIR and OUTFILE_DIR source file properties
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5303
2020-10-02 09:55:26 -04:00
Brad King
a64c779746
Merge topic 'execute_process-fatal-error'
...
116a427eb1 execute_process: add options for fatal errors on subprocess failure
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5243
2020-10-02 08:38:53 -04:00
Marc Chevrier
0e2ffa93dd
Merge topic 'FindPython-tests-optimizations'
...
5537ccd814 FindPython: Tests optimizations
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5307
2020-10-02 08:29:45 -04:00
Gusts Kaksis
ce2dee9e5b
Xcode: Don't add framework as -framework argument in linker info list
2020-10-02 22:13:00 +10:00
Craig Scott
468bcc3291
Merge topic 'FindSWIG-version-range'
...
1d300ee2a9 FindSWIG: Add version range support
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5306
2020-10-02 06:58:13 -04:00
Marc Chevrier
5537ccd814
FindPython: Tests optimizations
...
* Use 'project(... LANGUAGES NONE)' when possible
* enhance error messages wording
2020-10-01 17:51:16 +02:00
Asit Dhal
116a427eb1
execute_process: add options for fatal errors on subprocess failure
...
Fixes : #19930
2020-10-01 17:07:44 +02:00