diff options
author | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2018-04-12 09:42:39 +0200 |
---|---|---|
committer | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2018-07-10 23:59:53 +0200 |
commit | d67d4335f05635d06b433f7d3fa0f6a4e401ec92 (patch) | |
tree | b5d57ea1620278f65008f8faf34648f58d04da42 /.vscode |
Initial commit
Change-Id: Ia434e5b4869ea19b0b78b1c586c44c15cb93c7e8
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to '.vscode')
-rw-r--r-- | .vscode/.cmaketools.json | 10 | ||||
-rw-r--r-- | .vscode/c_cpp_properties.json | 86 | ||||
-rw-r--r-- | .vscode/launch.json | 40 | ||||
-rw-r--r-- | .vscode/settings.json | 49 | ||||
-rw-r--r-- | .vscode/tasks.json | 33 |
5 files changed, 218 insertions, 0 deletions
diff --git a/.vscode/.cmaketools.json b/.vscode/.cmaketools.json new file mode 100644 index 0000000..0a3d8ea --- /dev/null +++ b/.vscode/.cmaketools.json @@ -0,0 +1,10 @@ +{ + "variant": { + "label": "Debug", + "keywordSettings": { + "buildType": "debug" + }, + "description": "Emit debug information without performing optimizations" + }, + "activeEnvironments": [] +}
\ No newline at end of file diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json new file mode 100644 index 0000000..1c01abe --- /dev/null +++ b/.vscode/c_cpp_properties.json @@ -0,0 +1,86 @@ +{ + "configurations": [ + { + "name": "Mac", + "includePath": [ + "/usr/include", + "/usr/local/include", + "${workspaceFolder}" + ], + "defines": [], + "intelliSenseMode": "clang-x64", + "browse": { + "path": [ + "/usr/include", + "/usr/local/include", + "${workspaceFolder}" + ], + "limitSymbolsToIncludedHeaders": true, + "databaseFilename": "" + }, + "macFrameworkPath": [ + "/System/Library/Frameworks", + "/Library/Frameworks" + ] + }, + { + "name": "Linux", + "includePath": [ + "${workspaceFolder}", + "/opt/AGL/include", + "/usr/include/c++/4.8", + "/usr/include/c++/4.8/x86_64-suse-linux", + "/usr/include/c++/4.8/backward", + "/usr/lib64/gcc/x86_64-suse-linux/4.8/include", + "/usr/local/include", + "/usr/lib64/gcc/x86_64-suse-linux/4.8/include-fixed", + "/usr/x86_64-suse-linux/include", + "/usr/include", + "${workspaceFolder}/afb-helpers" + ], + "defines": [], + "intelliSenseMode": "clang-x64", + "browse": { + "path": [ + "${workspaceFolder}", + "/opt/AGL/include", + "/usr/include/c++/4.8", + "/usr/include/c++/4.8/x86_64-suse-linux", + "/usr/include/c++/4.8/backward", + "/usr/lib64/gcc/x86_64-suse-linux/4.8/include", + "/usr/local/include", + "/usr/lib64/gcc/x86_64-suse-linux/4.8/include-fixed", + "/usr/x86_64-suse-linux/include", + "/usr/include" + ], + "limitSymbolsToIncludedHeaders": true, + "databaseFilename": "" + }, + "compilerPath": "/usr/bin/gcc", + "cStandard": "c11", + "cppStandard": "c++14" + }, + { + "name": "Win32", + "includePath": [ + "C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/include", + "${workspaceFolder}" + ], + "defines": [ + "_DEBUG", + "UNICODE", + "_UNICODE" + ], + "intelliSenseMode": "msvc-x64", + "browse": { + "path": [ + "C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/include/*", + "${workspaceFolder}" + ], + "limitSymbolsToIncludedHeaders": true, + "databaseFilename": "" + } + } + ], + "version": 3 +}
\ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..b6f6fc5 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,40 @@ +{ + // 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", + "program": "/opt/AGL/bin/afb-daemon", + "args": [ + "--port=5678", + "--ws-client=unix:/tmp/supervisor", + "--workdir=${workspaceRoot}/build/package/", + "--ldpaths=lib", + "--roothttp=htdocs", + "--token=", + "--tracereq=common", + "-vvv" + ], + "additionalSOLibSearchPath": "${workspaceRoot}/build/package/lib", + "stopAtEntry": false, + "cwd": "${workspaceRoot}/build/package", + "environment": [ + ], + "externalConsole": false, + "MIMode": "gdb", + "setupCommands": [ + { + "description": "Enable pretty-printing for gdb", + "text": "-enable-pretty-printing", + "ignoreFailures": true + } + ], + "showDisplayString": true, + "preLaunchTask": "Build" + } + ] +} diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..d2877c4 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,49 @@ +{ + "files.associations": { + "*.bb": "bat", + "*.inc": "bat", + "*.bbclass": "bat", + "*.rules": "shellscript", + "json.h": "c", + "afb-binding.h": "c", + "string.h": "c", + "stdio.h": "c", + "wrap-json.h": "c", + "curl-wrap.h": "c", + "afb-binding-v2.h": "c", + "afb-daemon-itf.h": "c", + "afb-service-itf.h": "c", + "afb-req.h": "c", + "afb-req-v2.h": "c", + "xds-service.h": "c", + "xds-service-api.h": "c", + "*.tcc": "c", + "functional": "c", + "array": "c", + "stdbool.h": "c", + "cstring": "c", + "xds-service-apidef.h": "c", + "tuple": "c", + "type_traits": "c", + "utility": "c", + "supervisor-service.h": "c", + "typeinfo": "c", + "istream": "c" + }, + + // Words to add to dictionary for a workspace. + "cSpell.words": [ + "callbinder", + "gotevent", + "ldpaths", + "lightgreen", + "mysecret", + "onevent", + "openapi", + "outevt", + "replyerr", + "replyok", + "reqid", + "roothttp" + ] +} diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..d1709f7 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,33 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "tasks": [ + { + "label": "Initial Build", + "type": "shell", + "command": "rm -rf build && mkdir -p build && cd build && pwd && cmake ..", + "problemMatcher": [ + "$gcc" + ] + }, + { + "label": "Build", + "type": "shell", + "command": "clear && cd build && make", + "presentation": { + "echo": true, + "reveal": "always", + "focus": false, + "panel": "shared" + }, + "problemMatcher": [ + "$gcc" + ], + "group": { + "kind": "build", + "isDefault": true + } + } + ] +} |