X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=low-can-binding%2FCMakeLists.txt;h=c8bac4f68475ab17c9dc97fad3fe3e3a20ca1705;hb=731624acf76d58e1847f797e15747ccc94c052f0;hp=cd38fca302698948901d895714dfc52d4ed31587;hpb=32e25cbca210a359b09768537b6f443fe90a3070;p=apps%2Fagl-service-can-low-level.git diff --git a/low-can-binding/CMakeLists.txt b/low-can-binding/CMakeLists.txt index cd38fca3..c8bac4f6 100644 --- a/low-can-binding/CMakeLists.txt +++ b/low-can-binding/CMakeLists.txt @@ -22,17 +22,18 @@ 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 can/can-message.cpp can/can-signals.cpp can/can-decoder.cpp + can/can-encoder.cpp diagnostic/diagnostic-message.cpp diagnostic/diagnostic-manager.cpp diagnostic/active-diagnostic-request.cpp @@ -40,14 +41,16 @@ PROJECT_TARGET_ADD(low-can) utils/openxc-utils.cpp utils/timer.cpp utils/socketcan.cpp - utils/socketcan-raw.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} ) @@ -59,9 +62,6 @@ PROJECT_TARGET_ADD(low-can) uds-c isotp-c bitfield-c + afb-helpers ${link_libraries}) - # installation directory - INSTALL(TARGETS ${TARGET_NAME} - LIBRARY DESTINATION ${BINDINGS_INSTALL_DIR}) -