Commit Graph

67208 Commits

Author SHA1 Message Date
Brad King
ad66be9943 cmNinjaTargetGenerator: Factor out helper to add depfile bindings 2024-09-12 12:24:48 -04:00
Brad King
269c3a13c8 cmNinjaTargetGenerator: Reduce DEP_FILE binding duplication 2024-09-12 12:24:48 -04:00
Brad King
48ced5fb12 Tests/RunCMake/BuildDepends: Enable more depfile cases with Ninja 2024-09-12 12:24:48 -04:00
Brad King
b751a857cc Tests/RunCMake/BuildDepends: Simplify CustomCommandDepends case
Also rename from "CustomCommandDependencies".
2024-09-12 12:24:48 -04:00
Brad King
006891dab9 Tests/RunCMake/BuildDepends: Prepare CompileDepends check for multiple targets 2024-09-12 12:23:46 -04:00
Brad King
0915320ddf Tests/RunCMake/BuildDepends: Simplify CompileDepends case
Also rename from "CompilerDependencies".
2024-09-12 11:58:18 -04:00
Brad King
24fbfa915c Tests/RunCMake/BuildDepends: Simplify LinkDepends case 2024-09-12 10:49:29 -04:00
Brad King
747fa20ad6 Merge topic 'proto'
1dc1d000a0 FindProtobuf: Fix IMPORT_DIRS handling and relative directory generation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9809
2024-09-12 08:16:53 -04:00
Brad King
d3518bbb17 Merge topic 'vs-output-name-net-sdk'
66bd326e28 VS: Use OUTPUT_NAME in DOTNET_SDK projects

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9808
2024-09-12 08:12:51 -04:00
Brad King
b91ea1b368 Merge topic 'file-archive-workdir'
d8a9aabd24 file(ARCHIVE_CREATE): add WORKING_DIRECTORY option
d65b5a8e03 Help: Format file(ARCHIVE*) options as definition lists

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9803
2024-09-12 08:10:54 -04:00
Brad King
2321b88edf Merge topic 'cpack-ifw-product-images'
5b8fa21512 Tests: Add a test covering the CPack IFW Generator
3331c7032f CPack/IFW: Add option for ProductImages URLs
d58f90f628 CPack/IFW: Actually ignore missing ProductImages
3c214f2638 CPack/IFW: Fix generation of ProductImages

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9798
2024-09-12 08:09:32 -04:00
Kitware Robot
8ae543d85c CMake Nightly Date Stamp 2024-09-12 00:01:14 -04:00
Xiong Nandi
1dc1d000a0 FindProtobuf: Fix IMPORT_DIRS handling and relative directory generation
Append ${CMAKE_CURRENT_SOURCE_DIR} to `_protobuf_include_path` last, since
protoc will search the path in order.

Besides, we have to figure out the output directory by iterating through the
include paths and checking for valid relative paths.
2024-09-11 12:56:28 -04:00
Yuri Witte
d8a9aabd24 file(ARCHIVE_CREATE): add WORKING_DIRECTORY option
Fixes: #25260
Issue: #21653
2024-09-11 09:52:32 -04:00
Brad King
d65b5a8e03 Help: Format file(ARCHIVE*) options as definition lists 2024-09-11 09:50:55 -04:00
Brad King
ac410c7add Merge topic 'genex-tco-subgraph'
4a11772618 GenEx: Limit TARGET_PROPERTY transitive closure optimization to subgraphs

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Acked-by: Robert Maynard <robertjmaynard@gmail.com>
Merge-request: !9789
2024-09-11 09:33:28 -04:00
Brad King
dd023d9707 Merge topic 'add_custom_command-arg-handling'
ec519f3e97 add_custom_command: Validate arguments more rigorously
8dc8be0884 AndroidTestUtilities: Remove DEPENDS that was being silently ignored
316840b430 Tests: Add missing POST_BUILD to custom commands
f5f80305ef ExternalProject: Ensure keywords requiring an argument have one

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !9785
2024-09-11 09:32:24 -04:00
Brad King
6971e816ce Merge topic 'parallel-install-bugfix'
a980418f7b cmake --install: Fix concurrency level of parallel install

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !9802
2024-09-11 09:27:45 -04:00
Brad King
42556539d7 Merge topic 'update-kwsys'
d195e2c9c8 Merge branch 'upstream-KWSys' into update-kwsys
5293b8ded0 KWSys 2024-09-10 (ac1555b4)

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9805
2024-09-11 09:26:15 -04:00
Julien Marrec
5b8fa21512 Tests: Add a test covering the CPack IFW Generator 2024-09-11 08:44:09 -04:00
Julien Marrec
3331c7032f CPack/IFW: Add option for ProductImages URLs
Add a `CPACK_IFW_PACKAGE_PRODUCT_IMAGE_URLS` variable for them.
2024-09-11 08:44:09 -04:00
Julien Marrec
d58f90f628 CPack/IFW: Actually ignore missing ProductImages 2024-09-11 08:10:52 -04:00
Calum Robinson
66bd326e28 VS: Use OUTPUT_NAME in DOTNET_SDK projects
Fixes: #26285
2024-09-11 12:25:08 +01:00
Kitware Robot
bc5f3ed586 CMake Nightly Date Stamp 2024-09-11 00:02:42 -04:00
Julien Marrec
3c214f2638 CPack/IFW: Fix generation of ProductImages
Entries of `CPACK_IFW_PACKAGE_PRODUCT_IMAGES` each need their own
`ProductImage element.

Fixes: #26268
2024-09-10 14:31:47 +02: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
Brad King
d195e2c9c8 Merge branch 'upstream-KWSys' into update-kwsys
# By KWSys Upstream
* upstream-KWSys:
  KWSys 2024-09-10 (ac1555b4)
2024-09-10 07:49:38 -04:00
KWSys Upstream
5293b8ded0 KWSys 2024-09-10 (ac1555b4)
Code extracted from:

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

at commit ac1555b442eb4c0eea9cd9bccac6383142b4981d (master).

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

Daniel Pfeifer (1):
      68e1f35d SystemInformation: fix use of using
2024-09-10 07:49:38 -04:00
Michael Herwig
4a11772618 GenEx: Limit TARGET_PROPERTY transitive closure optimization to subgraphs
Fixes: #25728
2024-09-10 13:24:24 +02:00
Kitware Robot
605ecca2a4 CMake Nightly Date Stamp 2024-09-10 00:01:23 -04:00
Craig Scott
ec519f3e97 add_custom_command: Validate arguments more rigorously
Add a new CMP0175 policy to preserve backward compatibility
for projects that were using unsupported keywords or arguments.

Fixes: #26096, #21089, #18976
2024-09-10 08:19:09 +10:00
Craig Scott
8dc8be0884 AndroidTestUtilities: Remove DEPENDS that was being silently ignored
The add_custom_command(TARGET) form does not support a
DEPENDS keyword, but it was silently ignored up to now. It will
soon be reported as an error, so remove the DEPENDS. The
behavior will be the same as before.

Issue: #26096
2024-09-10 08:19:08 +10:00
Craig Scott
316840b430 Tests: Add missing POST_BUILD to custom commands
Issue: #21089
2024-09-10 08:19:08 +10:00
Martin Duffy
a980418f7b cmake --install: Fix concurrency level of parallel install
- Increment the number of currently working installs
- Call uv_run only once
2024-09-09 17:36:08 -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