Brad King
04d8bc6bb9
Merge topic 'ctest-j-default' into release-3.29
...
5de1e21659 ctest: Allow passing -j without value to choose a contextual default
bbcbcff7d9 cmCTestMultiProcessHandler: Modernize member initialization
7457b474a1 Tests: Remove unnecessary parallel suppression from CTestCoverageCollectGCOV
ae69801d96 Tests: Convert CTestTestSkipReturnCode to RunCMake.ctest_test case
30dda49416 Tests: Convert CTestTestSerialOrder to RunCMake.ctest_test case
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Acked-by: scivision <michael@scivision.dev >
Merge-request: !9315
2024-03-11 10:18:49 -04:00
Brad King
5de1e21659
ctest: Allow passing -j without value to choose a contextual default
...
Under job server integration, added by commit 80fe56c481 (ctest: Add
support for running under a make job server on POSIX systems,
2023-11-15, v3.29.0-rc1~324^2), use a very high default so that
parallelism is effectively limited only by available job server tokens.
Otherwise, choose a default limit based on the number of processors.
Also allow passing `0` to specify unbounded parallelism.
Fixes : #25739
2024-03-10 11:41:39 -04:00
Brad King
170ec48601
Help: Improve ctest tests-from-file documentation wording and wrapping
2024-03-08 16:26:12 -05:00
Brad King
1a4837641e
ctest: Remove unnecessary and ambiguous tests-from-file comment syntax
...
Test names can contain `#`. Since we ignore lines that do not match any
test names anyway, "commenting" can still work without explicit syntax.
Also drop whitespace trimming for similar reasons.
Fixes : #25741
2024-03-08 16:25:33 -05:00
scivision
53a542936e
Help: Convert http URLs to https
2024-03-07 09:42:45 -05:00
Ben Boeckel
b03356f954
Help/add_custom_command: fix verb grammo
2024-02-28 13:21:52 -05:00
Brad King
5ac8368922
Merge topic 'Help-file-ARCHIVE_EXTRACT-mention-working-dir' into release-3.29
...
189d28d77d Help/file: mention the working directory for `ARCHIVE_EXTRACT`
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9291
2024-02-27 09:11:42 -05:00
Ben Boeckel
189d28d77d
Help/file: mention the working directory for ARCHIVE_EXTRACT
...
See: https://discourse.cmake.org/t/10135
2024-02-27 05:53:08 -05:00
Brad King
2c646641ec
Help: Document create_test_sourcelist source path convention
...
Document the change in commit a29ca55b1f (create_test_sourcelist: use
the full path to the driver, 2023-12-09, v3.29.0-rc1~264^2).
2024-02-22 09:37:23 -05:00
Brad King
c21f0eb30b
Help: Modernize create_test_sourcelist documentation
2024-02-22 09:32:00 -05:00
Craig Scott
fb14a54a25
Help: Advise calling option(BUILD_SHARED_LIBS) early enough
...
Amends 01e33df83f (Help: Modernize BUILD_SHARED_LIBS
documentation, 2024-02-21) to highlight that BUILD_SHARED_LIBS
needs to be set early enough to prevent different behavior between
the first and subsequent runs.
2024-02-22 10:33:21 +11:00
Brad King
01e33df83f
Help: Modernize BUILD_SHARED_LIBS documentation
...
Previously the documentation used long-outdated terminology from
CMake's early days.
Issue: #25699
2024-02-21 09:25:49 -05:00
Robert Maynard
af293ff7c3
Help: Explicitly discourage absolute install destinations
...
Document some of the problems caused by absolute install destinations.
Encourage use of relative paths.
2024-02-16 09:53:55 -05:00
Brad King
dae7c6f0d8
Merge topic 'backport-3.28-visionOS' into release-3.29
...
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:18 -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
Johannes Schultz
c6f56153bb
Help: Fix example for return command
...
`cmake_minimum_required` is the correct command, not
`cmake_version_required`.
2024-02-15 10:42:25 -05:00
مهدي شينون (Mehdi Chinoune)
2a4e8f03ef
MinGW: Add support for OBJC and OBJCXX
2024-02-12 19:46:41 -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
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
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
2ce6337503
Help: Reword if(EXISTS) suggestion to prefer if(IS_READABLE)
2024-02-06 09:29:11 -05:00
Brad King
23d7863375
Help: Fix cmake_language(EXIT) signature anchor
2024-02-06 09:23:42 -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
28fc87e120
Merge topic 'doc-system-names'
...
ef2547bd6a Help: Document CMAKE_SYSTEM_NAME possible values
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9211
2024-02-05 11:21:03 -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
Peter Kokot
ef2547bd6a
Help: Document CMAKE_SYSTEM_NAME possible values
...
Fixes : #21489
2024-02-05 10:15:08 -05:00
Brad King
e33ca9ee83
Merge topic 'doc-SOVERSION-first-component-VERSION'
...
fcab4bee21 Help: Document conventional VERSION/SOVERSION relationship
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9177
2024-02-05 09:58:40 -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
Sune Stolborg Vuorela
fcab4bee21
Help: Document conventional VERSION/SOVERSION relationship
...
Issue: #25626
2024-01-31 09:52:07 -05:00
Brad King
16b1f0c3e9
Merge topic 'env-cmake-install-prefix'
...
06af18b9db cmake: Allow CMAKE_INSTALL_PREFIX to be set by environment variable
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !9200
2024-01-31 09:03:21 -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
03206842ff
Merge topic 'test-define-prop'
...
6c3311d53b Help: Document property redefinition semantics
7aacae4e0e Tests: Add unit tests for property redefinition
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !9136
2024-01-30 11:31:10 -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
d377ccbf67
Merge topic 'productbuild-domains-policy'
...
339ae33e55 CPack: Change CPACK_PRODUCTBUILD_DOMAINS default to true (CMP0161)
4e7f2397e4 CPack: Clear temporary variable after it is no longer needed
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9197
2024-01-29 10:36:22 -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
FeRD (Frank Dana)
6c3311d53b
Help: Document property redefinition semantics
...
Add a section to the `define_property()` documentation which
details the behavior when attempting to redefine an existing
property. (The command is silently ignored.)
Provide an example using `get_property()` to examine a property
definition created with `define_property()`.
2024-01-29 05:23:37 -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
84dd192326
Merge topic 'doc-configure_file'
...
682a513bbb Help: Organize configure_file documentation into sections
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Craig Scott <craig.scott@crascit.com >
Merge-request: !9191
2024-01-27 10:10:09 -05:00
Brad King
682a513bbb
Help: Organize configure_file documentation into sections
2024-01-26 10:29:57 -05: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