forked from Bananymous/banan-os
General: Add default .vscode directory
The .vscode contains 2 C++ profiles that use my custom toolchain and correct library include paths. One configuration is for kernel and other for userspace
This commit is contained in:
parent
ad6d95ba52
commit
d5daa46ab8
|
@ -0,0 +1,36 @@
|
|||
{
|
||||
"configurations": [
|
||||
{
|
||||
"name": "banan-os",
|
||||
"includePath": [
|
||||
"${workspaceFolder}/BAN/include",
|
||||
"${workspaceFolder}/kernel/include",
|
||||
"${workspaceFolder}/userspace/libraries/*/include"
|
||||
],
|
||||
"defines": [
|
||||
"__arch=x86_64"
|
||||
],
|
||||
"compilerPath": "${workspaceFolder}/toolchain/local/bin/x86_64-banan_os-gcc",
|
||||
"cStandard": "c17",
|
||||
"cppStandard": "gnu++20",
|
||||
"intelliSenseMode": "linux-gcc-x64"
|
||||
},
|
||||
{
|
||||
"name": "banan-os-kernel",
|
||||
"includePath": [
|
||||
"${workspaceFolder}/BAN/include",
|
||||
"${workspaceFolder}/kernel/include",
|
||||
"${workspaceFolder}/userspace/libraries/*/include"
|
||||
],
|
||||
"defines": [
|
||||
"__arch=x86_64",
|
||||
"__is_kernel"
|
||||
],
|
||||
"compilerPath": "${workspaceFolder}/toolchain/local/bin/x86_64-banan_os-gcc",
|
||||
"cStandard": "c17",
|
||||
"cppStandard": "gnu++20",
|
||||
"intelliSenseMode": "linux-gcc-x64"
|
||||
}
|
||||
],
|
||||
"version": 4
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"cmake.configureOnOpen": false,
|
||||
"editor.tabSize": 4,
|
||||
"editor.insertSpaces": false,
|
||||
"editor.detectIndentation": false
|
||||
}
|
Loading…
Reference in New Issue