Kyle Edwards
07ac0c0ae0
Merge topic 'xcframework-target-link-libraries'
...
7050ac56a1 macOS: Add support for linking against .xcframework folders
93ed53790c bootstrap: Unconditionally build libjsoncpp
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8619
2023-07-27 10:06:22 -04:00
Brad King
054ed1c594
Merge topic 'cmuvprocesschain-wait-0'
...
830a4b37aa cmUVProcessChain::Wait(): Treat timeout of 0 as no timeout
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !8658
2023-07-27 10:01:05 -04:00
Kyle Edwards
7050ac56a1
macOS: Add support for linking against .xcframework folders
...
Issue: #21752
2023-07-26 17:00:01 -04:00
Kyle Edwards
830a4b37aa
cmUVProcessChain::Wait(): Treat timeout of 0 as no timeout
2023-07-26 13:08:27 -04:00
Brad King
5a164f1649
Merge topic 'jobserver-fix'
...
3825d6ec98 add_custom_{command,target}: Teach JOB_SERVER_AWARE about WORKING_DIRECTORY
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !8644
2023-07-26 10:19:46 -04:00
Kyle Edwards
8129bf85ed
Merge topic 'exec-program-policy'
...
ff12a57d5e exec_program(): Remove by policy CMP0153
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !8653
2023-07-26 09:23:32 -04:00
Brad King
c96cb57e8e
Merge topic 'property-typo-fix'
...
c172eecea6 cmTarget: Restore Fortran_PREPROCESS property initialization
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !8654
2023-07-25 13:55:56 -04:00
Ben Boeckel
c172eecea6
cmTarget: Restore Fortran_PREPROCESS property initialization
...
Fix a typo from commit e522f8ca06 (cmTarget: factor out properties
initialized for target which compile, 2023-02-01, v3.27.0-rc1~577^2~13),
that broke this property.
Also update the test suite to use this upgrade as some level of
coverage.
Fixes : #25123
2023-07-25 11:35:24 -04:00
Chris Mahoney
3825d6ec98
add_custom_{command,target}: Teach JOB_SERVER_AWARE about WORKING_DIRECTORY
...
Issue: #16273
2023-07-25 11:34:22 -04:00
Kyle Edwards
ff12a57d5e
exec_program(): Remove by policy CMP0153
2023-07-25 11:09:56 -04:00
Brad King
f6b8bd41bc
Merge topic 'cdash_checksum_400'
...
b7c871f745 ctest: Update ctest_submit for CDash behavior change
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !8648
2023-07-25 11:03:06 -04:00
Brad King
89a692aa18
Merge topic 'remove-exec-program-usage'
...
edfa4d762d cmake_uninstall.cmake.in: Replace exec_program() with execute_process()
8776236161 Tests/ExternalOBJ: Replace exec_program() with execute_process()
54a68b221a Tests/ComplexOneConfig: Replace exec_program() with execute_process()
13e674b61b Tests/Complex: Replace exec_program() with execute_process()
e43d97cb29 Tests/CommandLineTest: Replace exec_program() with execute_process()
6463263ffa Tests/CMakeOnly: Replace exec_program() with execute_process()
f73a5bfaa9 UsePkgConfig: Replace exec_program() with execute_process()
17bab9e709 FindwxWindows: Replace exec_program() with execute_process()
...
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com >
Merge-request: !8652
2023-07-25 09:22:04 -04:00
Brad King
13362ff138
Merge topic 'fix-ctest-timeout-regression'
...
0e8584c89c CTest: Fix regression in calculating test timeout
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !8647
2023-07-25 09:21:11 -04:00
Zack Galbreath
b7c871f745
ctest: Update ctest_submit for CDash behavior change
...
open.cdash.org was recently upgraded in preparation for the release of
CDash v3.2.0. This upgrade brought a change in behavior where CDash now
responds with HTTP 400 (bad request) rather than HTTP 200 (OK) for MD5
checksum mismatches during submission time.
This commit removes our usage of CURLOPT_FAILONERROR in
cmCTestSubmitHandler.cxx This was necessary to pass along the contents
of the request body ("md5 mismatch") in cases where the web server
(CDash) responds with an error status (400).
Fixes : #25121
2023-07-25 09:09:56 -04:00
Kyle Edwards
0e8584c89c
CTest: Fix regression in calculating test timeout
...
Fixes : #25120
2023-07-24 19:29:54 -04:00
Kyle Edwards
8776236161
Tests/ExternalOBJ: Replace exec_program() with execute_process()
2023-07-24 17:59:24 -04:00
Kyle Edwards
54a68b221a
Tests/ComplexOneConfig: Replace exec_program() with execute_process()
2023-07-24 17:28:04 -04:00
Kyle Edwards
13e674b61b
Tests/Complex: Replace exec_program() with execute_process()
2023-07-24 17:26:18 -04:00
Kyle Edwards
e43d97cb29
Tests/CommandLineTest: Replace exec_program() with execute_process()
2023-07-24 17:23:33 -04:00
Kyle Edwards
6463263ffa
Tests/CMakeOnly: Replace exec_program() with execute_process()
2023-07-24 17:23:33 -04:00
Brad King
6194193a8a
Merge topic 'file-REAL_PATH-relative'
...
6b5f2dbbfe file(REAL_PATH): resolve symlinks before '..' components
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !8605
2023-07-24 08:43:19 -04:00
Brad King
f8c3fd0c45
Merge topic 'dyndep-module-info-objlib-dependency'
...
b665966933 cmComputeLinkInformation: track OBJECT library dependencies
a99b87a628 Tests/RunCMake/CXXModules: add a test for issue #25112
2870a67540 Tests/FortranOnly: add a test case for issue #25112
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !8645
2023-07-24 08:31:53 -04:00
Ben Boeckel
a99b87a628
Tests/RunCMake/CXXModules: add a test for issue #25112
...
Add a test case for C++ `OBJECT` libraries providing modules to
consumers.
2023-07-22 06:53:38 -04:00
Ben Boeckel
2870a67540
Tests/FortranOnly: add a test case for issue #25112
...
Add a test case for Fortran `OBJECT` libraries providing modules to
consumers.
2023-07-22 06:53:36 -04:00
Robert Maynard
6b5f2dbbfe
file(REAL_PATH): resolve symlinks before '..' components
...
Previously REAL_PATH would collapse paths before resolving any symlinks
so if `..` crossed a symlink the output from `REAL_PATH` would be wrong.
It looked like REAL_PATH did this by mistake since it was a side-effect
of ensuring we had an absolute path before resolving symlinks.
2023-07-20 17:02:58 -04:00
Brad King
88c6dc75ba
Merge topic 'command-job-server-aware'
...
95941fd990 add_custom_{target,command}: Add argument JOB_SERVER_AWARE
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !8547
2023-07-20 10:23:31 -04:00
Brad King
b0054dd65c
Merge topic 'imported-implib-only'
...
7351d590ee cmTarget: Add a way to represent imported shared library stubs
83574a4772 GeneratorExpression: Expand testing of imported location resolution
b75ff51947 Testing: Map RelWithDebInfo config in GeneratorExpression test
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Jason Juang <jasjuang@gmail.com >
Merge-request: !8582
2023-07-19 10:55:30 -04:00
Chris Mahoney
95941fd990
add_custom_{target,command}: Add argument JOB_SERVER_AWARE
...
Issue: #16273
2023-07-19 10:45:33 -04:00
Brad King
e921566142
Merge topic 'cmCMakePath-SunPro-sparc-workaround'
...
945b9b8132 cmCMakePath: workarounds for Sunpro/sparc compiler
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Acked-by: Robert Maynard <robertjmaynard@gmail.com >
Merge-request: !8633
2023-07-19 10:40:02 -04:00
Robert Maynard
7351d590ee
cmTarget: Add a way to represent imported shared library stubs
...
Shared library stubs can be used for linking, but not at runtime.
Their role is similar to import libraries on Windows, so represent
their location with the `IMPORTED_IMPLIB` target property.
Fixes : #24940
2023-07-18 13:21:01 -04:00
Robert Maynard
83574a4772
GeneratorExpression: Expand testing of imported location resolution
2023-07-18 13:20:55 -04:00
Marc Chevrier
945b9b8132
cmCMakePath: workarounds for Sunpro/sparc compiler
2023-07-18 11:50:07 -04:00
Marc Chevrier
3c685a578a
LINK_OPTIONS: ensure correct dollar escaping
...
Ensure correct escaping for Ninja and Makefile generators.
Fixes : #25049
2023-07-17 15:55:58 +02:00
Brad King
802a0aefd5
Merge topic 'find_library-simplify-regex'
...
f60e921262 find_library: Improve regex readability in --debug-find output
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !8618
2023-07-14 08:42:11 -04:00
Brad King
cd52dddc98
Merge topic 'module-mapper-clang-transitive'
...
57ef353d22 cmExperimental: refresh the C++ modules UUID
7b05724ac8 cmCxxModuleMapper: give transitive usages to Clang as well
c9df4568da cmCxxModuleMapper: factor out transitive usage computation
71f1483aac Tests/RunCMake/CXXModules: require transitive usages
e39b6ebc19 cmCxxModuleMapper: use a `char` for streaming single bytes
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !8610
2023-07-14 08:39:37 -04:00
Brad King
c9b1ce71f6
Merge topic 'debugger-breakpoints'
...
60b6383993 Debugger: Always clear existing breakpoints on setBreakpoints
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !8624
2023-07-14 08:34:30 -04:00
Thomas Schenker
f60e921262
find_library: Improve regex readability in --debug-find output
...
If there is only one possible library prefix/suffix, omit the capture
group around it in the debug output.
2023-07-13 09:48:35 -04:00
Ben McMorran
60b6383993
Debugger: Always clear existing breakpoints on setBreakpoints
...
Fixes : #25063
2023-07-13 08:44:52 -04:00
Ben Boeckel
57ef353d22
cmExperimental: refresh the C++ modules UUID
...
The transitive support for Clang is a change in support for the
ecosystem.
2023-07-13 08:40:22 -04:00
Ben Boeckel
71f1483aac
Tests/RunCMake/CXXModules: require transitive usages
...
Clang 17 is in a transition where it warns about transitive usages. Turn
it into an error if the flag is available to make sure we're testing the
feature properly.
2023-07-13 08:40:22 -04:00
Brad King
dab61cf1aa
Merge topic 'debugger-no-supportsVariableType'
...
e02cf3f190 Debugger: Correctly handle clients without supportsVariableType
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Acked-by: Garrett Campbell <gcampbell@microsoft.com >
Merge-request: !8620
2023-07-13 08:36:25 -04:00
Brad King
d769c59d78
Merge topic 'debugger-no-supportsVariableType' into release-3.27
...
e02cf3f190 Debugger: Correctly handle clients without supportsVariableType
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Acked-by: Garrett Campbell <gcampbell@microsoft.com >
Merge-request: !8620
2023-07-13 08:36:24 -04:00
Brad King
a0056a96d5
Merge topic 'genex-REMOVE_DUPLICATES-empty'
...
861dd60ecf Genex: Restore REMOVE_DUPLICATES preservation of empty elements
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !8623
2023-07-13 08:34:22 -04:00
Brad King
861dd60ecf
Genex: Restore REMOVE_DUPLICATES preservation of empty elements
...
Refactoring in commit 72d116ee68 (GenEx: list oriented genexes use
cmList class, 2023-03-29, v3.27.0-rc1~205^2) accidentally caused
empty elements to be dropped by the `REMOVE_DUPLICATES` genex.
Fix it and add a test case.
Fixes : #25080
2023-07-12 11:49:21 -04:00
Ben McMorran
e02cf3f190
Debugger: Correctly handle clients without supportsVariableType
...
Fixes : #25057
2023-07-12 10:09:21 -04:00
Brad King
27302fa005
Merge topic 'compile-commands-modules'
...
677b28dc7b Ninja: include module mapper flags in `compile_commands.json`
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !8611
2023-07-12 10:02:53 -04:00
Gregor Jasny
25977e177b
apple: add preliminary visionOS support
2023-07-11 20:20:25 +02:00
Brad King
7202366638
Merge topic 'test-lib-order'
...
d2a28d185a Tests: Improve order of CMakeLibTests link libraries
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !8617
2023-07-11 12:11:34 -04:00
Ben Boeckel
677b28dc7b
Ninja: include module mapper flags in compile_commands.json
...
Fixes : #24618
2023-07-09 11:04:29 -04:00
Brad King
b8b53db1b3
Merge topic 'source_group-TREE-no-FILES'
...
87788353cc source_group: Add test/example for TREE without FILES
d85238a2f2 source_group: Fix TREE without FILES
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !8599
2023-07-07 10:32:31 -04:00