Skip to content

Commit 990dc01

Browse files
committed
update figure
1 parent b49db84 commit 990dc01

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed
21.7 KB
Loading

src/docs/use_cmake.mdx

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ cmake --build build
339339

340340
之后,我们可以运行刚刚编译好的程序。直接运行 <Show when="mac | linux"> `./build/HelloWorld` </Show> <Show when="windows, gcc"> `.\build\HelloWorld.exe` </Show> <Show when="msvc"> `.\build\Debug\HelloWorld.exe` </Show> 即可看到输出。
341341

342-
<Show when="mac | linux | windows, gcc">
342+
<Show when="mac | linux">
343343

344344
![CMake Hello World Output](./assets/cmake_helloworld_output1.png)
345345

@@ -351,6 +351,12 @@ cmake --build build
351351

352352
</Show>
353353

354+
<Show when="windows, gcc">
355+
356+
![CMake Hello World Output](./assets/cmake_helloworld_output3.png)
357+
358+
</Show>
359+
354360
</Show>
355361

356362
<Show when="cmake">
@@ -414,4 +420,4 @@ Visual Studio Code,简称 VSCode,是一个由微软公司开发的功能强
414420

415421
</Show>
416422

417-
</Show>
423+
</Show>

0 commit comments

Comments
 (0)