c_cpp_properties.json:

 1 {
 2   "configurations": [
 3     {
 4       "name": "Win32",
 5       "windowsSdkVersion": "10.0.18362.0",
 6       "compilerPath": "D:/ProgramData/Microsoft/VisualStudio/IDE/VC/Tools/MSVC/14.23.28105/bin/Hostx64/x64/cl.exe",
 7       "includePath": [
 8         "${workspaceFolder}/third_party/SDL2-2.0.10/include",
 9         "${workspaceFolder}/third_party/ffmpeg-4.2-win64/include"
10       ],
11       "defines": ["_DEBUG", "UNICODE", "_UNICODE"],
12       "intelliSenseMode": "msvc-x64"
13     }
14   ],
15   "version": 4
16 }

tasks.json:

 1 {
 2   "tasks": [
 3     {
 4       "type": "shell",
 5       "label": "msvc build",
 6       "command": "build.bat",
 7       "args": ["${fileBasename}", "build", "${fileBasenameNoExtension}"],
 8       "group": {
 9         "kind": "build",
10         "isDefault": true
11       },
12       "presentation": {
13         "echo": true,
14         "reveal": "always",
15         "focus": false,
16         "panel": "shared",
17         "showReuseMessage": true,
18         "clear": false
19       },
20       "problemMatcher": "$msCompile"
21     }
22   ],
23   "version": "2.0.0"
24 }

launch.json:

 1 {
 2   // 使用 IntelliSense 了解相关属性。
 3   // 悬停以查看现有属性的描述。
 4   // 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
 5   "version": "0.2.0",
 6   "configurations": [
 7     {
 8       "name": "(msvc) Launch",
 9       "type": "cppvsdbg",
10       "request": "launch",
11       "program": "${fileBasenameNoExtension}.exe",
12       "args": ["../sample.mp4"],
13       "stopAtEntry": false,
14       "cwd": "${workspaceFolder}\\build",
15       "environment": [],
16       "externalConsole": false,
17       "preLaunchTask": "msvc build"
18     }
19   ]
20 }

settings.json:

1 {
2   "terminal.integrated.shell.windows": "C:/WINDOWS/System32/cmd.exe"
3 }
12-14 05:47