X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=low-can-binding%2FCMakeLists.txt;h=d09757d6601a297057f6c49bc7ee9daab50e404c;hb=7cf3679da71727f59c56b446ebf17ad2ce7bfddf;hp=44ae9ef8f42333319b13b604348bc029292b78f9;hpb=2408a177e8260dcda266df9993e6acd528bebbbc;p=apps%2Fagl-service-can-low-level.git diff --git a/low-can-binding/CMakeLists.txt b/low-can-binding/CMakeLists.txt index 44ae9ef8..d09757d6 100644 --- a/low-can-binding/CMakeLists.txt +++ b/low-can-binding/CMakeLists.txt @@ -22,12 +22,10 @@ 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 +42,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,9 +61,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}) -