improved formatting and fixed clangd includes
This commit is contained in:
79
.vscode/c_cpp_properties.json
vendored
79
.vscode/c_cpp_properties.json
vendored
@@ -1,59 +1,22 @@
|
||||
{
|
||||
"env": {
|
||||
"myIncludePath": ["${workspaceFolder}/include", "${workspaceFolder}/src"],
|
||||
"myDefines": ["DEBUG", "MY_FEATURE=1"]
|
||||
},
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Linux",
|
||||
"compilerPath": "/usr/bin/avr-gcc",
|
||||
"compilerArgs": ["-mmcu=atmega8", "-DF_CPU=16000000UL", "-Os"],
|
||||
"intelliSenseMode": "linux-gcc-x86",
|
||||
"includePath": ["${myIncludePath}", "/usr/include"],
|
||||
"defines": ["${myDefines}"],
|
||||
"cStandard": "gnu11",
|
||||
"cppStandard": "gnu++14",
|
||||
"configurationProvider": "ms-vscode.cmake-tools",
|
||||
"forcedInclude": ["${workspaceFolder}/common.h"],
|
||||
"compileCommands": "${workspaceFolder}/build/compile_commands.json",
|
||||
"dotConfig": "${workspaceFolder}/.config",
|
||||
"mergeConfigurations": true,
|
||||
"customConfigurationVariables": {
|
||||
"myVar": "myvalue"
|
||||
},
|
||||
"browse": {
|
||||
"path": ["${myIncludePath}", "/usr/include", "${workspaceFolder}"],
|
||||
"limitSymbolsToIncludedHeaders": true,
|
||||
"databaseFilename": "${workspaceFolder}/.vscode/browse.vc.db"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Mac",
|
||||
"compilerPath": "/usr/bin/clang",
|
||||
"intelliSenseMode": "macos-clang-x64",
|
||||
"includePath": ["${myIncludePath}"],
|
||||
"defines": ["${myDefines}"],
|
||||
"cStandard": "c11",
|
||||
"cppStandard": "c++17",
|
||||
"macFrameworkPath": ["/System/Library/Frameworks", "/Library/Frameworks"],
|
||||
"browse": {
|
||||
"path": ["${myIncludePath}", "${workspaceFolder}"]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Win32",
|
||||
"compilerPath": "C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.28.29333/bin/Hostx64/x64/cl.exe",
|
||||
"intelliSenseMode": "windows-msvc-x64",
|
||||
"includePath": ["${myIncludePath}"],
|
||||
"defines": ["${myDefines}", "_WINDOWS"],
|
||||
"cStandard": "c17",
|
||||
"cppStandard": "c++20",
|
||||
"windowsSdkVersion": "10.0.19041.0",
|
||||
"browse": {
|
||||
"path": ["${myIncludePath}", "${workspaceFolder}"]
|
||||
}
|
||||
}
|
||||
],
|
||||
"version": 4,
|
||||
"enableConfigurationSquiggles": true
|
||||
}
|
||||
"env": {
|
||||
"arduino_path": "/home/dennisgunia/.arduino15/packages/arduino",
|
||||
"arduino_avr_include2_path": "${env:arduino_path}/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/avr/include"
|
||||
},
|
||||
"configurations": [
|
||||
{
|
||||
"name": "linux-gcc-x64",
|
||||
"compilerPath": "/usr/bin/gcc",
|
||||
"includePath": [
|
||||
"${workspaceFolder}/**",
|
||||
"~/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/avr/include"
|
||||
],
|
||||
"defines": [],
|
||||
"cStandard": "c11",
|
||||
"cppStandard": "c++20",
|
||||
"intelliSenseMode": "linux-gcc-x64"
|
||||
}
|
||||
],
|
||||
"version": 4,
|
||||
"enableConfigurationSquiggles": true
|
||||
}
|
||||
Reference in New Issue
Block a user