From 5773aa807454aef8203f277733ff68de705f0198 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Tue, 20 Nov 2018 17:57:54 +0100 Subject: 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 --- .gitmodules | 3 +++ app-afb-helpers-submodule | 1 + low-can-binding/CMakeLists.txt | 5 +++-- 3 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .gitmodules create mode 160000 app-afb-helpers-submodule 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 index 00000000..f0ce5b66 --- /dev/null +++ b/app-afb-helpers-submodule @@ -0,0 +1 @@ +Subproject commit f0ce5b665dd33b285d723720c16ac0542cde4e6e 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}) -- cgit 1.2.3-korg