Skip to content

Commit

Permalink
add docs for cmakeExecutable (#3548)
Browse files Browse the repository at this point in the history
  • Loading branch information
czoido authored Jan 30, 2024
1 parent cc0d6aa commit 4723242
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions reference/tools/cmake/cmaketoolchain.rst
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,12 @@ translated from the current ``settings``:
- Preset names are controlled by the `layout()` `self.folders.build_folder_vars`
definition, which can contain a list of settings and options like
`["settings.compiler", "settings.arch", "options.shared"]`.
- If CMake is found as a direct `tool_requires` dependency, or if
`tools.cmake:cmake_program` is set, the configure preset will include a
`cmakeExecutable` field. This field represents the path to the CMake executable
to be used for this preset. As stated in the CMake documentation, this field is
reserved for use by IDEs and is not utilized by CMake itself.


- `buildPresets` storing the following information:
- The `configurePreset` associated with this build preset.
Expand Down

0 comments on commit 4723242

Please sign in to comment.