Skip to content

Commit 28c4351

Browse files
committed
Update cmake-presets-vs.md
1 parent 23effb2 commit 28c4351

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/build/cmake-presets-vs.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ Build with `clang`:
223223
}
224224
```
225225

226-
*OR* use the `toolset` configure preset to specify the `ClangCL` toolset like so:
226+
*OR* if you are using a generator that supports specifying a native build system toolset, such as Visual Studio Generators for VS 2010 and above, then you can use the `toolset` configure preset to specify the `ClangCL` toolset like so:
227227

228228
```json
229229
"cacheVariables": {
@@ -238,7 +238,9 @@ Build with `clang`:
238238
}
239239
}
240240
```
241-
241+
242+
See the documentation on [CMAKE_GENERATOR_TOOLSET](https://cmake.org/cmake/help/latest/variable/CMAKE_GENERATOR_TOOLSET.html) for more information on generators that support the `toolset` specification.
243+
242244
> [!IMPORTANT]
243245
> In Visual Studio 2019, you must explicitly specify a Clang IntelliSense mode when you're building with `clang` or `clang-cl`.
244246

0 commit comments

Comments
 (0)