From bdef812b7e2eb064b31d534440e0e4b8767429a7 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Sun, 8 Apr 2018 23:59:31 +0200 Subject: Add project skeleton Change-Id: Ieae59a0c66c9a9f7500f56e33cc0a98d572c0621 Signed-off-by: Romain Forlot --- .vscode/.cmaketools.json | 10 ++++++++++ .vscode/c_cpp_properties.json | 42 ++++++++++++++++++++++++++++++++++++++++++ .vscode/launch.json | 36 ++++++++++++++++++++++++++++++++++++ .vscode/settings.json | 9 +++++++++ 4 files changed, 97 insertions(+) create mode 100644 .vscode/.cmaketools.json create mode 100644 .vscode/c_cpp_properties.json create mode 100644 .vscode/launch.json create mode 100644 .vscode/settings.json (limited to '.vscode') 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..478d780 --- /dev/null +++ b/.vscode/c_cpp_properties.json @@ -0,0 +1,42 @@ +{ + "configurations": [ + { + "name": "Linux", + "includePath": [ + "${workspaceFolder}", + "/usr/include/c++/7", + "/usr/include/c++/7/x86_64-redhat-linux", + "/usr/include/c++/7/backward", + "/usr/local/include", + "/usr/lib64/clang/5.0.1/include", + "/usr/include", + "/opt/include", + "/opt/AGL/include", + "${workspaceFolder}/afb-helpers", + "${workspaceFolder}/src" + ], + "defines": [], + "intelliSenseMode": "clang-x64", + "browse": { + "path": [ + "${workspaceFolder}", + "/usr/include/c++/7", + "/usr/include/c++/7/x86_64-redhat-linux", + "/usr/include/c++/7/backward", + "/usr/local/include", + "/usr/lib64/clang/5.0.1/include", + "/usr/include", + "/opt/include", + "/opt/AGL/include", + "${workspaceFolder}/afb-helpers" + ], + "limitSymbolsToIncludedHeaders": true, + "databaseFilename": "" + }, + "compilerPath": "/usr/bin/clang", + "cStandard": "c11", + "cppStandard": "c++17" + } + ], + "version": 3 +} \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..59b23de --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,36 @@ +{ + // 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/bin/afb-daemon", + "args": [ "--rootdir=${workspaceRoot}/build/package/", + "--workdir=${workspaceRoot}/build/package/", + "--ldpaths=lib", + "--roothttp=.", + "--tracereq=common", + "--token=1", + "--verbose", + "--verbose", + "--verbose"], + "additionalSOLibSearchPath": "${workspaceRoot}/build/package/lib", + "stopAtEntry": false, + "cwd": "${workspaceRoot}/build/package", + "environment": [], + "externalConsole": true, + "MIMode": "gdb", + "setupCommands": [ + { + "description": "Enable pretty-printing for gdb", + "text": "-enable-pretty-printing", + "ignoreFailures": true + } + ] + } + ] +} diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..c0718fc --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,9 @@ +{ + "files.associations": { + "harvester-apidef.h": "c", + "typeinfo": "c", + "curl-wrap.h": "c" + }, + "C_Cpp.intelliSenseEngineFallback": "Disabled", + "C_Cpp.errorSquiggles": "Disabled" +} -- cgit 1.2.3-korg