X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=low-can-binding%2FCMakeLists.txt;h=c8bac4f68475ab17c9dc97fad3fe3e3a20ca1705;hb=5773aa807454aef8203f277733ff68de705f0198;hp=9742580f16375c6878a90710dec88a1ef201bd54;hpb=795267e2c409a7c268fe0588ad9739b75def7620;p=apps%2Fagl-service-can-low-level.git diff --git a/low-can-binding/CMakeLists.txt b/low-can-binding/CMakeLists.txt index 9742580f..c8bac4f6 100644 --- a/low-can-binding/CMakeLists.txt +++ b/low-can-binding/CMakeLists.txt @@ -22,12 +22,11 @@ PROJECT_TARGET_ADD(low-can) # Define project Targets add_library(${TARGET_NAME} MODULE - binding/${TARGET_NAME}-hat.cpp + #binding/${TARGET_NAME}-hat.cpp binding/${TARGET_NAME}-cb.cpp 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,12 +43,14 @@ 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 SET_TARGET_PROPERTIES(${TARGET_NAME} PROPERTIES PREFIX "afb-" - LABELS "BINDING" + LABELS "BINDINGV3" LINK_FLAGS ${BINDINGS_LINK_FLAG} OUTPUT_NAME ${TARGET_NAME} ) @@ -61,5 +62,6 @@ PROJECT_TARGET_ADD(low-can) uds-c isotp-c bitfield-c + afb-helpers ${link_libraries})