diff --git a/.gitignore b/.gitignore index 5eb2a57..e1f08d8 100644 --- a/.gitignore +++ b/.gitignore @@ -54,6 +54,4 @@ test_doc.vkn *keybinds *.rdi -.vscode - google_trace.json \ No newline at end of file diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json new file mode 100644 index 0000000..585d267 --- /dev/null +++ b/.vscode/c_cpp_properties.json @@ -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 +} \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..ff8b68d --- /dev/null +++ b/.vscode/launch.json @@ -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" + } + ] +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..ed49e7c --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "C_Cpp.errorSquiggles": "disabled" +} \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..20856f4 --- /dev/null +++ b/.vscode/tasks.json @@ -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, + } + } + ] +}