From 0fbdc58f4f3bfb5deda4a5a43af817df0054746e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gon=C3=A7alo=20Negrier=20Duarte?= Date: Thu, 22 Aug 2024 17:59:55 +0100 Subject: [PATCH] update .gitignore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Gonçalo Negrier Duarte --- .gitignore | 3 + .vscode/c_cpp_properties.json | 38 +++++------- .vscode/settings.json | 114 +++++++++++++++++----------------- 3 files changed, 77 insertions(+), 78 deletions(-) diff --git a/.gitignore b/.gitignore index 52cdb669..7bafb246 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,6 @@ +# Vscode +.vscode/ + # Python __pycache__/ diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json index a4c50e72..c2098a2d 100644 --- a/.vscode/c_cpp_properties.json +++ b/.vscode/c_cpp_properties.json @@ -1,22 +1,18 @@ { - "configurations": [ - { - "name": "Linux", - "includePath": [ - "${workspaceFolder}/**", - "/usr/include", - "/usr/local/include", - "/usr/src/linux-headers-5.19.0-28/include", - "/usr/src/linux-headers-5.19.0-28-generic/include", - "/usr/src/linux-headers-5.19.0-28/arch/x86/include", - "/usr/lib/gcc/x86_64-linux-gnu/12/include/" - ], - "defines": [], - "compilerPath": "/usr/bin/gcc", - "cStandard": "c99", - "cppStandard": "c++14", - "intelliSenseMode": "clang-x64" - } - ], - "version": 4 -} + "configurations": [ + { + "name": "linux-gcc-x64", + "includePath": [ + "${workspaceFolder}/**" + ], + "compilerPath": "/usr/bin/gcc", + "cStandard": "${default}", + "cppStandard": "${default}", + "intelliSenseMode": "linux-gcc-x64", + "compilerArgs": [ + "" + ] + } + ], + "version": 4 +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json index 132d52d8..3e5eb956 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,59 +1,59 @@ { - "files.associations": { - "hwmon-sysfs.h": "c", - "acpi.h": "c", - "device.h": "c", - "system_error": "c", - "array": "c", - "functional": "c", - "tuple": "c", - "type_traits": "c", - "utility": "c", - "hash_map": "c", - "string_view": "c", - "initializer_list": "c", - "algorithm": "c", - "atomic": "c", - "bit": "c", - "*.tcc": "c", - "cctype": "c", - "cerrno": "c", - "cfloat": "c", - "climits": "c", - "clocale": "c", - "cmath": "c", - "compare": "c", - "concepts": "c", - "cstdarg": "c", - "cstddef": "c", - "cstdint": "c", - "cstdio": "c", - "cstdlib": "c", - "cwchar": "c", - "cwctype": "c", - "deque": "c", - "list": "c", - "string": "c", - "unordered_map": "c", - "vector": "c", - "exception": "c", - "iterator": "c", - "memory": "c", - "memory_resource": "c", - "numeric": "c", - "random": "c", - "ios": "c", - "iosfwd": "c", - "limits": "c", - "new": "c", - "numbers": "c", - "ostream": "c", - "queue": "c", - "stdexcept": "c", - "streambuf": "c", - "typeinfo": "c", - "debugfs.h": "c", - "kernel.h": "c", - "leds.h": "c" - } + "C_Cpp_Runner.cCompilerPath": "gcc", + "C_Cpp_Runner.cppCompilerPath": "g++", + "C_Cpp_Runner.debuggerPath": "gdb", + "C_Cpp_Runner.cStandard": "", + "C_Cpp_Runner.cppStandard": "", + "C_Cpp_Runner.msvcBatchPath": "", + "C_Cpp_Runner.useMsvc": false, + "C_Cpp_Runner.warnings": [ + "-Wall", + "-Wextra", + "-Wpedantic", + "-Wshadow", + "-Wformat=2", + "-Wcast-align", + "-Wconversion", + "-Wsign-conversion", + "-Wnull-dereference" + ], + "C_Cpp_Runner.msvcWarnings": [ + "/W4", + "/permissive-", + "/w14242", + "/w14287", + "/w14296", + "/w14311", + "/w14826", + "/w44062", + "/w44242", + "/w14905", + "/w14906", + "/w14263", + "/w44265", + "/w14928" + ], + "C_Cpp_Runner.enableWarnings": true, + "C_Cpp_Runner.warningsAsError": false, + "C_Cpp_Runner.compilerArgs": [], + "C_Cpp_Runner.linkerArgs": [], + "C_Cpp_Runner.includePaths": [], + "C_Cpp_Runner.includeSearch": [ + "*", + "**/*" + ], + "C_Cpp_Runner.excludeSearch": [ + "**/build", + "**/build/**", + "**/.*", + "**/.*/**", + "**/.vscode", + "**/.vscode/**" + ], + "C_Cpp_Runner.useAddressSanitizer": false, + "C_Cpp_Runner.useUndefinedSanitizer": false, + "C_Cpp_Runner.useLeakSanitizer": false, + "C_Cpp_Runner.showCompilationTime": false, + "C_Cpp_Runner.useLinkTimeOptimization": false, + "C_Cpp_Runner.msvcSecureNoWarnings": false } \ No newline at end of file