summaryrefslogtreecommitdiffstats
path: root/.vscode
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2018-04-08 23:59:31 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2018-07-10 23:41:13 +0200
commitbdef812b7e2eb064b31d534440e0e4b8767429a7 (patch)
treef3307ce4170dc2aa1bfe6425877d0c403454dc15 /.vscode
parent13727387434666e46b52c84d35accf31cabf6b43 (diff)
Add project skeleton
Change-Id: Ieae59a0c66c9a9f7500f56e33cc0a98d572c0621 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to '.vscode')
-rw-r--r--.vscode/.cmaketools.json10
-rw-r--r--.vscode/c_cpp_properties.json42
-rw-r--r--.vscode/launch.json36
-rw-r--r--.vscode/settings.json9
4 files changed, 97 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..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"
+}