Skip to content

Instantly share code, notes, and snippets.

@mpusz
Created February 8, 2019 20:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mpusz/662b7773053fcc48134ebd21a1eb9710 to your computer and use it in GitHub Desktop.
Save mpusz/662b7773053fcc48134ebd21a1eb9710 to your computer and use it in GitHub Desktop.
VS Code C++ Configuration
{
"env" : {
"includePath": [
"${workspaceFolder}/**"
],
"defines": []
},
"configurations": [
{
"name": "Win32",
"intelliSenseMode": "msvc-x64",
"compilerPath": "C:/Program Files (x86)/Microsoft Visual Studio/2017/Professional/VC/Tools/MSVC/14.16.27023/bin/Hostx64/x64/cl.exe",
"cStandard": "c11",
"cppStandard": "c++17",
"windowsSdkVersion": "10.0.17763.0",
"includePath": [
"${env:includePath}"
],
"defines": [
"${env:defines}",
"_DEBUG",
"UNICODE",
"_UNICODE"
],
"configurationProvider": "vector-of-bool.cmake-tools",
"compileCommands": "${workspaceFolder}/build/compile_commands.json"
},
{
"name": "MinGW",
"intelliSenseMode": "gcc-x64",
"compilerPath": "C:/Program Files/mingw-w64/bin/gcc.exe",
"cStandard": "c11",
"cppStandard": "c++17",
"includePath": [ "${env:includePath}" ],
"defines": [ "${env:defines}" ]
},
{
"name": "WSL-gcc48",
"intelliSenseMode": "gcc-x64",
"compilerPath": "/usr/bin/gcc-4.8",
"cStandard": "c11",
"cppStandard": "c++11",
"includePath": [ "${env:includePath}" ],
"defines": [ "${env:defines}" ]
},
{
"name": "WSL-gcc8",
"intelliSenseMode": "gcc-x64",
"compilerPath": "/usr/bin/gcc-8",
"cStandard": "c11",
"cppStandard": "c++17",
"includePath": [ "${env:includePath}" ],
"defines": [ "${env:defines}" ]
}
],
"version": 4
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment