]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Add VS code intellisense configuration
authorNick Porter <nick@portercomputing.co.uk>
Wed, 13 Jul 2022 09:14:13 +0000 (10:14 +0100)
committerNick Porter <nick@portercomputing.co.uk>
Wed, 13 Jul 2022 09:14:13 +0000 (10:14 +0100)
.vscode/c_cpp_properties.json [new file with mode: 0644]

diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json
new file mode 100644 (file)
index 0000000..2b84e25
--- /dev/null
@@ -0,0 +1,40 @@
+{
+    "configurations": [
+        {
+            "name": "Linux",
+            "includePath": [
+                "/usr/include/**",
+                "${workspaceFolder}/src/**"
+            ],
+            "forcedInclude": [
+                "${workspaceFolder}/src/freeradius-devel/autoconf.h",
+                "${workspaceFolder}/src/freeradius-devel/build.h",
+                "${workspaceFolder}/src/freeradius-devel/features.h",
+                "${workspaceFolder}/src/freeradius-devel/radpaths.h"
+            ],
+            "defines": [],
+            "compilerPath": "/usr/bin/clang",
+            "cStandard": "c11",
+            "cppStandard": "c++14",
+            "intelliSenseMode": "linux-clang-x64"
+        },
+        {
+            "name": "Mac",
+            "includePath": [
+                "${workspaceFolder}/src/**"
+            ],
+            "forcedInclude": [
+                "${workspaceFolder}/src/freeradius-devel/autoconf.h",
+                "${workspaceFolder}/src/freeradius-devel/build.h",
+                "${workspaceFolder}/src/freeradius-devel/features.h",
+                "${workspaceFolder}/src/freeradius-devel/radpaths.h"
+            ],
+            "defines": [],
+            "compilerPath": "/usr/bin/clang",
+            "cStandard": "c11",
+            "cppStandard": "c++14",
+            "intelliSenseMode": "linux-clang-x64"
+        }
+    ],
+    "version": 4
+}
\ No newline at end of file