diff --git a/.gitignore b/.gitignore index 368f697..494554f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,2 @@ -.vscode/ .cache/ build/ \ 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..62b2a81 --- /dev/null +++ b/.vscode/c_cpp_properties.json @@ -0,0 +1,20 @@ +{ + "configurations": [ + { + "name": "WSL", + "includePath": [ + "${workspaceFolder}/**", + "${workspaceFolder}/include", + "${workspaceFolder}/third_party/nanobench/src/include", + "${workspaceFolder}/third_party/doctest/doctest" + ], + "defines": [], + "compilerPath": "/usr/bin/clang++", + "cStandard": "c11", + "cppStandard": "c++20", + "intelliSenseMode": "linux-clang-x64", + "compileCommands": "${workspaceFolder}/build/compile_commands.json" + } + ], + "version": 4 +} diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..6dec7f1 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,12 @@ +{ + "files.associations": { + "algorithm": "cc", + "map": "cc", + "unordered_set": "cc", + "ostream": "cc" + }, + "clangd.arguments": [ + "--compile-commands-dir=${workspaceFolder}/build" + ], + "clangd.onConfigChanged": "restart" +} \ No newline at end of file