Work on VS Code settings

This commit is contained in:
Dirk Ziegelmeier 2018-10-04 17:33:51 +02:00
parent 9a80c865b0
commit 562f875533
2 changed files with 17 additions and 5 deletions

View File

@ -10,18 +10,18 @@
"${workspaceFolder}/contrib/ports/unix/example_app" "${workspaceFolder}/contrib/ports/unix/example_app"
], ],
"defines": [], "defines": [],
"intelliSenseMode": "clang-x64", "intelliSenseMode": "gcc-x64",
"browse": { "browse": {
"path": [ "path": [
"" "${workspaceFolder}/**"
], ],
"limitSymbolsToIncludedHeaders": true, "limitSymbolsToIncludedHeaders": true,
"databaseFilename": "" "databaseFilename": ""
}, },
"compilerPath": "/usr/bin/clang", "compilerPath": "/usr/bin/gcc",
"cStandard": "c11", "cStandard": "c11",
"cppStandard": "c++17" "cppStandard": "c++17"
} }
], ],
"version": 4 "version": 4
} }

14
.vscode/tasks.json vendored
View File

@ -30,6 +30,18 @@
"windows": { "windows": {
"command": "cd ${workspaceFolder}/contrib/ports/win32/example_app && mkdir build && cd build && cmake .." "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"
},
} }
] ]
} }