Garrett Campbell
7bf07baccf
Help: Fix indentation of DEBUGGER_WORKING_DIRECTORY
...
In commit 9ed178f9d8 (Add generator-agnostic DEBUGGER_WORKING_DIRECTORY
target property, 2024-12-05) the documentation was incorrectly indented.
Issue: #16478
2024-12-13 10:10:13 -05:00
Brad King
85f4fdc000
Merge topic 'debugger-working-directory'
...
0a9fb88121 fileapi: Report DEBUGGER_WORKING_DIRECTORY in codemodel-v2 target objects
9ed178f9d8 Add generator-agnostic DEBUGGER_WORKING_DIRECTORY target property
200efab4d4 Tests/RunCMake/FileAPI: Improve error on unexpected line numbers
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10075
2024-12-11 09:47:03 -05:00
Matthew Woehlke
b4704d3ef8
Help/dev: Improve coding conventions guide
...
Improve the coding conventions specified in our source code guide:
- Recommend capitalization for locals as well as members.
- Remove exceptions for `const` placement; new code should always prefer
"east" style.
- Remove separate section; "Code Style" and "Code Conventions" are
similar enough to not need to make a distinction.
2024-12-10 14:18:08 -05:00
Garrett Campbell
0a9fb88121
fileapi: Report DEBUGGER_WORKING_DIRECTORY in codemodel-v2 target objects
...
Closes : #16478
2024-12-10 09:04:31 -05:00
Evan Wilde
e1d635e71c
Swift: Expand generator expressions in Swift_MODULE_DIRECTORY
...
This patch makes the `Swift_MODULE_DIRECTORY` property behave more like
the other output directory properties, allowing generator expressions
and fixing the behavior with multi-config generators.
Issue: #26010
2024-12-09 10:37:05 -08: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
Brad King
24d97da543
Help/dev: Add some coding conventions to source code guide
2024-12-06 14:07:32 -05:00
Brad King
bed97ced45
Merge branch 'release-3.31'
2024-12-05 09:12:51 -05:00
Brad King
793c5f11f6
CMake 3.31.2
2024-12-05 08:42:47 -05:00
Dan Walsh
a4fc66bb71
Help: Clarify documentation of VS_PROJECT_IMPORT
...
Also add an example.
2024-12-04 10:45:19 -05:00
SunBlack
ae63ce80a1
Help: Suggest target_compile_features as alternative to CXX_STANDARD_REQUIRED
2024-12-03 12:36:21 +01:00
Brad King
14ed8464c8
Merge topic 'ARCHIVER-prefix'
...
a4ff2b01e3 IntelLLVM-Windows: add definitions for ARCHIVER: prefix
521a6d409c Archive library: Add support for ARCHIVER: prefix
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !10038
2024-11-28 09:22:38 -05:00
Brad King
bf37d5f93a
Merge topic 'tutorial-step-7-todo-4'
...
dccf2bdb75 Tutorial: Restore TODO 4 comment in step 7
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Acked-by: Betsy McPhail <betsy.mcphail@kitware.com >
Merge-request: !10045
2024-11-28 09:19:01 -05:00
Brice Decaestecker
dccf2bdb75
Tutorial: Restore TODO 4 comment in step 7
...
Restore a comment added by commit f9ef15f3dc (Tutorial: Update step 7
style, 2022-10-07, v3.26.0-rc1~482^2) that was accidentally removed by
commit 8ddf32196c (Tutorial: Refactor MathFunctions code, 2023-02-10,
v3.27.0-rc1~441^2).
2024-11-27 09:28:34 -05:00
Brad King
8a0ebc29da
Merge topic 'FeatureSummary-condition-syntax'
...
6a7d5e414d FeatureSummary: Introduce policy CMP0183 for full Condition Syntax
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !10031
2024-11-27 09:08:29 -05:00
Brad King
0afe2f12f6
Merge topic 'FindGDAL-deprecate'
...
7e2aee4458 FindGDAL: Document as deprecated in favor of upstream CMake package
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10040
2024-11-27 09:06:19 -05:00
Brad King
75c8b0202e
Merge topic 'find_package_version_range_limitation'
...
041537e5ce Help: Clarify find_package version range limitation
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10041
2024-11-27 09:03:39 -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
Peter Kokot
6a7d5e414d
FeatureSummary: Introduce policy CMP0183 for full Condition Syntax
...
Closes : #26468
2024-11-26 13:19:25 -05:00
SunBlack
7e2aee4458
FindGDAL: Document as deprecated in favor of upstream CMake package
...
Issue: #26471
2024-11-26 13:13:20 -05:00
SunBlack
041537e5ce
Help: Clarify find_package version range limitation
...
Issue: #26470
2024-11-26 09:25:15 -05:00
Nuno Nobre
ae33faa330
Help/prop_dir/EXCLUDE_FROM_ALL: Minor wording fix
2024-11-25 16:35:25 -05:00
Brad King
508817037d
Merge topic 'aix-archive-shared-libraries'
...
2c22aae14b Tests/RunCMake: Enable CMP0182 in test cases on AIX
5c78623143 AIX: Enable shared library archives by default
7a05e8e994 Help: Reword AIX_SHARED_LIBRARY_ARCHIVE to avoid assuming a default
655a245d60 Tests: Explicitly disable AIX_SHARED_LIBRARY_ARCHIVE in some cases
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !10030
2024-11-25 10:07:20 -05:00
Brad King
5c78623143
AIX: Enable shared library archives by default
...
This is the preferred convention for shared libraries on AIX.
Add policy CMP0182 to provide compatibility.
Closes : #26372
2024-11-23 15:23:25 -05: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
1412bfbf58
Merge topic 'vs-solution-items'
...
0bb13ba0e6 VS: Add support for Visual Studio solution items
f1bcb7276a VS: Refactor solution folder creation
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10003
2024-11-23 15:13:59 -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
Lauri Vasama
0bb13ba0e6
VS: Add support for Visual Studio solution items
...
Files listed in the `VS_SOLUTION_ITEMS` directory property of a project
directory are added as solution items in the 'Solution Items' solution
directory.
If `source_group` is applied to the files listed in `VS_SOLUTION_ITEMS`,
solution groups matching the names of the source groups are created
outside of the default 'Solution Items' group. If not items are placed
into the default group, it is not created.
Solution items added to subprojects are not included in the top-level
project.
Closes : #26409
2024-11-22 09:12:19 -05:00
Brad King
a882dde32a
Merge topic 'policy-cleanup'
...
94b2d56017 Help/policy/CMP0015: Remove stray indentation
577e693d3e Help: Use standard policy advice in CMP0000
96a0cded7f Tests: Avoid enabling C unnecessarily in CMP0022 and CMP0023 cases
c941f728ec Tests/CPackComponentsForAll: Update cmake_minimum_required to 3.10
34070c3319 Tests/CMakeCommands/target_link_libraries: Fix keyword consistency
73c334677d Tests: Use latest cmake_minimum_required possible for old policy cases
cde63efaea Tests/ExternalProject: Update sample projects to require CMake 3.31
0d416ad57f Tests/PolicyScope: Use more recent policies
...
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !10022
2024-11-22 09:03:20 -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
8a2e9f152a
Merge branch 'release-3.31'
2024-11-21 11:56:45 -05:00
Brad King
eb281d3454
CMake 3.31.1
2024-11-21 11:15:52 -05:00
Brad King
4b9fad4555
Merge branch 'release-3.30'
2024-11-21 10:06:02 -05:00
Brad King
0576d076b1
Merge branch 'release-3.30' into release-3.31
2024-11-21 09:54:18 -05:00
Brad King
817707b904
CMake 3.30.6
2024-11-21 09:18:01 -05:00
Brad King
2d5938dc5c
Merge branch 'release-3.29'
2024-11-21 09:12:20 -05:00
Brad King
0349079e35
Merge branch 'release-3.30' into release-3.31
2024-11-21 09:12:04 -05:00
Brad King
66817bd07d
Merge branch 'release-3.29' into release-3.30
2024-11-21 09:11:40 -05:00
Brad King
b47368e425
CMake 3.29.9
2024-11-21 08:34:26 -05:00
Brad King
94b2d56017
Help/policy/CMP0015: Remove stray indentation
2024-11-20 10:55:34 -05:00
Brad King
577e693d3e
Help: Use standard policy advice in CMP0000
...
This was missed in commit ad3c2c0b03 (Help: Normalize and consolidate
standard policy advice paragraph, 2024-01-11, v3.29.0-rc1~124^2~2).
2024-11-20 10:55:34 -05:00
Brad King
68d15b17c3
Merge topic 'ExternalProject-install-jobserver'
...
1bdaad7573 ExternalProject: Optionally integrate 'make' job server with INSTALL_COMMAND
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !10015
2024-11-20 09:33:04 -05:00
Brad King
100f411e3d
Merge topic 'doc-cli-color'
...
d94e3eac10 Help: Clarify CLICOLOR and CLICOLOR_FORCE environment variables
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10016
2024-11-20 09:27:11 -05:00
Brad King
242702803f
Merge topic 'doc-if-path'
...
3530eef3fb Help: Clarify that if(PATH_EQUAL) does not access the filesystem
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Marc Chevrier <marc.chevrier@gmail.com >
Merge-request: !10001
2024-11-20 09:25:29 -05:00
scivision
3530eef3fb
Help: Clarify that if(PATH_EQUAL) does not access the filesystem
...
Fixes : #26421
2024-11-19 12:01:03 -05:00
Brad King
d94e3eac10
Help: Clarify CLICOLOR and CLICOLOR_FORCE environment variables
...
Document variable precedence.
Link to third-party documentation of the convention these follow.
For now, link to an older view of the documentation since our
implementation has not been updated for `NO_COLOR`.
Issue: #26458
2024-11-19 11:35:16 -05:00
Brad King
1bdaad7573
ExternalProject: Optionally integrate 'make' job server with INSTALL_COMMAND
...
Add an `INSTALL_JOB_SERVER_AWARE` option to `ExternalProject_Add`.
When using an explicit `INSTALL_COMMAND`, the generated commands
won't use `$(MAKE)` thus failing to connect to the outer make's
job server. Add an option enable explicit job server integration.
This is the install step's equivalent to the build step's
`BUILD_JOB_SERVER_AWARE` option added by commit bc43398e72
(ExternalProject: Enable Make Job Server with Explicit Build Command,
2023-08-09, v3.28.0-rc1~217^2). It is useful when the external
project's installation is driven by its build system. Note that with
Makefile generators, our default install command does use `$(MAKE)` to
connect to the outer make's job server.
Issue: #26398
2024-11-19 10:22:24 -05:00
Brad King
908b2ca27c
Merge topic 'doc-find-root-dir'
...
b431306f22 Help: Clarify the Xxx_ROOT_DIR
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Alex <leha-bot@yandex.ru >
Merge-request: !10006
2024-11-19 10:20:40 -05:00
Brad King
1224fbce3f
Help: Document CLICOLOR and CLICOLOR_FORCE environment variables
...
Issue: #26451
2024-11-18 13:00:22 -05:00
Craig Scott
30f596f417
Merge topic 'cmp0175-restore-USES_TERMINAL-for-TARGET-form'
...
62586f236c CMP0175: Do not reject USES_TERMINAL for add_custom_command(TARGET)
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !10005
2024-11-16 16:16:48 -05:00