Skip to content

Commit 5cd8542

Browse files
authored
Set CMake code block language to txt as a fallback
1 parent 82ce417 commit 5cd8542

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/build/cmake-presets-vs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ Instead, enable and disable AddressSanitizer by setting the required compiler an
443443

444444
You can add the following sample to *`CMakeLists.txt`* to enable or disable AddressSanitizer for a target:
445445

446-
```cmd
446+
```txt
447447
option(ASAN_ENABLED "Build this target with AddressSanitizer" ON)
448448
449449
if(ASAN_ENABLED)

docs/build/cmake-projects-in-visual-studio.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ When you build for Windows using the MSVC compiler, CMake projects have support
148148

149149
When you build for Windows with the MSVC compiler, CMake projects have support for Edit and Continue. Add the following code to your *`CMakeLists.txt`* file to enable Edit and Continue.
150150

151-
```
151+
```txt
152152
if(MSVC)
153153
target_compile_options(<target> PUBLIC "/ZI")
154154
target_link_options(<target> PUBLIC "/INCREMENTAL")

0 commit comments

Comments
 (0)