Commit Graph

61837 Commits

Author SHA1 Message Date
Marc Chevrier 72faa9a017 CreateRulePlaceholderExpander(): enhance memory management
This method returns now a std::unique_ptr instance rather than a raw pointer.
2023-05-04 19:34:36 +02:00
Brad King 0d2d5a229c Merge topic 'use-linker-depfile'
375e6fdbbe Link step: use linker dependency linker file
24a3e5cda0 cmLocalGenerator::MayBeRelativeToWorkDir: take care of all cases

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8443
2023-05-04 09:06:23 -04:00
Brad King bf36ce2ff6 Merge topic 'FindPython-doc-unversioned'
202b2e1abd FindPython: Cross-reference Python_FIND_{STRATEGY,UNVERSIONED_NAMES}

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8454
2023-05-04 09:02:51 -04:00
Brad King cb76152e36 Merge topic 'Pospelove-master-patch-11353'
c64f6d5a5a Help: Document append functionality of string(JSON)

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8453
2023-05-04 09:02:10 -04:00
Brad King 28dd02c3ba Merge topic 'autogen-system-include'
7bf4e30090 Autogen: Default AUTOGEN_USE_SYSTEM_INCLUDE to ON if it is not set
033dc7ee2f Autogen: Add AUTOGEN_USE_SYSTEM_INCLUDE target property
8ba16db163 Tests/RunCMake: Add option for dynamic expected output

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !8400
2023-05-04 09:01:08 -04:00
Kitware Robot 7a4ec8d6cc CMake Nightly Date Stamp 2023-05-04 00:01:10 -04:00
Marc Chevrier 375e6fdbbe Link step: use linker dependency linker file
Based on work done by @ben.boeckel (!8051)

Fixes: #22217
2023-05-03 17:08:07 +02:00
Brad King 202b2e1abd FindPython: Cross-reference Python_FIND_{STRATEGY,UNVERSIONED_NAMES}
Mention each variable in the documentation of the other.

Issue: #24878
2023-05-03 09:45:36 -04:00
Orkun Tokdemir 7bf4e30090 Autogen: Default AUTOGEN_USE_SYSTEM_INCLUDE to ON if it is not set
Add policy CMP0151 to preserve the old behavior by default.
2023-05-03 09:03:46 -04:00
Orkun Tokdemir 033dc7ee2f Autogen: Add AUTOGEN_USE_SYSTEM_INCLUDE target property
`AUTOGEN_USE_SYSTEM_INCLUDE` was added. `AUTOGEN_USE_SYSTEM_INCLUDE`
is a boolean property that can be set on a target to indicate that the
autogen target include directory should be added as a system include
directory or normal include directory to the target.
2023-05-03 09:03:46 -04:00
Brad King 52dde6f012 Merge topic 'add-aocl-blas-vendor'
272fe88ac6 Find{BLAS,LAPACK}: Add AOCL BLIS/libFLAME

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8450
2023-05-03 08:57:07 -04:00
Leonid Pospelov c64f6d5a5a Help: Document append functionality of string(JSON) 2023-05-03 04:41:53 -04:00
Kitware Robot 26ca1026c7 CMake Nightly Date Stamp 2023-05-03 00:01:15 -04:00
Marc Chevrier 24a3e5cda0 cmLocalGenerator::MayBeRelativeToWorkDir: take care of all cases 2023-05-02 17:47:04 +02:00
Cordell Bloor 272fe88ac6 Find{BLAS,LAPACK}: Add AOCL BLIS/libFLAME
The AMD Optimizing CPU Libraries (AOCL) provide forks of BLIS and
libFLAME that are optimized for AMD "Zen" core architectures.

Closes: #23605
2023-05-02 10:56:15 -04:00
Brad King 2488d6dbf7 Merge topic 'ci-intel-windows'
195339e7ac gitlab-ci: Add job testing Intel 2021.9.0 compilers on Windows
1b44973343 gitlab-ci: Add job testing IntelLLVM 2023.1.0 compilers on Windows
a5fd03a53d Tests: Teach CompileFeatures to tolerate __STDC_VERSION__ on Intel Classic
1b7649604e Tests: Teach RunCMake to ignore Intel Classic deprecation on Windows

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8447
2023-05-02 08:49:35 -04:00
Brad King c4cc346203 Merge topic 'FortranCInterface-verify-reuse'
967feaa435 FortranCInterface: Reuse primary detection results in VERIFY function

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8448
2023-05-02 08:47:47 -04:00
Brad King 339f220575 Merge topic 'vs-debugger-init'
35566b48b4 VS: Add variables to initialize debugger-related properties

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8445
2023-05-02 08:45:41 -04:00
Brad King 30c8b44b29 Merge topic 'doc-xref-find-env-vars'
c584882b26 Help: change links to point to the env.vars, not to the cmake vars
e40d4eb644 Help: add documentation for some CMAKE_XXX_PATH env.vars
73ce0b792f Help: minor improvement for the CMAKE_PREFIX_PATH docs

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8444
2023-05-02 08:44:48 -04:00
Brad King 5b4ed96ddc Merge topic 'FindX11-even-more-xcb-components'
65ade59835 FindX11: Remove HAS_X11_xcb check from xcb tests
b1b7298b17 FindX11: Fix typo bug, xvmc -> xv
922a97f38a FindX11: Add tests for newly added xcb libraries
7a2b02e000 FindX11: Fix existing tests
9d21d115c6 FindX11: Add more components to FindX11 tests
858fd8ece8 FindX11: Add many new xcb modules
45c3831369 FindX11: Arrange xcb modules in proper alphabetical order
a0d8556bf7 FindX11: Change find_path search string for Xaw

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8366
2023-05-02 08:41:43 -04:00
Brad King c096fec689 Merge topic 'ci-linkcheck'
84122e6ca1 Help: Remove outdated link to Absoft Fortran

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8446
2023-05-02 08:40:51 -04:00
Brad King efe28afba2 Merge branch 'release-3.26' 2023-05-02 08:39:53 -04:00
Brad King 2e7932054b Merge topic 'findjni_new_ubuntu_versions'
7f738313e0 FindJNI: add Ubuntu specific paths for more recent JDK versions

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8449
2023-05-02 08:39:53 -04:00
Brad King 5532fcb8f9 Merge topic 'findjni_new_ubuntu_versions' into release-3.26
7f738313e0 FindJNI: add Ubuntu specific paths for more recent JDK versions

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8449
2023-05-02 08:39:51 -04:00
Kitware Robot c3e37cbb9b CMake Nightly Date Stamp 2023-05-02 00:01:13 -04:00
Even Rouault 7f738313e0 FindJNI: add Ubuntu specific paths for more recent JDK versions 2023-05-01 22:26:07 +02:00
Brad King 195339e7ac gitlab-ci: Add job testing Intel 2021.9.0 compilers on Windows 2023-05-01 15:51:32 -04:00
Brad King 967feaa435 FortranCInterface: Reuse primary detection results in VERIFY function
Since commit 14f7a043e3 (Teach FortranCInterface to load outside
results, 2009-08-24, v2.8.0~262) we support passing the detection
results into `try_compile` by forwarding `FortranCInterface_BINARY_DIR`.
Use this in `FortranCInterface_VERIFY` to avoid repeating detection.
2023-05-01 15:51:21 -04:00
Brad King 1b44973343 gitlab-ci: Add job testing IntelLLVM 2023.1.0 compilers on Windows 2023-05-01 15:51:21 -04:00
Brad King a5fd03a53d Tests: Teach CompileFeatures to tolerate __STDC_VERSION__ on Intel Classic 2023-05-01 15:51:21 -04:00
Brad King 1b7649604e Tests: Teach RunCMake to ignore Intel Classic deprecation on Windows
Extend commit 29e45a94b0 (Tests: Teach RunCMake to ignore Intel Classic
compiler deprecation warnings, 2022-10-03, v3.25.0-rc1~51^2~1) to cover
warnings from `icl` too.
2023-05-01 15:51:21 -04:00
Alex Neundorf 35566b48b4 VS: Add variables to initialize debugger-related properties
Add variables to initialize target properties `VS_DEBUGGER_COMMAND`,
`VS_DEBUGGER_COMMAND_ARGUMENTS`, `VS_DEBUGGER_ENVIRONMENT`, and
`VS_DEBUGGER_WORKING_DIRECTORY`.
2023-05-01 13:39:00 -04:00
Brad King 84122e6ca1 Help: Remove outdated link to Absoft Fortran
Absoft ceased operations on 2022-09-22 [1] [2].
The website is no longer available.

[1] https://web.archive.org/web/20220816070730/https://www.absoft.com/
[2] https://fortran-lang.discourse.group/t/4274
2023-05-01 11:42:41 -04:00
Brad King 4dc47f82c2 Merge topic 'CMake-uses-cmList-class'
241304190f CMake code rely on cmList class for CMake lists management (part. 2)
87fe031a07 cmList class: various enhancements

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8441
2023-05-01 11:38:32 -04:00
Brad King c2100084c8 Merge topic 'tutorial-iface-order'
c6a426198a Tutorial: Move Step4-Ex1 to Step3-Ex2

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8417
2023-05-01 11:37:43 -04:00
Brad King 4bb13d6a5b Merge topic 'cpack-inno-setup'
1d6db66179 CPack: Add Inno Setup generator
9b0dc652ff ci: Provide Inno Setup tools to some Windows CI jobs

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8399
2023-05-01 11:35:46 -04:00
Alex Neundorf c584882b26 Help: change links to point to the env.vars, not to the cmake vars
The documentation of the find-commands was pointing to the
cmake variables CMAKE_PREFIX_PATH, CMAKE_INCLUDE_PATH etc.
also in the section for environment variables. Now they point
to the documentation for the respective environment variables.
2023-05-01 15:12:23 +02:00
Alex Neundorf e40d4eb644 Help: add documentation for some CMAKE_XXX_PATH env.vars
This patch adds basic documentation for the CMAKE_INCLUDE_PATH,
CMAKE_LIBRARY_PATH, CMAKE_PROGRAM_PATH, CMAKE_APPBUNDLE_PATH and
CMAKE_FRAMEWORK_PATH environment variables and links to the
respective cmake variables and vice versa.
2023-05-01 15:12:17 +02:00
Kitware Robot 139d79409e CMake Nightly Date Stamp 2023-05-01 00:01:36 -04:00
Kitware Robot 40ee764c09 CMake Nightly Date Stamp 2023-04-30 00:01:07 -04:00
Alex Neundorf 73ce0b792f Help: minor improvement for the CMAKE_PREFIX_PATH docs
With this patch the CMAKE_PREFIX_PATH env. var. is now mentioned
in the help for the CMAKE_PREFIX_PATH cmake var.
2023-04-29 20:20:09 +02:00
Marc Chevrier 241304190f CMake code rely on cmList class for CMake lists management (part. 2) 2023-04-29 09:54:31 +02:00
Marc Chevrier 87fe031a07 cmList class: various enhancements 2023-04-29 09:54:22 +02:00
Kitware Robot 73ebfe6613 CMake Nightly Date Stamp 2023-04-29 00:01:09 -04:00
Moses Miller 65ade59835 FindX11: Remove HAS_X11_xcb check from xcb tests 2023-04-28 14:54:35 -07:00
Paul Choisel c6a426198a Tutorial: Move Step4-Ex1 to Step3-Ex2
During the training, we talk about INTERFACE libraries just before Step3
so it makes more sense to do the exercise related to them in Step3
2023-04-28 16:23:59 +02:00
Brad King f9da4cf8f1 Merge topic 'FindDoxygen-custom-config-file'
5ee19d5746 FindDoxygen: Optionally use custom config file

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8439
2023-04-28 10:14:24 -04:00
Brad King 5aab50d4b7 Merge topic 'ignore_unity_suspicious_include'
485256f2d0 Unity: Suppress clang-tidy 'bugprone-suspicious-include' warning

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !8437
2023-04-28 10:13:18 -04:00
Brad King 602481ee67 Merge topic 'add-missing-keyword-to-vim'
f4d2772049 vim: Add missing RELATIVE keyword for FILE command

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8440
2023-04-28 10:12:00 -04:00
Brad King ebf3f48dab Merge topic 'modules-if-deref'
21e13f2416 CMakeDetermineCXXCompiler: Avoid if() quoted auto-dereference

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !8438
2023-04-28 10:10:39 -04:00