1
0
mirror of https://github.com/cathery/sys-con.git synced 2024-11-19 05:09:49 +00:00

Add .vscode properties

This commit is contained in:
cathery 2019-12-08 21:46:22 +03:00
parent 677f5cd7f4
commit 1985319a6a
4 changed files with 175 additions and 1 deletions

1
.gitignore vendored
View File

@ -6,7 +6,6 @@ buildSysmodule/*
*.nsp
*.npdm
*.nso
.vscode
*.code-workspace
*.flag
*.rar

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

@ -0,0 +1,26 @@
{
"configurations": [
{
"name": "AArch64 libnx",
"includePath": [
"${workspaceFolder}/build",
"${DEVKITPRO}/devkitA64/lib/gcc/aarch64-none-elf/*/include/",
"${DEVKITPRO}/devkitA64/aarch64-none-elf/include/",
"${DEVKITPRO}/portlibs/switch/include/",
"${DEVKITPRO}/libnx/include/",
"ControllerUSB/include",
"SwitchUSB/include",
"inih/"
],
"defines": [
"SWITCH",
"__SWITCH__"
],
"compilerPath": "${DEVKITPRO}/devkitA64/bin/aarch64-none-elf-g++",
"cStandard": "c11",
"cppStandard": "c++17",
"intelliSenseMode": "gcc-x64"
}
],
"version": 4
}

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

@ -0,0 +1,52 @@
{
"files.associations": {
"array": "cpp",
"*.tcc": "cpp",
"cctype": "cpp",
"clocale": "cpp",
"cmath": "cpp",
"cstdarg": "cpp",
"cstdint": "cpp",
"cstdio": "cpp",
"cstdlib": "cpp",
"cstring": "cpp",
"cwchar": "cpp",
"cwctype": "cpp",
"unordered_map": "cpp",
"vector": "cpp",
"exception": "cpp",
"fstream": "cpp",
"initializer_list": "cpp",
"iosfwd": "cpp",
"istream": "cpp",
"limits": "cpp",
"new": "cpp",
"optional": "cpp",
"ostream": "cpp",
"sstream": "cpp",
"stdexcept": "cpp",
"streambuf": "cpp",
"string_view": "cpp",
"system_error": "cpp",
"type_traits": "cpp",
"tuple": "cpp",
"typeinfo": "cpp",
"utility": "cpp",
"atomic": "cpp",
"chrono": "cpp",
"cstddef": "cpp",
"ctime": "cpp",
"deque": "cpp",
"algorithm": "cpp",
"functional": "cpp",
"iterator": "cpp",
"memory": "cpp",
"memory_resource": "cpp",
"numeric": "cpp",
"random": "cpp",
"ratio": "cpp",
"string": "cpp",
"thread": "cpp"
},
"C_Cpp.dimInactiveRegions": true
}

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

@ -0,0 +1,97 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "Build Sysmodule",
"type": "shell",
"promptOnClose": true,
"command": "make sysmodule -j8",
"presentation": {
"reveal": "always",
"panel": "shared"
},
"problemMatcher": {
"owner": "cpp",
"pattern": {
"regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$",
"file": 1,
"line": 2,
"column": 3,
"severity": 4,
"message": 5
}
},
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "Build Applet",
"type": "shell",
"promptOnClose": true,
"command": "make applet -j8",
"presentation": {
"reveal": "always",
"panel": "shared"
},
"problemMatcher": {
"owner": "cpp",
"pattern": {
"regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$",
"file": 1,
"line": 2,
"column": 3,
"severity": 4,
"message": 5
}
},
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "Clean Applet",
"type": "shell",
"promptOnClose": true,
"command": "make cleanApplet -j8",
"presentation": {
"reveal": "always",
"panel": "new"
},
"problemMatcher": {
"owner": "cpp",
"pattern": {
"regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$",
"file": 1,
"line": 2,
"column": 3,
"severity": 4,
"message": 5
}
}
},
{
"label": "Clean Sysmodule",
"type": "shell",
"promptOnClose": true,
"command": "make cleanSysmodule -j8",
"presentation": {
"reveal": "always",
"panel": "new"
},
"problemMatcher": {
"owner": "cpp",
"pattern": {
"regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$",
"file": 1,
"line": 2,
"column": 3,
"severity": 4,
"message": 5
}
}
}
]
}