mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-04 14:29:39 +00:00
Start creating a VSCode workspace
This commit is contained in:
parent
730b3d3f86
commit
787a7bb919
27
.vscode/c_cpp_properties.json
vendored
Normal file
27
.vscode/c_cpp_properties.json
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
{
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Linux",
|
||||
"includePath": [
|
||||
"${workspaceFolder}/src/include",
|
||||
"${workspaceFolder}/contrib",
|
||||
"${workspaceFolder}/contrib/examples/example_app",
|
||||
"${workspaceFolder}/contrib/ports/unix/port/include",
|
||||
"${workspaceFolder}/contrib/ports/unix/example_app"
|
||||
],
|
||||
"defines": [],
|
||||
"intelliSenseMode": "clang-x64",
|
||||
"browse": {
|
||||
"path": [
|
||||
""
|
||||
],
|
||||
"limitSymbolsToIncludedHeaders": true,
|
||||
"databaseFilename": ""
|
||||
},
|
||||
"compilerPath": "/usr/bin/clang",
|
||||
"cStandard": "c11",
|
||||
"cppStandard": "c++17"
|
||||
}
|
||||
],
|
||||
"version": 4
|
||||
}
|
34
.vscode/launch.json
vendored
Normal file
34
.vscode/launch.json
vendored
Normal file
@ -0,0 +1,34 @@
|
||||
{
|
||||
// Use IntelliSense to learn about possible attributes.
|
||||
// Hover to view descriptions of existing attributes.
|
||||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "(gdb) Launch",
|
||||
"type": "cppdbg",
|
||||
"request": "launch",
|
||||
"args": [],
|
||||
"stopAtEntry": true,
|
||||
"environment": [],
|
||||
"externalConsole": true,
|
||||
"MIMode": "gdb",
|
||||
"preLaunchTask": "build",
|
||||
"setupCommands": [
|
||||
{
|
||||
"description": "Enable pretty-printing for gdb",
|
||||
"text": "-enable-pretty-printing",
|
||||
"ignoreFailures": true
|
||||
}
|
||||
],
|
||||
"linux": {
|
||||
"cwd": "${workspaceFolder}/contrib/ports/unix/example_app/build",
|
||||
"program": "${workspaceFolder}/contrib/ports/unix/example_app/build/example_app",
|
||||
},
|
||||
"windows": {
|
||||
"cwd": "${workspaceFolder}/contrib/ports/win32/example_app/build",
|
||||
"program": "${workspaceFolder}/contrib/ports/win32/example_app/build/example_app",
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
35
.vscode/tasks.json
vendored
Normal file
35
.vscode/tasks.json
vendored
Normal file
@ -0,0 +1,35 @@
|
||||
{
|
||||
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
||||
// for the documentation about the tasks.json format
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "Build example_app",
|
||||
"identifier": "build",
|
||||
"type": "shell",
|
||||
"problemMatcher": "$gcc",
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": true
|
||||
},
|
||||
"linux": {
|
||||
"command": "cd ${workspaceFolder}/contrib/ports/unix/example_app/build && cmake --build ."
|
||||
},
|
||||
"windows": {
|
||||
"command": "cd ${workspaceFolder}/contrib/ports/win32/example_app/build && cmake --build ."
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "Configure example_app",
|
||||
"type": "shell",
|
||||
"problemMatcher": "$gcc",
|
||||
"group": "build",
|
||||
"linux": {
|
||||
"command": "cd ${workspaceFolder}/contrib/ports/unix/example_app && mkdir build && cd build && cmake .."
|
||||
},
|
||||
"windows": {
|
||||
"command": "cd ${workspaceFolder}/contrib/ports/win32/example_app && mkdir build && cd build && cmake .."
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user