Commit 19e2abad4d332e76166fc9cbfa1415ba9597fdd4
1 parent
f1432c56
Exists in
master
and in
1 other branch
Adjustments for build in MSVC.
Showing
2 changed files
with
51 additions
and
0 deletions
Show diff stats
| @@ -0,0 +1,23 @@ | @@ -0,0 +1,23 @@ | ||
| 1 | +{ | ||
| 2 | + "configurations": [ | ||
| 3 | + { | ||
| 4 | + "name": "Win32", | ||
| 5 | + "includePath": [ | ||
| 6 | + "${workspaceFolder}/**", | ||
| 7 | + "${vcpkgRoot}/x64-windows/include", | ||
| 8 | + "${vcpkgRoot}/x64-windows-static/include" | ||
| 9 | + ], | ||
| 10 | + "defines": [ | ||
| 11 | + "_DEBUG", | ||
| 12 | + "UNICODE", | ||
| 13 | + "_UNICODE" | ||
| 14 | + ], | ||
| 15 | + "windowsSdkVersion": "10.0.18362.0", | ||
| 16 | + "compilerPath": "C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.23.28105/bin/Hostx64/x64/cl.exe", | ||
| 17 | + "cStandard": "c11", | ||
| 18 | + "cppStandard": "c++17", | ||
| 19 | + "intelliSenseMode": "msvc-x64" | ||
| 20 | + } | ||
| 21 | + ], | ||
| 22 | + "version": 4 | ||
| 23 | +} | ||
| 0 | \ No newline at end of file | 24 | \ No newline at end of file |
| @@ -0,0 +1,28 @@ | @@ -0,0 +1,28 @@ | ||
| 1 | +// See https://go.microsoft.com/fwlink/?LinkId=733558 | ||
| 2 | +// for the documentation about the tasks.json format | ||
| 3 | +{ | ||
| 4 | + "version": "2.0.0", | ||
| 5 | + "tasks": [ | ||
| 6 | + { | ||
| 7 | + "label": "msvc build", | ||
| 8 | + "type": "shell", | ||
| 9 | + "command": "cl.exe", | ||
| 10 | + "args": [ | ||
| 11 | + "/favor:AMD64", | ||
| 12 | + "/c", | ||
| 13 | + "/I","${workspaceFolder}/src/include", | ||
| 14 | + "/I","${env:VCPKG_ROOT}/x64-windows/include", | ||
| 15 | + "/I","${env:VCPKG_ROOT}/x64-windows-static/include", | ||
| 16 | + "${file}" | ||
| 17 | + ], | ||
| 18 | + "group": { | ||
| 19 | + "kind": "build", | ||
| 20 | + "isDefault": true | ||
| 21 | + }, | ||
| 22 | + "presentation": { | ||
| 23 | + "reveal": "always" | ||
| 24 | + }, | ||
| 25 | + "problemMatcher": "$msCompile" | ||
| 26 | + } | ||
| 27 | + ] | ||
| 28 | + } | ||
| 0 | \ No newline at end of file | 29 | \ No newline at end of file |