Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
CMake
CMake
Commits
3f8cf006
Commit
3f8cf006
authored
Feb 17, 2021
by
Michael Hirsch
Committed by
Brad King
Feb 18, 2021
2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Help: Clarify preset name conflict rules in cmake-presets(7)
parent
98ae0051
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
Help/manual/cmake-presets.7.rst
Help/manual/cmake-presets.7.rst
+9
-8
No files found.
Help/manual/cmake-presets.7.rst
View file @
3f8cf006
...
...
@@ -95,8 +95,9 @@ that may contain the following fields:
A required string representing the machine-friendly name of the preset.
This identifier is used in the :ref:`cmake --preset <CMake Options>` option.
There must not be two presets in the union of ``CMakePresets.json`` and
``CMakeUserPresets.json`` in the same directory with the same name.
There must not be two configure presets in the union of ``CMakePresets.json``
and ``CMakeUserPresets.json`` in the same directory with the same name.
However, a configure preset may have the same name as a build or test preset.
``hidden``
...
...
@@ -314,9 +315,9 @@ that may contain the following fields:
A required string representing the machine-friendly name of the preset.
This identifier is used in the
:ref:`cmake --build --preset <Build Tool Mode>` option.
There must not be two
presets (configure, build, or test) in the union of
``CMakePresets.json``
and ``CMakeUserPresets.json`` in the same
directory with the same name
.
There must not be two
build presets in the union of ``CMakePresets.json``
and ``CMakeUserPresets.json`` in the same
directory with the same name.
However, a build preset may have the same name as a configure or test preset
.
``hidden``
...
...
@@ -433,9 +434,9 @@ that may contain the following fields:
A required string representing the machine-friendly name of the preset.
This identifier is used in the :ref:`ctest --preset <CTest Options>` option.
There must not be two
presets (configure, build, or test) in the union of
``CMakePresets.json``
and ``CMakeUserPresets.json`` in the same
directory with the same name
.
There must not be two
test presets in the union of ``CMakePresets.json``
and ``CMakeUserPresets.json`` in the same
directory with the same name.
However, a test preset may have the same name as a configure or build preset
.
``hidden``
...
...
Brad King
@brad.king
mentioned in commit
3412d95b
·
Feb 19, 2021
mentioned in commit
3412d95b
mentioned in commit 3412d95bf729283192f05414b6d834f0189bb9b9
Toggle commit list
Brad King
@brad.king
mentioned in commit
c8ff06a1
·
Feb 19, 2021
mentioned in commit
c8ff06a1
mentioned in commit c8ff06a1f8a31782ca314072fa0f98f953f97305
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment