diff options
Diffstat (limited to '.vscode')
| -rw-r--r-- | .vscode/settings.json | 16 | ||||
| -rw-r--r-- | .vscode/tasks.json | 22 |
2 files changed, 37 insertions, 1 deletions
diff --git a/.vscode/settings.json b/.vscode/settings.json index c6de33c..20be1c4 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,7 +1,21 @@ { - "C_Cpp.default.configurationProvider": "vector-of-bool.cmake-tools", + "C_Cpp.default.configurationProvider": "go2sh.cmake-integration", "C_Cpp.default.cppStandard": "c++17", "C_Cpp.configurationWarnings": "Disabled", "C_Cpp.autoAddFileAssociations": false, "C_Cpp.clang_format_style": "file", + + "cmake.cpptools.guessSourceFileConfigurations": true, + "cmake.cpptools.languageConfiguration.CXX": { + "intelliSenseMode": "gcc-x64", + }, + "cmake.configureArguments": "-DCMAKE_BUILD_TYPE=RelWithDebInfo", + "cmake.buildArguments": "--parallel", + "cmake.default.cacheEntries": [ + { + "name": "CMAKE_INSTALL_PREFIX", + "type": "PATH", + "value": "${env:HOME}/.local" + } + ] }
\ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..dc6c7aa --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,22 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "label": "install", + "type": "shell", + "command": "cmake", + "args": [ + "--build", + "${workspaceFolder}/build", + "--target", + "install", + "--parallel" + ], + "group": "build", + "presentation": { + "reveal": "silent" + }, + "problemMatcher": "$gcc" + } + ] +}
\ No newline at end of file |
