Initial commit
This commit is contained in:
59
.vscode/c_cpp_properties.json
vendored
Normal file
59
.vscode/c_cpp_properties.json
vendored
Normal file
@@ -0,0 +1,59 @@
|
||||
{
|
||||
"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
|
||||
}
|
||||
Reference in New Issue
Block a user