Commit Graph

59400 Commits

Author SHA1 Message Date
Brad King 37fc2176dd Merge topic 'UseSWIG-perl5-language'
989b469f1c UseSWIG: Add support of perl5 language

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7794
2022-10-17 10:08:37 -04:00
Brad King c41d05215e Merge topic 'more-cpp-module-tests'
52e82dbb23 Tests/RunCMake/CXXModules: add a test with duplicate modules
e67f5d41af Tests/RunCMake/CXXModules: add a test with circular imports

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7776
2022-10-17 10:06:47 -04:00
Brad King 6e89585d95 Merge topic 'swift-default-flags'
238e0f25b2 Xcode: Set WMO on non-debug build configurations
6063428de7 Swift: Update default build flags

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7741
2022-10-17 10:05:04 -04:00
Brad King 196897fd82 Merge branch 'release-3.25' 2022-10-17 10:03:59 -04:00
Brad King d72912cac2 Merge topic 'xcode-framework-consumption'
4aa86da827 Xcode: ensure framework with custom output directory can be consumed

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Jason Juang <jasjuang@gmail.com>
Merge-request: !7791
2022-10-17 10:03:58 -04:00
Brad King 787fc8caa8 Merge topic 'xcode-framework-consumption' into release-3.25
4aa86da827 Xcode: ensure framework with custom output directory can be consumed

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Jason Juang <jasjuang@gmail.com>
Merge-request: !7791
2022-10-17 10:03:57 -04:00
Brad King 74fe88fab2 Merge branch 'release-3.25' 2022-10-17 10:02:25 -04:00
Brad King f8ac57228f Merge branch 'release-3.24' into release-3.25 2022-10-17 10:02:00 -04:00
Brad King 06294a1945 Merge branch 'release-3.23' into release-3.24 2022-10-17 10:01:52 -04:00
Brad King 29e3d19715 Merge branch 'release-3.24' 2022-10-17 10:01:21 -04:00
Brad King 40ae6627f1 Merge branch 'release-3.23' 2022-10-17 10:01:18 -04:00
Brad King e491fb07b5 Merge branch 'release-3.25' 2022-10-17 10:00:58 -04:00
Brad King 0bf2e6aa44 Merge topic 'doc-timestamp-f'
7d25ae7350 Help: Add versionadded for string(TIMESTAMP) %f specifier

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7796
2022-10-17 10:00:58 -04:00
Brad King 4cb8564087 Merge topic 'doc-timestamp-f' into release-3.25
7d25ae7350 Help: Add versionadded for string(TIMESTAMP) %f specifier

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7796
2022-10-17 10:00:57 -04:00
Kyle Edwards 84eb1eb227 Merge topic 'clang-tidy-plugin-test-framework'
0a2093d0c5 clang-tidy module: add test framework

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7795
2022-10-17 09:51:03 -04:00
Kitware Robot 7a869ebaf1 CMake Nightly Date Stamp 2022-10-17 00:01:26 -04:00
Kitware Robot 909bc5ab21 CMake Nightly Date Stamp 2022-10-16 00:01:11 -04:00
Kitware Robot 68b5876536 CMake Nightly Date Stamp 2022-10-15 00:01:16 -04:00
Brad King 7780588d82 Merge branch 'doc-timestamp-f' into release-3.24
Merge-request: !7796
2022-10-14 11:33:14 -04:00
Brad King 367f10f4cb Merge branch 'doc-timestamp-f' into release-3.23
Merge-request: !7796
2022-10-14 11:32:49 -04:00
Brad King 7d25ae7350 Help: Add versionadded for string(TIMESTAMP) %f specifier
This was accidentally left out of commit c050d6a01e (string(TIMESTAMP):
add %f specifier for microseconds, 2022-01-27, v3.23.0-rc1~59^2).
2022-10-14 11:28:38 -04:00
Kyle Edwards 0a2093d0c5 clang-tidy module: add test framework 2022-10-14 11:09:38 -04:00
Kyle Edwards 153f39f4a5 Merge topic 'clang-tidy-plugin-stub'
d6f5e67f7b ci: add clang-tidy plugin to clang-tidy job
6c6912123e clang-tidy: Add option to load CMake's clang-tidy module
0ad3941f73 clang-tidy module: Add stub module

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !7768
2022-10-14 11:01:58 -04:00
Marc Chevrier 989b469f1c UseSWIG: Add support of perl5 language 2022-10-14 16:46:42 +02:00
Evan Wilde 238e0f25b2 Xcode: Set WMO on non-debug build configurations
This patch sets the swift compilation mode to wholemodule in the xcode
generator for all non-debug build configurations at the project level.

Leaving the target build-configurations default ensures that this
default can be overridden easily by editing either the project
configuration from the build settings editor or the per-target
configuration.

When set on versions of Xcode that do not recognize the
`SWIFT_COMPILATION_MODE` setting, Xcode will include the option as a
user-defined setting, but otherwise ignore it.
2022-10-14 09:23:47 -04:00
Marc Chevrier 4aa86da827 Xcode: ensure framework with custom output directory can be consumed
Fixes: #24046
2022-10-14 09:13:37 -04:00
Brad King 83663325f6 Merge topic 'FindZLIB-no-components'
cf612440dc FindZLIB: Fail if components are requested as it does not provide any

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7767
2022-10-14 09:08:31 -04:00
Brad King b2774b380e Merge topic 'lcc-cleanup'
2de1458c3c Tests: Teach CheckSourceTree test to clean up some specific known files
0dfd939077 cmFindPackageCommand: Suppress LCC false-positive warning

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7790
2022-10-14 09:07:38 -04:00
Brad King 91d4159978 Merge branch 'release-3.25' 2022-10-14 09:05:39 -04:00
Brad King b19080cb07 Merge topic 'FindGLUT-pkg-config-HINTS'
a2fc4b6257 FindGLUT: Drop the now-unnecessary exclusion of pkg-config for multiconfig
a60a33dcb0 FindGLUT: Drop the now-unnecessary ALLOW_SYSTEM_CFLAGS logic
4ad57224b5 FindGLUT: Use pkg-config's results as HINTS for normal search

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Christopher Degawa <cddegawa@gmail.com>
Merge-request: !7770
2022-10-14 09:05:39 -04:00
Brad King 20bfbf7838 Merge topic 'FindGLUT-pkg-config-HINTS' into release-3.25
a2fc4b6257 FindGLUT: Drop the now-unnecessary exclusion of pkg-config for multiconfig
a60a33dcb0 FindGLUT: Drop the now-unnecessary ALLOW_SYSTEM_CFLAGS logic
4ad57224b5 FindGLUT: Use pkg-config's results as HINTS for normal search

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Christopher Degawa <cddegawa@gmail.com>
Merge-request: !7770
2022-10-14 09:05:38 -04:00
Brad King c75afa3c82 Merge branch 'release-3.25' 2022-10-14 08:48:23 -04:00
Brad King e4eebacfb6 Merge topic 'doc-typo'
f9fd27a5ee Help: Fix typo that crashes older pygments lexers

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: Craig Scott <craig.scott@crascit.com>
Merge-request: !7792
2022-10-14 08:48:23 -04:00
Brad King 06b6cece7b Merge topic 'doc-typo' into release-3.25
f9fd27a5ee Help: Fix typo that crashes older pygments lexers

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: Craig Scott <craig.scott@crascit.com>
Merge-request: !7792
2022-10-14 08:48:22 -04:00
Kitware Robot d74b7be90b CMake Nightly Date Stamp 2022-10-14 00:01:12 -04:00
Brad King f9fd27a5ee Help: Fix typo that crashes older pygments lexers
In commit cb14ae2b87 (try_compile: Add SOURCE_FROM_{ARG,VAR},
2022-09-21, v3.25.0-rc1~94^2~2) we accidentally added unbalanced closing
`]` characters in the `try_compile` and `try_run` signatures.

Fixes: #24053
2022-10-13 12:04:00 -04:00
Brad King 2de1458c3c Tests: Teach CheckSourceTree test to clean up some specific known files
Some nightly builds occasionally leave some log files behind due to
local configuration.  Remove them before checking the source tree since
they are known to not be CMake bugs leaving behind source tree
modifications in the test suite.
2022-10-13 10:49:41 -04:00
Brad King 0dfd939077 cmFindPackageCommand: Suppress LCC false-positive warning
Extend the LCC warning suppression from commit 08e7fb3cfa
(cmFindPackageCommand: Compile-time path generator expressions,
2022-07-05, v3.25.0-rc1~361^2~5) to cover a new number for the
same warning, now produced by LCC 1.26.15.
2022-10-13 10:40:23 -04:00
leha-bot a2fc4b6257 FindGLUT: Drop the now-unnecessary exclusion of pkg-config for multiconfig
Revert commit e0a62b84b5 (FindGLUT: On Windows and with multiple config
generator do not use pkg-config, 2022-09-27, v3.25.0-rc1~69^2). We now
call `select_library_configurations()` even after using pkg-config,
which will handle the absent libraries on Debug/Release configurations.

Issue: #24028
2022-10-13 10:06:57 -04:00
leha-bot a60a33dcb0 FindGLUT: Drop the now-unnecessary ALLOW_SYSTEM_CFLAGS logic
Revert commit 8041ca5df0 (FindGLUT: Fix GLUT_INCLUDE_DIRS with
pkg-config and /usr/include, 2022-05-11, v3.24.0-rc1~151^2).
As the main code path will always do `find_path()` which respects the
`CMAKE_FIND_ROOT_PATH_MODE_INCLUDE` variable and will search in system
paths depending on that variable.

Issue: #23474, #24028
2022-10-13 10:04:41 -04:00
leha-bot 4ad57224b5 FindGLUT: Use pkg-config's results as HINTS for normal search
Since commit f90d15458a (FindGLUT: Use pkg-config to find flags if
available, 2021-06-11, v3.22.0-rc1~469^2), pkg-config results are used
directly.  However, this is not compatible with other features of
CMake's find logic such as `CMAKE_FIND_ROOT_PATH` and per-config
results.  Switch to a convention already used by pkg-config support in
other find modules, in which the pkg-config results are only used as
hints for the main search logic.

Fixes: #24028
2022-10-13 10:02:46 -04:00
Brad King ba8f393f78 Merge topic 'post-rel-dev'
5f998bbcb3 Configure CMake itself with policies through CMake 3.24
6bd18eed8e export: Increase maximum policy version in exported files to 3.24
c0e8bb5150 Add deprecation warnings for policies CMP0108 and below

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !7786
2022-10-13 09:55:15 -04:00
Brad King 07f34704d3 Merge branch 'release-3.25' 2022-10-13 09:54:07 -04:00
Brad King 7179a89cad Merge topic 'correct_cufile_linkage'
eefba0fb02 FindCUDAToolkit: cuFile_rdma_static needs to link to cuFile_static

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7785
2022-10-13 09:54:06 -04:00
Brad King ffad2c44d7 Merge topic 'correct_cufile_linkage' into release-3.25
eefba0fb02 FindCUDAToolkit: cuFile_rdma_static needs to link to cuFile_static

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7785
2022-10-13 09:54:05 -04:00
Kitware Robot 0e363520c3 CMake Nightly Date Stamp 2022-10-13 00:01:17 -04:00
koostosh cf612440dc FindZLIB: Fail if components are requested as it does not provide any
Fixes: #18872
2022-10-12 15:08:14 -04:00
Igor-Mikhail-Valentin Glebov d6f5e67f7b ci: add clang-tidy plugin to clang-tidy job 2022-10-12 13:39:30 -04:00
Kyle Edwards 6c6912123e clang-tidy: Add option to load CMake's clang-tidy module
Issue: #23912
2022-10-12 13:39:30 -04:00
Robert Maynard eefba0fb02 FindCUDAToolkit: cuFile_rdma_static needs to link to cuFile_static 2022-10-12 13:26:05 -04:00