Brad King
d6a7a83700
Merge topic 'fix-typos-found-by-pygrep-hooks'
...
bc4c71627a Help: Fix typos found by the `rst-backticks` hook
c833629508 Help: Fix typos found by the `rst-directive-colons` hook
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10237
2025-01-28 08:35:19 -05:00
Brad King
084f6055a8
Merge topic 'patch-CMAKE_OBJDUMP'
...
dc7aabf4d0 Help: Document CMAKE_OBJDUMP variable
4bd3519e89 CPack: Avoid mentioning internal CMake module in documentation
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10224
2025-01-27 10:30:58 -05:00
Alex Turbov
bc4c71627a
Help: Fix typos found by the rst-backticks hook
...
The corresponding `pre-commit` configuration is coming in the
separate MR.
Signed-off-by: Alex Turbov <i.zaufi@gmail.com >
2025-01-27 01:43:26 +04:00
Alex Turbov
c833629508
Help: Fix typos found by the rst-directive-colons hook
...
The corresponding `pre-commit` configuration is coming in the
separate MR.
Signed-off-by: Alex Turbov <i.zaufi@gmail.com >
2025-01-27 01:00:46 +04:00
Marc Chevrier
3d2709c1ae
Linker configuration: rely now on CMAKE_<LANG>_LINK_MODE variable.
...
CMake now provides the CMAKE_<LANG>_LINK_MODE variable which specify how
the link step is done. So, the CMAKE_<LANG>_USING_LINKER_MODE variable
is no longer needed.
2025-01-26 14:45:21 +01:00
Peter Kokot
dc7aabf4d0
Help: Document CMAKE_OBJDUMP variable
2025-01-24 10:43:18 -05:00
Brad King
1d4d4362d9
Merge topic 'remove-old-compatibility'
...
77f71ad4e2 Remove compatibility with CMake versions older than 3.5
fb1bd1d330 CMP0065: Remove support for OLD behavior
d9dd38cccf CMP0064: Remove support for OLD behavior
d88047c329 Remove compatibility with CMake versions older than 3.3
ac1a9cb160 CMP0063: Remove support for OLD behavior
36fffb673a CMP0062: Remove support for OLD behavior
789a7d73d4 CMP0061: Remove support for OLD behavior
3dc19e24cb CMP0060: Remove support for OLD behavior
...
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10210
2025-01-23 09:36:59 -05:00
Brad King
fb1bd1d330
CMP0065: Remove support for OLD behavior
2025-01-22 10:40:55 -05:00
Brad King
3dc19e24cb
CMP0060: Remove support for OLD behavior
2025-01-22 10:40:54 -05:00
Brad King
cf6114886a
Merge topic 'CMAKE_LANG_DEVICE_LINK_MODE'
...
53de9d0125 Introduce CMAKE_<LANG>_DEVICE_LINK_MODE variable.
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10209
2025-01-22 09:24:27 -05:00
Brad King
e7a90d0551
Help: Document CTEST_EXTRA_SUBMIT_FILES variable
2025-01-21 14:55:14 -05:00
Brad King
123e002168
Help: Document CTEST_NOTES_FILES variable
2025-01-21 14:52:14 -05:00
Brad King
cbe7fc4b81
CMP0056: Remove support for OLD behavior
2025-01-21 09:44:05 -05:00
Marc Chevrier
53de9d0125
Introduce CMAKE_<LANG>_DEVICE_LINK_MODE variable.
...
This is a complement to commit 00932ea864 (Introduce CMAKE_<LANG>_LINK_MODE variable., 2025-01-09)
2025-01-21 15:17:05 +01:00
Brad King
05b2c563bb
CMP0047: Remove support for OLD behavior
2025-01-19 09:41:03 -05:00
Brad King
796cf2d8eb
CMP0025: Remove support for OLD behavior
2025-01-19 09:40:59 -05:00
Brad King
03a215643d
CMP0001: Remove support for OLD behavior
2025-01-17 09:28:35 -05:00
Brad King
bd176b430c
Renumber post-3.31 development from 3.32 to 4.0
...
Issue: #26613
2025-01-16 09:18:21 -05:00
Brad King
e87c6c6259
Merge topic 'execute-process-error'
...
3ece058d97 execute_process: Allow setting default COMMAND_ERROR_IS_FATAL value
85035dd954 Help/command/execute_process: Fix definition list formatting
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10169
2025-01-16 08:59:00 -05:00
Martin Duffy
3ece058d97
execute_process: Allow setting default COMMAND_ERROR_IS_FATAL value
...
Issue: #26576
2025-01-15 11:12:34 -05:00
Andreas Hartmetz
a6315790a1
Help: CMAKE_POSITION_INDEPENDENT_CODE is ignored for some targets
...
SHARED and MODULE library targets have
POSITION_INDEPENDENT_CODE default to TRUE regardless of
CMAKE_POSITION_INDEPENDENT_CODE.
2025-01-14 18:12:47 +01:00
Brad King
0cca7df474
Merge topic 'patch-CMAKE_SCRIPT_MODE_FILE'
...
8ad171553b Help: Add _See Also_ to CMAKE_SCRIPT_MODE and CMAKE_ROLE
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10166
2025-01-14 09:46:39 -05:00
Brad King
72e27a4856
Merge topic 'fix-typos-found-by-pre-commit-hooks'
...
d620d77d26 FindDoxygen: Rename `_Doxygen_dne_header` -> `_Doxygen_do_not_edit_header`
e7ff3cccea PushToAndroidDevice.cmake: Rename `cmake_parse_arguments` prefix
bc8621d999 Fix: A lot of typos in code found by `typos`
b33beb7af5 Help: Fix some typos found by `sphinx-lint`
78e45c2db6 Style: Replace TABs with spaces for indentation in some files
74e0173f66 Tests(NuGet): Fix the test to ignore empty and space-only lines
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10151
2025-01-14 09:44:34 -05:00
Brad King
74c462b4f8
Merge topic 'xcode-scheme-test-config'
...
7d28005244 Xcode: Support for test action 'Build Configuration' scheme property
1f4e1ccbc8 Help: Move launch config scheme property to the correct section
8aaae0f643 vim: Remove duplicated keywords from cmake.vim
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10154
2025-01-13 11:37:31 -05:00
Alex Turbov
b33beb7af5
Help: Fix some typos found by sphinx-lint
...
Particularly,
- Avoid TABs in RST docs.
- Avoid words ending w/ hyphen at the right side of pharagraphs.
2025-01-12 18:49:34 +04:00
Peter Kokot
8ad171553b
Help: Add _See Also_ to CMAKE_SCRIPT_MODE and CMAKE_ROLE
2025-01-12 07:24:57 +01:00
Marc Chevrier
00932ea864
Introduce CMAKE_<LANG>_LINK_MODE variable.
...
This variable define how the link step is done. Possible values are:
* DRIVER: the compiler is used as driver for the link step
* LINKER: the linker is used directly for the link step.
2025-01-10 13:24:16 +01:00
Cristiano Carvalheiro
7d28005244
Xcode: Support for test action 'Build Configuration' scheme property
...
Also allow scoped property checking on Xcode scheme tests to
be able to distinguish between launch and test actions build config.
2025-01-09 16:36:33 +00:00
Marc Chevrier
7baf4a9aeb
Help: LINK_LIBRARY:WHOLE_ARCHIVE clarification
...
Fixes : #26540
2024-12-19 16:41:50 +01:00
Brad King
5c7bb0bfd9
Merge topic 'rename-cmakelists'
...
fcbc883fa3 cmake: Allow configuration of default script names
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Acked-by: scivision <michael@scivision.dev >
Merge-request: !10059
2024-12-18 08:49:58 -05:00
Martin Duffy
fcbc883fa3
cmake: Allow configuration of default script names
...
Adds the ``--project-file`` command-line option to modify the default script
name loaded by CMake and ``add_subdirectory`` to values other than
``CMakeLists.txt``.
Fixes : #21570
2024-12-17 12:47:02 -05:00
Brad King
546be3530a
Merge topic 'xcode-scheme-lldb-init-file'
...
419cfe30d0 Xcode: Support for 'LLDB Init File' scheme property
65ad1bbd4c vim: Remove duplicated keywords from cmake.vim
a96d6a98d3 Tests/RunCMake/XcodeProject: Improve XcodeSchemaProperty failure messages
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10093
2024-12-16 09:08:56 -05:00
Brad King
e4cd54dab2
Help: Clarify intended purpose of LINK_WHAT_YOU_USE
...
Avoid implying that it can be used to intentionally link to
shared libraries whose symbols are not needed.
Issue: #26529
2024-12-13 10:53:54 -05:00
Cristiano Carvalheiro
419cfe30d0
Xcode: Support for 'LLDB Init File' scheme property
...
Fixes : #24002
2024-12-13 08:31:11 -05:00
Garrett Campbell
9ed178f9d8
Add generator-agnostic DEBUGGER_WORKING_DIRECTORY target property
...
Generalize the `VS_DEBUGGER_WORKING_DIRECTORY` property.
Issue: #16478
2024-12-09 10:47:10 -05:00
Marc Chevrier
521a6d409c
Archive library: Add support for ARCHIVER: prefix
...
Add the support of the ARCHIVER: prefix to offer a portable way to pass
options to the archiver when the compiler is used as driver.
2024-11-26 19:26:07 +01:00
Brad King
7a05e8e994
Help: Reword AIX_SHARED_LIBRARY_ARCHIVE to avoid assuming a default
2024-11-23 15:23:25 -05:00
Brad King
1cd99d288f
Merge topic 'aix-archive-shared-libraries-export'
...
cd6fb63093 AIX: Propagate AIX_SHARED_LIBRARY_ARCHIVE through exports
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !10027
2024-11-23 15:12:51 -05:00
Brad King
cd6fb63093
AIX: Propagate AIX_SHARED_LIBRARY_ARCHIVE through exports
...
Teach `export()` and `install(EXPORT)` to record this setting on the
imported targets they generate. Make this property's non-presence
authoritative on imported targets since they represent what was built
elsewhere.
2024-11-21 19:02:00 -05:00
Brad King
1224fbce3f
Help: Document CLICOLOR and CLICOLOR_FORCE environment variables
...
Issue: #26451
2024-11-18 13:00:22 -05:00
Marc Chevrier
7907c83175
Link step: Add LINK_WARNING_AS_ERROR target property
...
Add a way to specify, in a portable way, to raise an error for any
warning during the link step. For that purpose, define:
* CMAKE_LINK_WARNING_AS_ERROR variable
* LINK_WARNING_AS_ERROR target property
Fixes : #25343
2024-11-12 15:11:53 +01:00
Marc Chevrier
35350c419d
Add support of "LINKER:" prefix for CMAKE_<TYPE>_LINKER_FLAGS variable
...
The following variables now support the LINKER: prefix:
* CMAKE_<TYPE>_LINKER_FLAGS
* CMAKE_<TYPE>_LINKER_FLAGS_<CONFIG>
Fixes : #26171
2024-11-04 17:07:58 +01:00
Brad King
8779b1ad28
Merge branch 'backport-ci-fedora-41' into ci-fedora-41
2024-10-26 06:02:18 -04:00
Brad King
7605228f5e
codespell: Fix typos
2024-10-25 08:43:04 -04:00
Brad King
0ba8bdb5c2
Merge topic 'doc-BUILD_TESTING'
...
9510820d58 Help: Document CTest module BUILD_TESTING variable
6e6e688b80 CTest: Improve formatting of documentation cmake code blocks
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9927
2024-10-25 08:23:25 -04:00
Brad King
4cf0de3c3a
Merge topic 'Help-CMAKE_LINK_DEPENDS_USE_LINKER'
...
686698a7b4 Help: Update note relative the GNU binutils linkers
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9938
2024-10-25 08:13:04 -04:00
Brad King
8e99e70297
Merge topic 'Help-CMAKE_LINK_DEPENDS_USE_LINKER' into release-3.31
...
686698a7b4 Help: Update note relative the GNU binutils linkers
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9938
2024-10-25 08:13:02 -04:00
Robert Maynard
9510820d58
Help: Document CTest module BUILD_TESTING variable
...
The `BUILD_TESTING` variable is referenced in `add_test` and
`enable_testing`. It should be documented as it controls the
behavior tests working when projects use `include(CTest)`.
2024-10-24 11:46:37 -04:00
Marc Chevrier
686698a7b4
Help: Update note relative the GNU binutils linkers
2024-10-24 17:02:15 +02:00
Brad King
3ef7198e43
Merge topic 'fix-path-search-doc'
...
630e4a12a3 Help: Fix find_package search order w.r.t. globs
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Acked-by: Matthew Woehlke <matthew.woehlke@kitware.com >
Merge-request: !9930
2024-10-24 08:59:43 -04:00