X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=low-can-binding%2FCMakeLists.txt;h=b2892cc1d749c1a3474770df8ad881df9656f55a;hb=6faef2305955b025c3cf1cfaf17a6aa073727c24;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..b2892cc1 100644 --- a/low-can-binding/CMakeLists.txt +++ b/low-can-binding/CMakeLists.txt @@ -22,8 +22,9 @@ 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 @@ -33,6 +34,7 @@ PROJECT_TARGET_ADD(low-can) 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 +42,15 @@ 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) + 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 "BINDINGV2" LINK_FLAGS ${BINDINGS_LINK_FLAG} OUTPUT_NAME ${TARGET_NAME} ) @@ -61,7 +64,3 @@ PROJECT_TARGET_ADD(low-can) bitfield-c ${link_libraries}) - # installation directory - INSTALL(TARGETS ${TARGET_NAME} - LIBRARY DESTINATION ${BINDINGS_INSTALL_DIR}) -