Added afb-helpers submodule 95/18095/1
authorRomain Forlot <romain.forlot@iot.bzh>
Tue, 20 Nov 2018 16:57:54 +0000 (17:57 +0100)
committerRomain Forlot <romain.forlot@iot.bzh>
Tue, 20 Nov 2018 18:33:55 +0000 (19:33 +0100)
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>
.gitmodules [new file with mode: 0644]
app-afb-helpers-submodule [new submodule]
low-can-binding/CMakeLists.txt

diff --git a/.gitmodules b/.gitmodules
new file mode 100644 (file)
index 0000000..8f248e8
--- /dev/null
@@ -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 (submodule)
index 0000000..f0ce5b6
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit f0ce5b665dd33b285d723720c16ac0542cde4e6e
index acbf4f1..c8bac4f 100644 (file)
@@ -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})