Commit Graph

67177 Commits

Author SHA1 Message Date
Calum Robinson 3283ef47d1 VS: Fix DOTNET_SDK builds when no VS_PACKAGE_REFERENCES set
nuget restore always needs to be run for the new DOTNET_SDK style
projects, even when VS_PACKAGE_REFERENCES is empty.

Fixes: #23405
2024-09-16 13:32:19 +01:00
Kitware Robot bc5f3ed586 CMake Nightly Date Stamp 2024-09-11 00:02:42 -04:00
Brad King 613a883470 Merge topic 'pass-link-directories'
9e95bd49f2 Check*: Add option to pass link directories into checks

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !9795
2024-09-10 08:17:51 -04:00
Brad King d1457239b4 Merge branch 'release-3.30' 2024-09-10 08:16:31 -04:00
Brad King 43c1f3b3a4 Merge branch 'release-3.29' 2024-09-10 08:16:27 -04:00
Brad King 641976a36b Merge branch 'release-3.29' into release-3.30 2024-09-10 08:16:20 -04:00
Brad King 687286582c Merge branch 'release-3.30' 2024-09-10 08:06:09 -04:00
Brad King cd74a14633 Merge topic 'librhash-glibc-version'
628a807730 librhash: aligned_alloc is not available with glibc < 2.16

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9804
2024-09-10 08:06:09 -04:00
Brad King a0e6360639 Merge topic 'librhash-glibc-version' into release-3.30
628a807730 librhash: aligned_alloc is not available with glibc < 2.16

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9804
2024-09-10 08:06:07 -04:00
Brad King 34215cc011 Merge topic 'librhash-glibc-version' into release-3.29
628a807730 librhash: aligned_alloc is not available with glibc < 2.16

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9804
2024-09-10 07:55:39 -04:00
Kitware Robot 605ecca2a4 CMake Nightly Date Stamp 2024-09-10 00:01:23 -04:00
Aliaksandr Averchanka 9e95bd49f2 Check*: Add option to pass link directories into checks 2024-09-09 17:06:33 +03:00
Brad King ad88376506 Merge topic 'iar-fix-asm-windows'
654c357a05 Tests/RunCMake/IAR: Fix ASM cases for XLINK targets

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9801
2024-09-09 10:03:08 -04:00
Dilshod Mukhtarov 628a807730 librhash: aligned_alloc is not available with glibc < 2.16
Revise the version check from commit e14300816b (librhash: aligned_alloc
is not available with glibc < 2.15, 2024-02-14, v3.29.0-rc2~30^2).

Issue: #25679
2024-09-09 09:45:04 -04:00
Kitware Robot 6c120379df CMake Nightly Date Stamp 2024-09-09 00:06:27 -04:00
Craig Scott 558666fb7d Merge branch 'release-3.30' 2024-09-08 18:32:40 -04:00
Craig Scott 012d116260 Merge topic 'cmp0168-populate-nondeclare-regression'
cbb727ca6b FetchContent: Don't update verify script timestamp if it doesn't change
795e7b44f2 Help: file(CONFIGURE) only updates output file timestamp if it changes

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9799
2024-09-08 18:32:40 -04:00
Craig Scott 126e0ad429 Merge topic 'cmp0168-populate-nondeclare-regression' into release-3.30
cbb727ca6b FetchContent: Don't update verify script timestamp if it doesn't change
795e7b44f2 Help: file(CONFIGURE) only updates output file timestamp if it changes

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9799
2024-09-08 18:32:38 -04:00
Kitware Robot 26791532be CMake Nightly Date Stamp 2024-09-08 00:01:12 -04:00
Kitware Robot 9f150960ad CMake Nightly Date Stamp 2024-09-07 00:01:15 -04:00
Brad King a53e8e4e81 Merge topic 'vs-instance'
e801d2b243 VS: Make CMAKE_GENERATOR_INSTANCE usable without VS Installer

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9794
2024-09-06 11:35:08 -04:00
Felipe Torrezan 654c357a05 Tests/RunCMake/IAR: Fix ASM cases for XLINK targets
The IAR Assemblers seem to be missing some built-in target-identifier
symbols.  Instead, identify the affected target architectures by using
their respective `__TID__` (Target Identifier) built-in symbols.  Also
make sure the test has an IAR Assembly implementation for each target.

Fixes: #26267
2024-09-06 11:25:13 -04:00
Brad King 59df9479cc Merge topic 'ci-iar'
4889010295 ci: Enable IAR test on some Windows jobs in nightly pipeline
3cdf03c2e8 ci: Add scripts to provide IAR toolchains on Windows
c07148f29f ci: Add script to repackage IAR toolchains for Windows
52098b5b51 Tests/RunCMake/IAR: Exclude ASM cases on Windows pending investigation
aad2a88cb4 Tests/RunCMake/IAR: Quote linker flags for spaces in path to toolkit

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9797
2024-09-06 11:10:08 -04:00
Craig Scott cbb727ca6b FetchContent: Don't update verify script timestamp if it doesn't change
Fixes: #26255
2024-09-06 15:53:48 +10:00
Craig Scott 795e7b44f2 Help: file(CONFIGURE) only updates output file timestamp if it changes 2024-09-06 15:48:38 +10:00
Kitware Robot 2001edfef7 CMake Nightly Date Stamp 2024-09-06 00:01:20 -04:00
Brad King 4889010295 ci: Enable IAR test on some Windows jobs in nightly pipeline
Issue: #23308
2024-09-05 10:19:17 -04:00
Brad King 3cdf03c2e8 ci: Add scripts to provide IAR toolchains on Windows
Run `.gitlab/ci/repackage/iar.ps1` with each IAR installer and host the
package archives ourselves.
2024-09-05 10:18:43 -04:00
Brad King c07148f29f ci: Add script to repackage IAR toolchains for Windows
IAR toolchains for Windows are provided only via installer executables.
Add a script to repackage the parts we need for CMake's CI jobs.
2024-09-05 10:10:49 -04:00
Brad King 52098b5b51 Tests/RunCMake/IAR: Exclude ASM cases on Windows pending investigation
Issue: #26267
2024-09-05 10:10:35 -04:00
Brad King aad2a88cb4 Tests/RunCMake/IAR: Quote linker flags for spaces in path to toolkit 2024-09-05 09:36:28 -04:00
Brad King 9c5f6d22f3 Merge topic 'windows-kernel-mode-driver-includes'
b151bcfc9e WindowsKernelModeDriver: Add WDK include and link paths on MSVC

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9705
2024-09-05 09:21:35 -04:00
Brad King 2daeb0b504 Merge topic 'build-databases'
e77655555c cmExperimental: gate build database support behind a flag
23cbeb5035 ci: enable `build_database` CXXModules tests
6863c1d823 Tests/CXXModules: add tests for module commands
123107c1a4 Tests/CXXModules: add support for running targets under a given config
438038b5e1 Tests/CXXModules: support building specific targets of example trees
84bc710d84 cmGlobalGenerator: generate build database files for targets
670f753f24 cmDyndepCollation: write build database metadata
dcf9a66ffe cxxmodules: plumb control data for exporting build databases
...

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9708
2024-09-05 09:20:23 -04:00
Brad King cc527ab583 Merge topic 'fix-Wdeprecated-redundant-constexpr-static-def'
1650683c9d cmExportPackageInfoGenerator: Fix -Wdeprecated-redundant-constexpr-static-def

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9792
2024-09-05 09:18:20 -04:00
Brad King f63c7ed12a Merge topic 'linker-dependency-file-only-ELF'
c336bfffac GNU/LLD linkers: link dependency only for ELF binary format

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9787
2024-09-05 09:16:56 -04:00
Brad King def3073d46 Merge topic 'update-kwsys'
7016a75b87 Merge branch 'upstream-KWSys' into update-kwsys
65ecc7b190 KWSys 2024-09-03 (9c5f00b7)

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !9790
2024-09-05 09:15:49 -04:00
Kitware Robot 3bf4bcba11 CMake Nightly Date Stamp 2024-09-05 00:01:24 -04:00
huangqinjin e801d2b243 VS: Make CMAKE_GENERATOR_INSTANCE usable without VS Installer
On Windows and Wine, both the COM interface and `vswhere` might not be
available.  `CMAKE_GENERATOR_INSTANCE` is still supposed to work since
commit 195d47e213 (VS: Allow CMAKE_GENERATOR_INSTANCE to specify
portable instance, 2021-10-21, v3.23.0-rc1~452^2).

Issue: #21639
2024-09-04 14:14:11 -04:00
Brad King 1650683c9d cmExportPackageInfoGenerator: Fix -Wdeprecated-redundant-constexpr-static-def
In commit 3d52d70b84 (export: Add initial CPS support, 2024-07-26) we
added a static definition of a `constexpr` member to help older
AppleClang and SunPro linkers.  This is deprecated by C++17 and Clang
now warns about it, so preserving the approach would require complex
conditions. There is no significant benefit to `constexpr` here, so use
a traditional file-scoped definition instead.
2024-09-04 08:37:15 -04:00
Brad King 7b51809d9a Merge topic 'msvc-v100-manifest-tooling'
09a47c7972 MSVC: Restore support for non-incremental linking with v100 toolset and older

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9783
2024-09-04 08:11:42 -04:00
Brad King 25aca74837 Merge topic 'iar-fix-rh850'
d478ffcd72 Tests/RunCMake/IAR: Add missing linker options for RH850

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9786
2024-09-04 08:09:02 -04:00
Kitware Robot 7b59f55b31 CMake Nightly Date Stamp 2024-09-04 00:01:44 -04:00
Craig Scott c9a8a7400a Merge topic 'doc-cmake_parse_arguments-prefix'
2000abe74f Help: Recommend good prefixes for cmake_parse_arguments,  expand example
bb37d0e1a5 Help: Improve grammar and wording for cmake_parse_arguments

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9788
2024-09-03 18:26:46 -04:00
Joseph Snyder b151bcfc9e WindowsKernelModeDriver: Add WDK include and link paths on MSVC
Detect Windows Kernel-Mode Driver include directories and library search
paths from the WDK command-line environment.  Require toolchain files to
specify the KMDF target version via a new variable.

Since this changes the behavior of the WindowsKernelModeDriver
experimental feature, update its UUID.
2024-09-03 11:10:35 -04:00
Brad King 7016a75b87 Merge branch 'upstream-KWSys' into update-kwsys
# By KWSys Upstream
* upstream-KWSys:
  KWSys 2024-09-03 (9c5f00b7)
2024-09-03 11:04:29 -04:00
KWSys Upstream 65ecc7b190 KWSys 2024-09-03 (9c5f00b7)
Code extracted from:

    https://gitlab.kitware.com/utils/kwsys.git

at commit 9c5f00b74e4f68417ed9665b6cba073ade69a097 (master).

Upstream Shortlog
-----------------

scivision (1):
      5f4012c6 Don't compare to nullptr
2024-09-03 11:04:28 -04:00
Rüdiger Ihle 09a47c7972 MSVC: Restore support for non-incremental linking with v100 toolset and older
Since commit 0b552eb877 (MSVC: Embed manifests directly for
non-incremental vs_link_exe links, 2023-02-20, v3.27.0-rc1~438^2) we use
`/MANIFEST:EMBED`, but that is not supported by older MSVC linkers.
Restore use of the standalone manifest tool.

Update `Tests/MSManifest` to recognize `dpiAwareness` in the manifest
content as written by MSVC v100 tooling.

Fixes: #26179
2024-09-03 10:58:28 -04:00
Felipe Torrezan d478ffcd72 Tests/RunCMake/IAR: Add missing linker options for RH850
Closes: #26249
2024-09-03 10:25:55 -04:00
Brad King b69cd358d5 Merge topic 'pkgc-rel-notes'
a081e4ba74 PkgC: Add release note

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9784
2024-09-03 10:18:26 -04:00
Brad King dcb3d7dba6 Merge topic 'CheckCompilerFlag-LLVMFlang'
e8fd9ba8e8 CheckCompilerFlag: Add support for LLVMFlang

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9771
2024-09-03 10:17:24 -04:00