Commit Graph

34202 Commits

Author SHA1 Message Date
Brad King
4995017c26 Merge topic 'export-file-set-absolute-cmake-install-includedir'
70f36de1e5 File set: Allow absolute CMAKE_INSTALL_INCLUDEDIR

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !8577
2023-06-23 11:00:02 -04:00
Brad King
81f4ede96a Merge topic 'cmList-container-conversion'
45f17e5a85 cmList: Add container conversion to string

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8580
2023-06-23 10:57:52 -04:00
Brad King
df6a3aff27 Merge topic 'vs-sdk-selection'
a4d532e998 VS: Restore Windows SDK selection with platform in generator name

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8583
2023-06-23 10:52:49 -04:00
Brad King
93c379430d Merge topic 'vs-cxxmodules-public-bmis'
d90a61d671 VS: Make C++ module BMIs public by default for shared libraries

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8549
2023-06-23 10:48:15 -04:00
Kitware Robot
9f60cdd299 CMake Nightly Date Stamp 2023-06-23 00:01:12 -04:00
Andreas Weis
d90a61d671 VS: Make C++ module BMIs public by default for shared libraries
Enable the `AllProjectBMIsArePublic` option for shared libraries in the
VS project files when building with C++20 modules support.
2023-06-22 14:22:56 -04:00
Brad King
a4d532e998 VS: Restore Windows SDK selection with platform in generator name
Refactoring in commit e259063b0a (VS: Defer Windows SDK selection until
CMAKE_GENERATOR_PLATFORM is known, 2023-03-31, v3.27.0-rc1~206^2~5)
accidentally dropped the Windows SDK selection code path for VS
generators named with the old-style platform suffix.

Fixes: #25007
2023-06-22 11:22:08 -04:00
Marc Chevrier
45f17e5a85 cmList: Add container conversion to string 2023-06-22 15:44:17 +02:00
Kitware Robot
a87ee958e8 CMake Nightly Date Stamp 2023-06-22 00:01:12 -04:00
Kitware Robot
88e7ad0084 CMake Nightly Date Stamp 2023-06-21 00:01:14 -04:00
Brad King
0cd5300665 CMake 3.27.0-rc3 2023-06-20 13:11:25 -04:00
Kyle Edwards
70f36de1e5 File set: Allow absolute CMAKE_INSTALL_INCLUDEDIR
When install(TARGETS) and install(EXPORT) were called with file sets
and an absolute CMAKE_INSTALL_INCLUDEDIR, "${_IMPORT_PREFIX}/" was
still being prepended to the base directory and files, resulting in
incorrect paths. Don't prepend this when absolute paths are used.

Fixes: #25010
2023-06-20 11:39:11 -04:00
Brad King
8bfef726fa Merge topic 'cmList-SUBLIST-regression'
1cfaed0684 list(): restore SUBLIST behavior

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !8569
2023-06-20 09:25:40 -04:00
Kitware Robot
ea1cd8ee7d CMake Nightly Date Stamp 2023-06-20 00:01:10 -04:00
Kitware Robot
af9489a4f2 CMake Nightly Date Stamp 2023-06-19 00:02:05 -04:00
Kitware Robot
cb7dda1c69 CMake Nightly Date Stamp 2023-06-18 00:01:08 -04:00
Kitware Robot
a5e29c4c42 CMake Nightly Date Stamp 2023-06-17 00:01:16 -04:00
Marc Chevrier
1cfaed0684 list(): restore SUBLIST behavior
Fixes: #25002
2023-06-16 15:14:03 +02:00
Kitware Robot
da211a5996 CMake Nightly Date Stamp 2023-06-16 00:01:08 -04:00
Brad King
a84c996947 Merge topic 'cmuvprocesschain-external-stream-fd'
b65d54e876 cmUVStreambuf: Update URL for example code
0878306386 cmUVStream: Add cmUVStreamRead() function
b8fd273ed7 cmUVProcessChain: Return output and error streams as file descriptors
ec81d40be4 cmUVPipeIStream: Add cmUVPipeIStream
3b6c5efc08 cm::append: Add support for std::basic_string on SPARC/SunPro

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !8559
2023-06-15 09:27:42 -04:00
Brad King
0b62dede64 Merge topic 'ccmake-keybinds'
f601a55fc2 ccmake: Additional keybindings

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com>
Merge-request: !8527
2023-06-15 09:25:33 -04:00
Kitware Robot
883cbf4171 CMake Nightly Date Stamp 2023-06-15 00:01:10 -04:00
Martin Duffy
f601a55fc2 ccmake: Additional keybindings
Adds the following keys to ccmake:
- w: writes changes to cache file and quits without generating
- N: jump to previous search result
- Home: jump to first option
- End: jump to last option
2023-06-14 14:15:52 -04:00
Kyle Edwards
b65d54e876 cmUVStreambuf: Update URL for example code 2023-06-14 11:53:55 -04:00
Kyle Edwards
0878306386 cmUVStream: Add cmUVStreamRead() function 2023-06-14 11:53:55 -04:00
Kyle Edwards
b8fd273ed7 cmUVProcessChain: Return output and error streams as file descriptors 2023-06-14 11:53:55 -04:00
Kyle Edwards
ec81d40be4 cmUVPipeIStream: Add cmUVPipeIStream 2023-06-14 11:53:55 -04:00
Brad King
ed37038a1c Merge topic 'cross-compiling-emulator-env-var'
7005dea005 CrossCompiling: Load CMAKE_CROSSCOMPILING_EMULATOR from environment

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !8543
2023-06-14 09:18:45 -04:00
Brad King
e06b2a526c Merge topic 'remove-vs11-generator'
536c1de1d4 Drop Visual Studio 11 2012 generator
f444f172c3 cmVisualStudio10TargetGenerator: Remove unused VS-10-only code

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8562
2023-06-14 09:17:53 -04:00
Kitware Robot
12518c7b0f CMake Nightly Date Stamp 2023-06-14 00:01:10 -04:00
Brad King
536c1de1d4 Drop Visual Studio 11 2012 generator
This generator has been deprecated since CMake 3.25.  Remove it.
2023-06-13 14:20:48 -04:00
Matt McCormick
7005dea005 CrossCompiling: Load CMAKE_CROSSCOMPILING_EMULATOR from environment
Read `CMAKE_CROSSCOMPILING_EMULATOR` from an environment variable of the
same name if not specified with `-D` or an initial cache value.

Along with existing environment variable settings such as
`CMAKE_TOOLCHAIN_FILE`, cross compilation configuration can be more
completely set via environment variables.

Suggested-by: Henry Schreiner <henryschreineriii@gmail.com>
2023-06-13 13:58:44 -04:00
Brad King
f444f172c3 cmVisualStudio10TargetGenerator: Remove unused VS-10-only code
Remove code that is not used since commit 8d6f015d59 (Drop Visual Studio
10 2010 generator, 2022-09-26, v3.25.0-rc1~78^2).
2023-06-13 13:47:28 -04:00
Brad King
09028bed4c Merge topic 'cmuvprocesschain-input-file'
e329704546 cmUVProcessChain: Add support for SetExternalStream(Stream_INPUT)

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !8552
2023-06-13 11:13:08 -04:00
Kitware Robot
704c9b5a81 CMake Nightly Date Stamp 2023-06-13 00:01:11 -04:00
Brad King
66f7d9e6e0 CMake 3.27.0-rc2 2023-06-12 13:24:29 -04:00
Kyle Edwards
e329704546 cmUVProcessChain: Add support for SetExternalStream(Stream_INPUT) 2023-06-12 10:34:04 -04:00
Brad King
eec017cf8b Merge topic 'add_test-empty-args'
1df3287bf6 add_test: Restore support for empty test arguments

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !8551
2023-06-12 06:41:41 -04:00
Brad King
a70fe8ec82 Merge topic 'add_test-empty-args' into release-3.27
1df3287bf6 add_test: Restore support for empty test arguments

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !8551
2023-06-12 06:41:40 -04:00
Kitware Robot
6bbbd01f75 CMake Nightly Date Stamp 2023-06-12 00:01:30 -04:00
Kitware Robot
f15ab882b1 CMake Nightly Date Stamp 2023-06-11 00:01:10 -04:00
Kitware Robot
0b4e9ddfc8 CMake Nightly Date Stamp 2023-06-10 00:01:13 -04:00
Brad King
3b0a90968e Merge topic 'cmuvprocesschain-spawn-result'
891b60d691 cmUVProcessChain: Add Status::SpawnResult field
5be0cd9f3c cmUVProcessChain: Manually create pipes between processes
bb5ec5c9b4 cmUVProcessChain: Do some internal refactoring

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !8542
2023-06-09 10:00:28 -04:00
Brad King
507f04af11 Merge topic 'Makefiles-safer-COLOR-usage'
8195aa3026 Makefiles: quote `$(COLOR)` expansions

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8548
2023-06-09 09:58:26 -04:00
Brad King
5741965586 Merge topic 'Makefiles-safer-COLOR-usage' into release-3.27
8195aa3026 Makefiles: quote `$(COLOR)` expansions

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8548
2023-06-09 09:58:25 -04:00
Brad King
8761cfa0bf Merge topic 'post-rel-dev'
1b11f48741 Configure CMake itself with policies through CMake 3.26
ee80960f78 export: Increase maximum policy version in exported files to 3.26
9ba9b6c658 Add deprecation warnings for policies CMP0120 and below

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !8546
2023-06-09 09:57:21 -04:00
Marc Chevrier
1df3287bf6 add_test: Restore support for empty test arguments
This was regressed by refactoring in commit e08ba229ee (CMake code rely
on cmList class for CMake lists management (part. 1), 2023-04-14,
v3.27.0-rc1~174^2).  Fix it and add a test case.

Fixes: #24986
2023-06-09 09:47:52 -04:00
Kitware Robot
f3c5fd98d8 CMake Nightly Date Stamp 2023-06-09 00:01:13 -04:00
Kyle Edwards
891b60d691 cmUVProcessChain: Add Status::SpawnResult field 2023-06-08 14:56:27 -04:00
Kyle Edwards
5be0cd9f3c cmUVProcessChain: Manually create pipes between processes
Previously, we were letting libuv create the output pipe for each
process. However, in order to facilitate use cases where process
spawn is expected to fail (in the case of a missing executable), we
want pipe creation to be separate from process creation. Manually
create all of the pipes.
2023-06-08 14:56:27 -04:00