| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\
| |
| |
| |
| |
| |
| | |
06c0d59c17 IWYU: Map <*> headers to <cm/*> headers
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5327
|
| |
| |
| |
| |
| | |
For headers which exclusively contain things that were not present
in C++11.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | | |
|
|/ /
| |
| |
| |
| | |
Now that we have policies that need to be tested, this test cannot
just use CMAKE_VERSION for the policy level.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|\ \ \
| |/ /
|/| |
| | |
| | |
| | |
| | | |
a395cb516b CMakePresets.json: Prohibit empty variable names
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5339
|
| |/ |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
e17e2c6a51 ISPC: CheckCompilerFlags and CheckSourceCompiles support ISPC
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5337
|
| | | |
|
|\ \ \
| |_|/
|/| |
| | |
| | |
| | |
| | | |
d66858c8e4 CheckCompilerFlag: Update the regex used to detect invalid options for GCC 10
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5331
|
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| |/
|/|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
8ac9719659 CheckCompilerFlag: Add tests to verify module correctness
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5328
|
| |/ |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | | |
|
| |/ |
|
|\ \
| |/
|/|
| |
| |
| |
| | |
8d87cfdbf3 VS: Fix regression in C# source links
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5314
|
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
ce2dee9e5b Xcode: Don't add framework as -framework argument in linker info list
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5216
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
b030a6af88 FetchContent: Raise error if manually given source dir does not exist
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5317
|
| |/ /
| | |
| | | |
Fixes: #21208
|
| | |
| | |
| | |
| | |
| | |
| | | |
Add some tests to cover all cases regarding version handling
Fixes: #21264
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
4a81a0ce3d UseSWIG: Add OUTPUT_DIR and OUTFILE_DIR source file properties
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5303
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
These properties enable to manage output directories on
per source file basis.
Fixes: #21250
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
116a427eb1 execute_process: add options for fatal errors on subprocess failure
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5243
|
| |/ / /
| | | |
| | | |
| | | | |
Fixes: #19930
|
|\ \ \ \
| |_|/ /
|/| | |
| | | |
| | | |
| | | |
| | | | |
5537ccd814 FindPython: Tests optimizations
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5307
|
| | | |
| | | |
| | | |
| | | |
| | | | |
* Use 'project(... LANGUAGES NONE)' when possible
* enhance error messages wording
|
|\ \ \ \
| |/ / /
|/| | |
| | | |
| | | |
| | | |
| | | | |
1d300ee2a9 FindSWIG: Add version range support
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5306
|
| |/ / |
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
b6c60f14b6 macOS: Default to arm64 architecture on Apple Silicon hosts
383e81aa60 Tests: Teach RunCMake to ignore Xcode internal objc warnings
8f75912176 Tests: Enable Assembler test case when CMAKE_OSX_ARCHITECTURES has one value
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5291
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Detect `arm64` hardware using a method that pierces Rosetta. If
`CMAKE_OSX_ARCHITECTURES` is not set, pass explicit flags to the
toolchain to use `arm64` instead of letting the toolchain pick.
Fixes: #20989
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Xcode on Apple Silicon warns:
objc[...]: Class AMSupportURL... is implemented in both ...
One of the two will be used. Which one is undefined.
Teach RunCMake to drop such lines before matching against expected
output.
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
c1f1eaf7a4 VS: Teach CMAKE_MFC_FLAG to support generator expressions
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5283
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
7bda9a7fc7 VS: Make ImportLibary generation optional
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5282
|
| | |_|/ /
| |/| | |
| | | | |
| | | | | |
Fixes: #21180
|