commit .vscode for easier setup
This commit is contained in:
parent
0fad72aa09
commit
1fba52ad7a
5 changed files with 59 additions and 2 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -54,6 +54,4 @@ test_doc.vkn
|
||||||
*keybinds
|
*keybinds
|
||||||
*.rdi
|
*.rdi
|
||||||
|
|
||||||
.vscode
|
|
||||||
|
|
||||||
google_trace.json
|
google_trace.json
|
18
.vscode/c_cpp_properties.json
vendored
Normal file
18
.vscode/c_cpp_properties.json
vendored
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
{
|
||||||
|
"configurations": [
|
||||||
|
{
|
||||||
|
"name": "Win32",
|
||||||
|
"includePath": [
|
||||||
|
"${workspaceFolder}/**"
|
||||||
|
],
|
||||||
|
"defines": ["DEBUG"],
|
||||||
|
"forcedInclude": [
|
||||||
|
"build.c"
|
||||||
|
],
|
||||||
|
"intelliSenseMode": "clang-x64",
|
||||||
|
"compilerPath": "C:/Program Files/LLVM/bin/clang",
|
||||||
|
"cStandard": "c11"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"version": 4
|
||||||
|
}
|
17
.vscode/launch.json
vendored
Normal file
17
.vscode/launch.json
vendored
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
{
|
||||||
|
"version": "0.2.0",
|
||||||
|
"configurations": [
|
||||||
|
{
|
||||||
|
"name": "Launch with MSVC Debugger",
|
||||||
|
"type": "cppvsdbg",
|
||||||
|
"request": "launch",
|
||||||
|
"program": "${workspaceFolder}/build/cgame.exe", // Run the output executable after compile
|
||||||
|
"args": [],
|
||||||
|
"stopAtEntry": false,
|
||||||
|
"cwd": "${workspaceFolder}",
|
||||||
|
"environment": [],
|
||||||
|
"console":"integratedTerminal",
|
||||||
|
// "preLaunchTask": "Compile"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
3
.vscode/settings.json
vendored
Normal file
3
.vscode/settings.json
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"C_Cpp.errorSquiggles": "disabled"
|
||||||
|
}
|
21
.vscode/tasks.json
vendored
Normal file
21
.vscode/tasks.json
vendored
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
{
|
||||||
|
"version": "2.0.0",
|
||||||
|
"tasks": [
|
||||||
|
{
|
||||||
|
"label": "Compile",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "${workspaceFolder}\\build",
|
||||||
|
"group": {
|
||||||
|
"kind": "build",
|
||||||
|
"isDefault": true
|
||||||
|
},
|
||||||
|
"problemMatcher": ["$gcc"],
|
||||||
|
"presentation": {
|
||||||
|
"clear": true,
|
||||||
|
// "revealProblems": "onProblem",
|
||||||
|
// "close": false,
|
||||||
|
// "showReuseMessage": true,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
Reference in a new issue