This commit is contained in:
2020-08-19 21:53:42 +01:00
parent 28d25dff1c
commit ef2a51644c
4 changed files with 133 additions and 0 deletions

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

@@ -0,0 +1,49 @@
{
"configurations": [
{
"name": "Linux",
"includePath": [
"${workspaceRoot}",
"/usr/include",
"/usr/local/include"
],
"defines": [],
"browse": {
"path": [
"/usr/include",
"/usr/local/include"
],
"limitSymbolsToIncludedHeaders": true,
"databaseFilename": ""
},
"intelliSenseMode": "clang-x64",
"compilerPath": "/bin/clang",
"cStandard": "c11",
"cppStandard": "c++20"
},
{
"name": "Win32",
"includePath": [
"${workspaceRoot}",
"C:\\bin\\msvc2017\\community\\VC\\Tools\\MSVC\\14.12.25827\\include"
],
"defines": [
"_DEBUG",
"UNICODE"
],
"browse": {
"path": [
"${workspaceRoot}",
"C:\\bin\\msvc2017\\community\\VC\\Tools\\MSVC\\14.12.25827\\include"
],
"limitSymbolsToIncludedHeaders": true,
"databaseFilename": ""
},
"intelliSenseMode": "msvc-x64",
"compilerPath": "/bin/clang",
"cStandard": "c11",
"cppStandard": "c++14"
}
],
"version": 4
}

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

@@ -0,0 +1,49 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Python",
"type": "python",
"request": "launch",
"stopOnEntry": true,
"pythonPath": "${config:python.pythonPath}",
"program": "${file}",
"cwd": "${workspaceFolder}",
"env": {},
"envFile": "${workspaceFolder}/.env",
"debugOptions": [
"RedirectOutput"
]
},
{
"name": "Debug (CLang-Linux)",
"type": "cppdbg",
"request": "launch",
"program": "${fileDirname}/${fileBasenameNoExtension}",
"args": [],
"cwd": "${fileDirname}",
"MIMode": "lldb",
"externalConsole": false,
"stopAtEntry": true,
"miDebuggerPath": "/usr/local/bin/lldb-mi",
"preLaunchTask": "C/C++: clang++ build active file"
},
{
"name": "C++ Launch (Windows)",
"type": "cppvsdbg",
"request": "launch",
"program": "enter program name, for example ${workspaceRoot}/${file}.exe",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceRoot}",
"environment": [],
"externalConsole": false
},
{
"name": "C++ Attach (Windows)",
"type": "cppvsdbg",
"request": "attach",
"processId": "${command:pickProcess}"
}
]
}

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

@@ -0,0 +1,8 @@
{
"files.associations": {
"vector": "cpp",
"iostream": "cpp",
"xutility": "cpp"
},
"python.pythonPath": "C:\\bin\\python-3.6\\python.exe"
}

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

@@ -0,0 +1,27 @@
{
"version": "2.0.0",
"tasks": [
{
"type": "shell",
"label": "C/C++: clang++ build active file",
"command": "/bin/clang++",
"args": [
"-std=c++20",
"-g",
"${file}",
"-o",
"${fileDirname}/${fileBasenameNoExtension}"
],
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": [
"$gcc"
],
"group": {
"kind": "build",
"isDefault": true
}
}
]
}