Last active
April 13, 2019 06:00
-
-
Save lingmujianshi/c70b81a43c7042b608dde9c5bedcdd6a to your computer and use it in GitHub Desktop.
vscode win setting
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"configurations": [ | |
{ | |
"name": "Win32", | |
"includePath": [ | |
"${workspaceFolder}/**" | |
], | |
"defines": [ | |
"_DEBUG", | |
"UNICODE", | |
"_UNICODE" | |
], | |
"windowsSdkVersion": "10.0.17763.0", | |
"compilerPath": "C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx64/x64/cl.exe", | |
"cStandard": "c11", | |
"cppStandard": "c++17", | |
"intelliSenseMode": "msvc-x64" | |
} | |
], | |
"version": 4 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// Use IntelliSense to learn about possible attributes. | |
// Hover to view descriptions of existing attributes. | |
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "(msvc) Launch", | |
"type": "cppvsdbg", | |
"request": "launch", | |
//"preLaunchTask": "msvc build",//デバック前にコンパイル | |
"program": "${workspaceFolder}/main.exe", | |
"args": [], | |
"stopAtEntry": false,//エントリーポンとから停止する。 | |
"cwd": "${workspaceFolder}", | |
"environment": [], | |
"externalConsole": true //外部ターミナルを起動する | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// See https://go.microsoft.com/fwlink/?LinkId=733558 | |
// for the documentation about the tasks.json format | |
"version": "2.0.0", | |
"tasks": [ | |
{ | |
"label": "msvc build", | |
"type": "shell", | |
"command": "cl.exe", | |
"args": [ | |
"/EHsc", | |
"/Zi", | |
"/Fe:", | |
"main.exe", | |
"main.cpp" | |
], | |
"group": { | |
"kind": "build", | |
"isDefault": true | |
}, | |
"presentation": { | |
"reveal": "always", | |
}, | |
"problemMatcher":"$msCompile" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment