Commit Graph

35978 Commits

Author SHA1 Message Date
Kitware Robot 1debc1f2bc CMake Nightly Date Stamp 2024-08-16 00:01:12 -04:00
Brad King d060b05217 Merge topic 'macos-curl-user-agent'
1a74f95656 file(DOWNLOAD): Fix User-Agent to use run-time curl version

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !9726
2024-08-15 09:37:00 -04:00
Brad King 0460e71e1f Merge topic 'curl-http2'
7486f468fb curl: Avoid using HTTP/2 with curl 8.7.x due to bug in error codes

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !9728
2024-08-15 09:35:37 -04:00
Kitware Robot 3e072b018a CMake Nightly Date Stamp 2024-08-15 00:01:17 -04:00
Kitware Robot b2b3c5825f CMake Nightly Date Stamp 2024-08-14 00:01:26 -04:00
Brad King 7486f468fb curl: Avoid using HTTP/2 with curl 8.7.x due to bug in error codes
curl 8.7.x has a bug in HTTP/2 error codes introduced by
commit `0dc036225` (HTTP/2: write response directly, 2024-01-31,
`curl-8_7_0~230`) and fixed by commit `5c59f9142` (http2 + ngtcp2:
pass CURLcode errors from callbacks, 2024-04-18, `curl-8_8_0~181`).

Fixes: #26200
2024-08-13 15:07:53 -04:00
Brad King 1a74f95656 file(DOWNLOAD): Fix User-Agent to use run-time curl version
If CMake is linked to a system-provided curl shared library, the version
at run-time may not match the `LIBCURL_VERSION` at build time.  Look up
the run-time curl version to populate the User-Agent string.

This is particularly important since commit d3cbee99e3 (macOS: Prefer
building with system-provided curl, 2024-05-09, v3.30.0-rc1~130^2~1)
switched to building our official binaries on macOS against the system
provided curl shared library.

Fixes: #26209
2024-08-13 14:14:10 -04:00
Brad King 88e90fcd20 Merge topic 'cuda_unity'
b90ae10dda Add support for unity builds with CUDA sources
c99ff40b21 Unity: refactor unity extension logic to single function

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !9655
2024-08-13 11:01:13 -04:00
Kitware Robot 8733dcd115 CMake Nightly Date Stamp 2024-08-13 00:01:28 -04:00
Kitware Robot 407c0f449d CMake Nightly Date Stamp 2024-08-11 00:01:58 -04:00
Kitware Robot 0dc5cd674e CMake Nightly Date Stamp 2024-08-10 00:01:15 -04:00
Kitware Robot 5e734dd25a CMake Nightly Date Stamp 2024-08-09 00:01:18 -04:00
Kitware Robot c0cd10cd98 CMake Nightly Date Stamp 2024-08-08 00:01:17 -04:00
Kitware Robot aa6b2180bf CMake Nightly Date Stamp 2024-08-07 00:01:18 -04:00
Kyle Edwards f774a5ab5c Merge topic 'find-debug-root'
f8264cf2ff find_package(): Debug re-rooting behavior

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Acked-by: Robert Maynard <robertjmaynard@gmail.com>
Acked-by: Brad King <brad.king@kitware.com>
Acked-by: Alex <leha-bot@yandex.ru>
Merge-request: !9701
2024-08-06 09:37:34 -04:00
Kitware Robot b575a8fc8c CMake Nightly Date Stamp 2024-08-06 00:01:12 -04:00
Brad King 3f1709abaa Merge topic 'test-log-write'
29db283ba7 CTest: remove cmCTestLogWrite helper

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !9699
2024-08-05 09:52:11 -04:00
Kitware Robot 9af150ed3d CMake Nightly Date Stamp 2024-08-05 00:02:46 -04:00
Kitware Robot 4a262f2d71 CMake Nightly Date Stamp 2024-08-04 00:01:24 -04:00
Kitware Robot 4aa42149d6 CMake Nightly Date Stamp 2024-08-03 00:01:15 -04:00
Kyle Edwards f8264cf2ff find_package(): Debug re-rooting behavior
find_package()'s debug mode provides information about which
prefixes are searched, but not which roots are prepended to each
prefix. Display this information if debugging is enabled.
2024-08-02 16:18:44 -04:00
Robert Maynard b90ae10dda Add support for unity builds with CUDA sources
Fixes #22750
2024-08-02 13:35:53 -04:00
Brad King d88682dff6 CMake 3.30.2 2024-08-02 09:57:10 -04:00
Kitware Robot 3c7c0f2fc6 CMake Nightly Date Stamp 2024-08-02 00:01:14 -04:00
Daniel Pfeifer 29db283ba7 CTest: remove cmCTestLogWrite helper 2024-08-02 00:14:57 +02:00
Brad King 98c9e67a8d Merge topic 'presets-graphviz'
31c0e0de49 presets: Add graphviz support

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9691
2024-08-01 10:44:41 -04:00
Kitware Robot bd8dc7775b CMake Nightly Date Stamp 2024-08-01 00:01:17 -04:00
Kitware Robot a82af7aae1 CMake Nightly Date Stamp 2024-07-31 00:01:12 -04:00
Aliaksandr Averchanka 31c0e0de49 presets: Add graphviz support
Closes: #22164
2024-07-30 10:27:03 -04:00
Brad King 2903eb1963 Merge topic 'export-refactor-more-for-cps'
8178fd43e9 export: Fix handling of import prefix
e5b73b60e3 export: Generalize GenerateImportFileConfig
cd217739f7 export: Refactor obtaining export information

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !9684
2024-07-30 10:21:52 -04:00
Brad King 40214f0def Merge topic 'clean-proto'
61ce6a6eeb Source: Delete unused prototypes

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !9689
2024-07-30 10:13:59 -04:00
Brad King ce07554967 Merge topic 'enable_warnings'
373b29bd3f Rename {_ => }CMAKE_INCLUDE_SYSTEM_FLAG_${lang}_WARNING

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com>
Acked-by: Marcel Raad <marcel.raad@teamviewer.com>
Merge-request: !9688
2024-07-30 10:13:05 -04:00
Kitware Robot 8639ac2aec CMake Nightly Date Stamp 2024-07-30 00:01:13 -04:00
Vito Gamberini 8555c33d92 PkgC: Add cmake_pkg_config(EXTRACT) command
* Wraps the llpkgc parser with cmPkgConfigParser
* Adds various resolution and mangling code under cmPkgConfigResolver
* Documents new command cmake_pkg_config(EXTRACT). Documentation is written with
  the assumption additional subcommands will be added soon.
* Adds various tests for the above
2024-07-29 13:14:46 -04:00
Vito Gamberini 35734c8de3 PkgC: Add llpkgc to build 2024-07-29 13:14:41 -04:00
Patrick H 373b29bd3f Rename {_ => }CMAKE_INCLUDE_SYSTEM_FLAG_${lang}_WARNING
Although not documented publicly, projects may need to override
this variable.  Remove the private `_` prefix from its name.

Issue: #25103
2024-07-29 11:50:02 -04:00
Vitaly Stakhovsky 61ce6a6eeb Source: Delete unused prototypes 2024-07-29 10:45:02 -04:00
Kitware Robot feb67ce718 CMake Nightly Date Stamp 2024-07-29 00:03:14 -04:00
Kitware Robot 4b1df8320e CMake Nightly Date Stamp 2024-07-28 00:01:23 -04:00
Kitware Robot f2393d820b CMake Nightly Date Stamp 2024-07-27 00:01:47 -04:00
Matthew Woehlke 8178fd43e9 export: Fix handling of import prefix
Fix some additional places in export generation logic that were still
hard-coding the import prefix. Change cmGeneratorExpression::Preprocess
to take the desired prefix as an argument. (This replaces taking a
boolean whether to resolve relative paths; if a non-empty prefix is
given, that is used to resolve relative paths, otherwise relative paths
are left alone.) This should ensure that import properties always spell
the prefix according to the format being generated.
2024-07-26 16:40:03 -04:00
Brad King 26302e120e Merge topic 'install-parallel-manifest'
9799491c7e install: Write manifest file in parallel install

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !9673
2024-07-26 10:00:36 -04:00
Kitware Robot eac3afd8c5 CMake Nightly Date Stamp 2024-07-26 00:01:12 -04:00
Matthew Woehlke e5b73b60e3 export: Generalize GenerateImportFileConfig
Move some logic that is specific to CMake-format exports from
GenerateImportFileConfig to an overload of GenerateImportConfig, so that
the former can be moved (back) to the generic base class. This will
allow it to also be used for Common Package Specification exports. To
facilitate this, also add a method to get the format-specific character
used to separate the export file base name from the config suffix, so
that the rest of the logic to determine the file name can be shared.
2024-07-25 18:33:35 -04:00
Matthew Woehlke cd217739f7 export: Refactor obtaining export information
Refactor methods in the build and install export file generators to have
the same, simplified API. Expose the resulting method as an abstract
method on the base class, so that it can be called from mode-agnostic
generators. While we're at it, refactor cmExportInstallFileGenerator's
version to use std::any_of.
2024-07-25 18:33:35 -04:00
Martin Duffy 9799491c7e install: Write manifest file in parallel install
Updates the parallel install to generate the install_manifest.txt file.
2024-07-25 12:36:32 -04:00
Brad King 262a89c92b Merge topic 'export-refactor-for-cps'
ff24058e46 export: Use std::all_of to collect exports
20fa4ce8d8 export: Factor out CMake-specific export generation (2/2)
6c66340a64 export: Fix const placement
1bceab3520 export: Factor out CMake-specific export generation (*/2)
a6cc595772 export: Factor out CMake-specific export generation (1/2)
0352376e44 export: Immediately report actual version required

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !9646
2024-07-25 11:16:52 -04:00
Kitware Robot a38d6414f6 CMake Nightly Date Stamp 2024-07-25 00:01:34 -04:00
Brad King 53de9d9943 Merge topic 'system-include-cache'
fb978f001d GeneratorTarget: Fix missing system include cache key
7d8d239574 GeneratorTarget: Factor out AddSystemIncludeCacheKey()

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !9681
2024-07-24 10:05:43 -04:00
Brad King 077691942a Merge topic 'cmake-list-cached-variables'
c55239e286 cmake: Add flag to list cache entries matching a regex

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !9644
2024-07-24 10:00:30 -04:00