Add VSCODE settings

This commit is contained in:
Serge Lamikhov-Center 2020-02-22 11:29:45 +02:00
parent 46d081d5df
commit 1a5ac38fae
4 changed files with 81 additions and 0 deletions

17
.vscode/c_cpp_properties.json vendored Normal file
View File

@ -0,0 +1,17 @@
{
"configurations": [
{
"name": "Linux",
"includePath": [
"${workspaceFolder}/**",
"/home/user/boost_1_72_0"
],
"defines": [],
"compilerPath": "/usr/bin/gcc",
"cStandard": "c11",
"cppStandard": "c++17",
"intelliSenseMode": "clang-x64"
}
],
"version": 4
}

29
.vscode/launch.json vendored Normal file
View File

@ -0,0 +1,29 @@
{
// 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": "g++ build and debug active file",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/ELFIOTest/ELFIOTest",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}/ELFIOTest",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
],
"preLaunchTask": "g++ build",
"miDebuggerPath": "/usr/bin/gdb"
}
]
}

14
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,14 @@
{
"files.associations": {
"*.ipp": "cpp",
"strstream": "cpp",
"cerrno": "cpp",
"csetjmp": "cpp",
"cstdarg": "cpp",
"rope": "cpp",
"iostream": "cpp",
"streambuf": "cpp",
"*.tcc": "cpp",
"regex": "cpp"
}
}

21
.vscode/tasks.json vendored Normal file
View File

@ -0,0 +1,21 @@
{
"tasks": [
{
"type": "shell",
"label": "g++ build",
"command": "make",
"args": [
"INCLUDES=-I..",
"CXXFLAGS='-g -O0'"
],
"options": {
"cwd": "${workspaceRoot}/ELFIOTest",
},
"group": {
"kind": "build",
"isDefault": true
}
}
],
"version": "2.0.0"
}