From 53f6c6f8e9b374a3da04ad3b8faea2e8fdafb756 Mon Sep 17 00:00:00 2001 From: Andrew Udvare Date: Fri, 9 Oct 2020 02:01:46 -0400 Subject: [PATCH] .vscode/c_cpp_properties: add Linux configuration --- .vscode/c_cpp_properties.json | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json index f284b5eb..327d8cc7 100644 --- a/.vscode/c_cpp_properties.json +++ b/.vscode/c_cpp_properties.json @@ -2,14 +2,7 @@ "configurations": [ { "name": "Mac", - "includePath": [ - "${default}", - "src/fakerw", - "src/math", - "src/render", - "src/skel", - "vendor/librw" - ], + "includePath": ["${default}"], "defines": [], "macFrameworkPath": [ "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks" @@ -24,6 +17,15 @@ "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include" ] } + }, + { + "name": "Linux", + "includePath": ["${default}"], + "defines": ["XDG_ROOT"], + "compilerPath": "/usr/bin/gcc", + "compilerArgs": ["-ggdb"], + "cStandard": "gnu11", + "cppStandard": "gnu++14" } ], "version": 4