diff options
author | dec05eba <dec05eba@protonmail.com> | 2018-09-23 12:22:37 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-07-06 07:39:33 +0200 |
commit | 5006226e945fc645e6d9b21252c9eee53cc191cc (patch) | |
tree | 94371016233562351d70fb3b9ff312c6dacd9bb4 /.vscode | |
parent | 8fdc481d78a0426f6dbf235e872c3798ec57251e (diff) |
Fix various things, add generated zig header files to global include
Fix compile_commands.json missing build steps.
Fix c includes -> zig includes flags.
Fix crash when running sibs new/init without defining lang.
Add generated zig header files to global include so they can be used
from c/c++.
Add zig and zig/c (using zig and c in the same project) examples.
Diffstat (limited to '.vscode')
-rw-r--r-- | .vscode/c_cpp_properties.json | 7 | ||||
-rw-r--r-- | .vscode/settings.json | 35 |
2 files changed, 20 insertions, 22 deletions
diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json index 7748b8f..6ffabe5 100644 --- a/.vscode/c_cpp_properties.json +++ b/.vscode/c_cpp_properties.json @@ -6,12 +6,11 @@ "${workspaceFolder}/**" ], "defines": [], - "compilerPath": "/usr/bin/gcc", + "compilerPath": "/opt/cuda/bin/gcc", "cStandard": "c11", - "cppStandard": "c++14", + "cppStandard": "c++17", "intelliSenseMode": "clang-x64", - "compileCommands": "${workspaceFolder}/compile_commands.json", - "configurationProvider": "vector-of-bool.cmake-tools" + "compileCommands": "${workspaceFolder}/compile_commands.json" } ], "version": 4 diff --git a/.vscode/settings.json b/.vscode/settings.json index a06c734..57115ea 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,5 +1,19 @@ { "files.associations": { + "bitset": "cpp", + "vector": "cpp", + "optional": "cpp", + "string_view": "cpp", + "system_error": "cpp", + "thread": "cpp", + "typeindex": "cpp", + "variant": "cpp", + "array": "cpp", + "initializer_list": "cpp", + "utility": "cpp", + "hash_map": "cpp", + "valarray": "cpp", + "*.tcc": "cpp", "cctype": "cpp", "clocale": "cpp", "cmath": "cpp", @@ -11,11 +25,8 @@ "ctime": "cpp", "cwchar": "cpp", "cwctype": "cpp", - "array": "cpp", "atomic": "cpp", "strstream": "cpp", - "*.tcc": "cpp", - "bitset": "cpp", "chrono": "cpp", "cinttypes": "cpp", "codecvt": "cpp", @@ -25,11 +36,10 @@ "deque": "cpp", "list": "cpp", "unordered_map": "cpp", - "vector": "cpp", + "unordered_set": "cpp", "exception": "cpp", "fstream": "cpp", "functional": "cpp", - "initializer_list": "cpp", "iomanip": "cpp", "iosfwd": "cpp", "iostream": "cpp", @@ -39,26 +49,15 @@ "mutex": "cpp", "new": "cpp", "numeric": "cpp", - "optional": "cpp", "ostream": "cpp", "ratio": "cpp", "sstream": "cpp", "stdexcept": "cpp", "streambuf": "cpp", - "string_view": "cpp", - "system_error": "cpp", - "thread": "cpp", "type_traits": "cpp", "tuple": "cpp", - "typeindex": "cpp", "typeinfo": "cpp", - "utility": "cpp", - "variant": "cpp", "__config": "cpp", - "__nullptr": "cpp", - "hash_map": "cpp", - "valarray": "cpp", - "unordered_set": "cpp" - }, - "C_Cpp.configurationWarnings": "Disabled" + "__nullptr": "cpp" + } }
\ No newline at end of file |