vault backup: 2025-05-05 10:35:54
Affected files: 22.01. 軟體工具、設定/Visual Stuio Code + Msys2.md
This commit is contained in:
@@ -6,5 +6,8 @@ time: 10:24:09
|
|||||||
description:
|
description:
|
||||||
---
|
---
|
||||||
|
|
||||||
|
基本上不用設定,在安裝好 Msys2 之後,選擇 `Run C/C++ File` 或是 `Debug C/C++ File` 會跳出選擇框讓你選擇你要用那一個 compiler 來編譯,選擇之後會產生 `.vscode/task.json`。這個檔案就是設定如何編譯、debug的地方。
|
||||||
|
|
||||||
# 參考來源
|
`.vscode/task.json` 裡面可以設定多個 task 來應對不一樣的 compile 方式。詳細看官方:[Using GCC with MinGW](https://code.visualstudio.com/docs/cpp/config-mingw)
|
||||||
|
|
||||||
|
# 參考來源
|
||||||
|
|||||||
Reference in New Issue
Block a user