summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2018-11-20 17:57:54 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2018-11-20 19:33:55 +0100
commit5773aa807454aef8203f277733ff68de705f0198 (patch)
treefc9c59ef113376c830684e91d7672945b0f18d74
parent515e55e811ea64adc6d01443ffb9377e3f2e3320 (diff)
Added afb-helpers submodule
Use the afb helpers lib to be able to use wrap_json functions. Change-Id: I3a66ac4eb7d80ff921de13a7e749311d33f0572e Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
-rw-r--r--.gitmodules3
m---------app-afb-helpers-submodule0
-rw-r--r--low-can-binding/CMakeLists.txt5
3 files changed, 6 insertions, 2 deletions
diff --git a/.gitmodules b/.gitmodules
new file mode 100644
index 00000000..8f248e80
--- /dev/null
+++ b/.gitmodules
@@ -0,0 +1,3 @@
+[submodule "app-afb-helpers-submodule"]
+ path = app-afb-helpers-submodule
+ url = https://gerrit.automotivelinux.org/gerrit/p/apps/app-afb-helpers-submodule.git
diff --git a/app-afb-helpers-submodule b/app-afb-helpers-submodule
new file mode 160000
+Subproject f0ce5b665dd33b285d723720c16ac0542cde4e6
diff --git a/low-can-binding/CMakeLists.txt b/low-can-binding/CMakeLists.txt
index acbf4f18..c8bac4f6 100644
--- a/low-can-binding/CMakeLists.txt
+++ b/low-can-binding/CMakeLists.txt
@@ -27,7 +27,6 @@ PROJECT_TARGET_ADD(low-can)
binding/${TARGET_NAME}-socket.cpp
binding/${TARGET_NAME}-subscription.cpp
binding/application.cpp
- binding/application-generated.cpp
can/can-bus.cpp
can/can-message-set.cpp
can/can-message-definition.cpp
@@ -44,7 +43,8 @@ PROJECT_TARGET_ADD(low-can)
utils/socketcan.cpp
#utils/socketcan-raw.cpp
utils/socketcan-bcm.cpp
- utils/config-parser.cpp)
+ utils/config-parser.cpp
+ binding/application-generated.cpp)
set(OPENAPI_DEF "binding/low-can-apidef" CACHE STRING "name and path to the JSON API definition without extension")
# Binder exposes a unique public entry point
@@ -62,5 +62,6 @@ PROJECT_TARGET_ADD(low-can)
uds-c
isotp-c
bitfield-c
+ afb-helpers
${link_libraries})