diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json new file mode 100644 index 00000000..35c2f097 --- /dev/null +++ b/.vscode/c_cpp_properties.json @@ -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 +} \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 00000000..77f79624 --- /dev/null +++ b/.vscode/launch.json @@ -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", + } + } + ] +} \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 00000000..535aef8d --- /dev/null +++ b/.vscode/tasks.json @@ -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 .." + } + } + ] +} \ No newline at end of file