X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=CAN-binder%2Flow-can-binding%2FCMakeLists.txt;h=ded3be4c547aec77c3a574eb8cd7bdde936c92ff;hb=09e762b94a941c9b6f2402c6ea8bf444e13c1574;hp=a1768abbf6901db6c0532641a0e10a12796203e2;hpb=49fe0eec8f17698fc5f86d0abe01777af1fb2b23;p=apps%2Fagl-service-can-low-level.git diff --git a/CAN-binder/low-can-binding/CMakeLists.txt b/CAN-binder/low-can-binding/CMakeLists.txt index a1768abb..ded3be4c 100644 --- a/CAN-binder/low-can-binding/CMakeLists.txt +++ b/CAN-binder/low-can-binding/CMakeLists.txt @@ -21,30 +21,46 @@ PROJECT_TARGET_ADD(low-can-binding) # Define project Targets - add_library(${TARGET_NAME} MODULE ${TARGET_NAME}.cpp configuration.cpp configuration-generated.cpp - can/can-bus.cpp can/can-bus-dev.cpp can/can-message-set.cpp can/can-message-definition.cpp can/can-message.cpp can/can-signals.cpp can/can-decoder.cpp - diagnostic/diagnostic-message.cpp diagnostic/diagnostic-manager.cpp diagnostic/active-diagnostic-request.cpp - utils/signals.cpp utils/openxc-utils.cpp utils/timer.cpp utils/socket.cpp) + add_library(${TARGET_NAME} MODULE + ${TARGET_NAME}.cpp + configuration.cpp + configuration-generated.cpp + can/can-bus.cpp + can/can-bus-dev.cpp + can/can-message-set.cpp + can/can-message-definition.cpp + can/can-message.cpp + can/can-signals.cpp + can/can-decoder.cpp + diagnostic/diagnostic-message.cpp + diagnostic/diagnostic-manager.cpp + diagnostic/active-diagnostic-request.cpp + utils/signals.cpp + utils/openxc-utils.cpp + utils/timer.cpp + utils/socketcan.cpp + utils/config-parser.cpp) # Binder exposes a unique public entry point SET_TARGET_PROPERTIES(${TARGET_NAME} PROPERTIES - PREFIX "" - LINK_FLAGS ${BINDINGS_LINK_FLAG} + PREFIX "" + LABELS "BINDING" + LINK_FLAGS ${BINDINGS_LINK_FLAG} OUTPUT_NAME ${TARGET_NAME} ) # Library dependencies (include updates automatically) TARGET_LINK_LIBRARIES(${TARGET_NAME} + ini-config openxc-message-format nanopb uds-c isotp-c bitfield-c - ${link_libraries} - ) + ${link_libraries}) # installation directory INSTALL(TARGETS ${TARGET_NAME} LIBRARY DESTINATION ${BINDINGS_INSTALL_DIR}) - build_widget("BINDING") + populate_widget()