From 562f87553315ff6255ed50ea3157dfbcb9298e50 Mon Sep 17 00:00:00 2001 From: Dirk Ziegelmeier Date: Thu, 4 Oct 2018 17:33:51 +0200 Subject: [PATCH] Work on VS Code settings --- .vscode/c_cpp_properties.json | 8 ++++---- .vscode/tasks.json | 14 +++++++++++++- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json index 35c2f097..5b9a86d9 100644 --- a/.vscode/c_cpp_properties.json +++ b/.vscode/c_cpp_properties.json @@ -10,18 +10,18 @@ "${workspaceFolder}/contrib/ports/unix/example_app" ], "defines": [], - "intelliSenseMode": "clang-x64", + "intelliSenseMode": "gcc-x64", "browse": { "path": [ - "" + "${workspaceFolder}/**" ], "limitSymbolsToIncludedHeaders": true, "databaseFilename": "" }, - "compilerPath": "/usr/bin/clang", + "compilerPath": "/usr/bin/gcc", "cStandard": "c11", "cppStandard": "c++17" } ], "version": 4 -} \ No newline at end of file +} diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 535aef8d..797036a3 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -30,6 +30,18 @@ "windows": { "command": "cd ${workspaceFolder}/contrib/ports/win32/example_app && mkdir build && cd build && cmake .." } + }, + { + "label": "Generate documentation", + "type": "shell", + "problemMatcher": [], + "group": "none", + "linux": { + "command": "cd ${workspaceFolder}/contrib/ports/unix/example_app/build && cmake --build . --target lwipdocs" + }, + "windows": { + "command": "cd ${workspaceFolder}/contrib/ports/win32/example_app/build && cmake --build . --target lwipdocs" + }, } ] -} \ No newline at end of file +}