Brad King
7f1bdcc714
Merge topic 'vs-UseDebugLibraries'
...
721d8b192a VS: Add UseDebugLibraries to vcxproj files by default
47136b6959 VS: Suppress more MSBuild defaults affected by UseDebugLibraries
82a174182a cmVisualStudioGeneratorOptions: Add UsingDebugRuntime method
f498032141 cmVisualStudioGeneratorOptions: Rename {IsDebug => UsingDebugInfo}
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !9275
2024-02-23 08:35:04 -05:00
Brad King
721d8b192a
VS: Add UseDebugLibraries to vcxproj files by default
...
Use heuristics to select a reasonable value. Add policy CMP0162
to provide compatibility with existing projects.
Fixes : #25327
2024-02-22 08:43:16 -05:00
Brad King
14ed766e12
Merge topic 'preset-includes-macro-expansion'
...
1a38ffc656 presets: Expand more macros in the `include` directive
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9108
2024-02-22 08:32:10 -05:00
Cristian Le
1a38ffc656
presets: Expand more macros in the include directive
...
Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de >
2024-02-21 13:47:08 -05:00
Brad King
b814641444
VS: Add [CMAKE_]VS_USE_DEBUG_LIBRARIES options to control UseDebugLibraries
...
This indicates to MSBuild which configurations are considered debug
configurations. This is useful for reference both by humans and tools.
Issue: #25327
2024-02-19 10:40:41 -05:00
Brad King
2407e4c5d6
Merge topic 'backport-3.28-visionOS'
...
dbfc53a2bf Help: Add 3.28.4 release note draft for visionOS updates
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9262
2024-02-15 14:32:19 -05:00
Brad King
dbfc53a2bf
Help: Add 3.28.4 release note draft for visionOS updates
...
Hide it in a Sphinx comment pending the actual 3.28.4 release.
Issue: #25266
2024-02-15 13:16:15 -05:00
Brad King
e9d88df971
Merge topic 'genex-quote'
...
879690ba14 GeneratorExpression: Add $<QUOTE> generator expression
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !9242
2024-02-15 12:46:50 -05:00
Robert Maynard
879690ba14
GeneratorExpression: Add $<QUOTE> generator expression
...
Support inserting '"' literals in generator expressions
Fixes #20869
2024-02-14 14:23:18 -05:00
Brad King
674bf686e6
Merge topic 'mingw-objc-objcxx'
...
2a4e8f03ef MinGW: Add support for OBJC and OBJCXX
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Cristian Adam <cristian.adam@gmail.com >
Merge-request: !9244
2024-02-13 08:53:16 -05:00
مهدي شينون (Mehdi Chinoune)
2a4e8f03ef
MinGW: Add support for OBJC and OBJCXX
2024-02-12 19:46:41 -05:00
Brad King
49b5a65477
Merge branch 'backport-ticlang' into ticlang-compilers
2024-02-09 15:56:06 -05:00
Alan Phipps
9ba0a54554
TIClang: Add support for TI Clang-based compilers, including tiarmclang
...
Add TIClang compiler ID and support in compiler modules. Update
documentation. Add rudimentary RunCMake test for TIClang to test
basic functionality.
Fixes : #24619
2024-02-09 15:54:40 -05:00
Brad King
0942e4898c
Merge topic 'doc-autogen'
...
ccaf529c4e Autogen: Update Documentation
16cc011fa5 cmQtAutoGenGlobalInitializer: Improve Const-correctness
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9223
2024-02-08 11:10:48 -05:00
Brad King
d968391a0f
Merge topic 'doc-autogen' into release-3.29
...
ccaf529c4e Autogen: Update Documentation
16cc011fa5 cmQtAutoGenGlobalInitializer: Improve Const-correctness
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9223
2024-02-08 11:10:47 -05:00
Orkun Tokdemir
ccaf529c4e
Autogen: Update Documentation
...
* Add Qt 6 to documentation
* Add explanation about `<ORIGIN>_autogen_timestamp_deps`
Fixes : #25201
2024-02-08 09:16:37 -05:00
Brad King
b18165c2c6
Begin post-3.29 development
2024-02-06 14:58:46 -05:00
Brad King
1d1638c99d
Help: Drop development topic notes to prepare release
...
Release versions do not have the development topic section of
the CMake Release Notes index page.
2024-02-06 14:48:37 -05:00
Brad King
ab29be4ce1
Help: Organize and revise 3.29 release notes
...
Add section headers similar to the 3.28 release notes and move each
individual bullet into an appropriate section. Revise a few bullets.
2024-02-06 09:29:12 -05:00
Brad King
ca7ef81c39
Help: Consolidate 3.29 release notes
...
Run the `Utilities/Release/consolidate-relnotes.bash` script to move
notes from `Help/release/dev/*` into `Help/release/3.29.rst`.
2024-02-06 09:29:11 -05:00
Brad King
278ee265a1
Merge topic 'findopengl-glu-include-dir'
...
aebebf72df FindOpenGL: Add support for a separate GLU include directory
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Acked-by: Alex <leha-bot@yandex.ru >
Merge-request: !9216
2024-02-06 08:53:20 -05:00
Jordan Williams
aebebf72df
FindOpenGL: Add support for a separate GLU include directory
...
Add a OPENGL_GLU_INCLUDE_DIR cache variable for `GL/glu.h` and attach it
as an include directory to the `OpenGL::GLU` target. Also add a
`OPENGL_INCLUDE_DIRS` result variable to list all include directories.
Account for the GLU header when deciding whether GLU is found.
Fixes : #25627
2024-02-05 14:06:06 -05:00
Brad King
0d451ea92b
Merge branch 'release-3.28'
2024-02-05 11:05:51 -05:00
Brad King
5e984bb352
CMake 3.28.3
2024-02-05 10:28:25 -05:00
Brad King
58d424bca1
Merge topic 'add_custom_command-target-alias'
...
3b07ec631d add_custom_command: Allow adding build event via ALIAS target
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9201
2024-02-01 08:32:20 -05:00
Chen Linxuan
3b07ec631d
add_custom_command: Allow adding build event via ALIAS target
...
Signed-off-by: Chen Linxuan <me@black-desk.cn >
2024-02-01 08:21:41 -05:00
Silvio Traversaro
06af18b9db
cmake: Allow CMAKE_INSTALL_PREFIX to be set by environment variable
...
Fixes : #25023
2024-01-30 11:44:45 -05:00
Brad King
b0d8b857d8
Merge branch 'release-3.28'
2024-01-29 15:47:25 -05:00
Brad King
1f25aa1a0a
CMake 3.28.2
2024-01-29 15:01:32 -05:00
Brad King
622a498477
Merge topic 'test-launcher-emulator-genex'
...
13ece67a58 Add genex support to TEST_LAUNCHER and CROSSCOMPILING_EMULATOR
b9ad73fcb2 cmTestGenerator: De-duplicate TEST_LAUNCHER and CROSSCOMPILING_EMULATOR impl
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9198
2024-01-29 10:50:34 -05:00
Brad King
13ece67a58
Add genex support to TEST_LAUNCHER and CROSSCOMPILING_EMULATOR
...
Evaluate generator expressions in these properties, as they apply to
`add_test`, `add_custom_command`, and `add_custom_target`.
The `CMAKE_CROSSCOMPILING_EMULATOR` variable's `try_run` behavior occurs
at configure time and so cannot support generator expressions.
2024-01-29 10:30:24 -05:00
Craig Scott
339ae33e55
CPack: Change CPACK_PRODUCTBUILD_DOMAINS default to true (CMP0161)
...
Fixes : #23351
2024-01-28 21:09:12 +11:00
Brad King
d9b9f63083
Merge topic 'ctest-tests-from-file'
...
701029726f ctest_test: add options INCLUDE_FROM_FILE and EXCLUDE_FROM_FILE
dbacc1d5a8 ctest: add command line option to exclude tests listed in a given file
022f20f663 ctest: add command line option to run the tests listed in a given file
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Alex <leha-bot@yandex.ru >
Merge-request: !9128
2024-01-26 10:14:58 -05:00
Alex Neundorf
701029726f
ctest_test: add options INCLUDE_FROM_FILE and EXCLUDE_FROM_FILE
...
These options can be used to specify files which can be used
to restrict the set of tests that will be executed.
Fixes : #25455
2024-01-25 12:38:04 -05:00
Alex Neundorf
dbacc1d5a8
ctest: add command line option to exclude tests listed in a given file
...
Add `--exclude-from-file <filename>` to exclude the tests listed in the
given file.
Issue: #25455
2024-01-25 12:37:56 -05:00
Alex Neundorf
022f20f663
ctest: add command line option to run the tests listed in a given file
...
Add `--tests-from-file <filename>` to run only the tests listed in the
given file. The test names must match exactly, no regexps or something.
The listed tests can still be filtered with a regexp using -R.
Issue: #25455
2024-01-25 12:37:16 -05:00
Ben Boeckel
8218aed118
IntelLLVM: support marking include paths as SYSTEM directories
...
Also learn how to suppress warnings when possible.
See: https://discourse.cmake.org/t/icx-on-windows-supports-external-i/8739
2024-01-24 14:21:05 -05:00
Brad King
4571ce5f1a
Merge topic 'cuda-clang-windows'
...
88c740462c CUDA/Clang: Add support for MSVC ABI on Windows using GNU-like frontend
Acked-by: Kitware Robot <kwrobot@kitware.com >
Reviewed-by: Raul Tambre <raul@tambre.ee >
Merge-request: !9172
2024-01-23 14:56:16 -05:00
Brad King
88c740462c
CUDA/Clang: Add support for MSVC ABI on Windows using GNU-like frontend
...
Fixes : #20776
2024-01-22 09:33:54 -05:00
Brad King
c6efbd78d8
MSVC: Teach find_library to consider the 'libfoo.a' naming convention
...
When targeting the GNU ABI, we consider `.a` libraries first but also
accept `.lib`. For symmetry, when targeting the MSVC ABI, we now
consider `.lib` first but also accept `.a`.
This adds support for meson-generated static libraries, which are named
with the pattern `lib${foo}.a`:
* https://mesonbuild.com/FAQ.html#why-does-building-my-project-with-msvc-output-static-libraries-called-libfooa
Note that this was previously attempted by
* commit be848a71b0 (MSVC: Teach find_library to consider the 'libfoo.a'
naming convention, 2022-09-19, v3.25.0-rc1~111^2)
but was reverted by
* commit 955d6245c1 (MSVC: Revert "Teach find_library to consider the
'libfoo.a' naming convention", 2022-11-28, v3.25.1~6^2)
due to problems finding GNU ABI libraries in PATH-derived prefixes.
Since then,
* commit 0a81110b84 (find_(library|file|path): Drop PATH-derived search
prefixes, 2023-09-14, v3.28.0-rc1~91^2)
removed the problematic search paths, so we can restore this change.
Fixes : #23975
2024-01-19 17:12:36 -05:00
leha-bot
1bb1769235
cmake_language: Add EXIT subcommand
...
Add tests to cover these cases:
* run as regular CMake module, in NORMAL_MODE (expected to fail);
* run as CMake script in SCRIPT_MODE (expected to exit with given code);
* run as CMake script that `include()`-s another script with EXIT subcommand;
* run as CMake script which EVAL-uates EXIT subcommand via
`cmake_language(EVAL CODE "<cmake code>")`.
Fixes : #23162
2024-01-16 10:41:31 +03:00
Brad King
38234058ff
Merge topic 'ctest-cli-http-headers'
...
20adf8cfce ctest: allow HTTP headers via command line
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !9123
2024-01-09 10:54:54 -05:00
Matthew Woehlke
20adf8cfce
ctest: allow HTTP headers via command line
...
Add ability to specify HTTP headers via `ctest -T Submit`.
2024-01-08 14:11:40 -05:00
Brad King
5dd4d3d4e3
Merge topic 'revert-ExternalProject-download-byproducts'
...
fd3c9876c6 ExternalProject: revert `BYPRODUCTS` for download outputs
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9097
2024-01-04 11:35:11 -05:00
Ben Boeckel
fd3c9876c6
ExternalProject: revert BYPRODUCTS for download outputs
...
Xcode has been reported to not work at all with this when
ExternalProject projects share download files.
Revert commit 872daff159 (ExternalProject: declare byproducts for the
download step, 2023-09-21, v3.28.0-rc1~27^2) pending further
investigation.
Fixes : #25525
2024-01-03 14:18:35 -05:00
Brad King
e6cd118f02
Merge topic 'package-dispatch-apple'
...
4ac5a2f866 CMakePackageConfigHelpers: Add generate_apple_architecture_selection_file()
b9f81ee9f9 CMakePackageConfigHelpers: Remove outdated documentation summary paragraph
68a03cf3d4 generate_apple_platform_selection_file: Add INSTALL_PREFIX option
ff21f0f70f Tests: Verify generate_apple_platform_selection_file file paths
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !9092
2023-12-20 09:12:49 -05:00
Ralf Habacker
ca5a300d7f
add_test: Honor CROSSCOMPILING_EMULATOR only when cross-compiling
...
Add policy CMP0158 to provide compatibility for existing projects.
Fixes : #23672
2023-12-19 10:00:55 -05:00
Brad King
4ac5a2f866
CMakePackageConfigHelpers: Add generate_apple_architecture_selection_file()
...
Add a helper to select architecture-specific implementations of a
package on an Apple-specific platform.
Fixes : #25516
2023-12-19 08:56:30 -05:00
Brad King
6ba3bb0563
Merge topic 'cmake-test-launcher'
...
88863d83d6 fileapi: Add test launcher to codemodel-v2
1ec0372ed4 add_test: Optionally use a launcher for tests running in-project targets
478a5f4e04 fileapi: Make launcher attribute 'arguments' optional
b44e38a397 cmFileAPICodemodel: Add missing std::move()
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !8963
2023-12-15 09:34:20 -05:00
Brad King
6eafd7a37c
Merge branch 'release-3.28'
2023-12-14 11:20:14 -05:00