X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=low-can-binding%2FCMakeLists.txt;h=9ba223b4d0018ba0616923b4282b8051c032871e;hb=8a4792aa20a7b8fa9efc0fce558ac341ee46486f;hp=63ed99cce16abfee4f2daa592941a7f7ffd6e254;hpb=22e1fe8db6686ee6ae32cfe58a10aad9f7dfb3a7;p=apps%2Fagl-service-can-low-level.git diff --git a/low-can-binding/CMakeLists.txt b/low-can-binding/CMakeLists.txt index 63ed99cc..9ba223b4 100644 --- a/low-can-binding/CMakeLists.txt +++ b/low-can-binding/CMakeLists.txt @@ -23,8 +23,8 @@ PROJECT_TARGET_ADD(low-can) # Define project Targets set (SOURCES - #binding/${TARGET_NAME}-hat.cpp binding/${TARGET_NAME}-cb.cpp + binding/${TARGET_NAME}-hat.cpp binding/${TARGET_NAME}-subscription.cpp binding/application.cpp can/can-bus.cpp @@ -45,9 +45,18 @@ PROJECT_TARGET_ADD(low-can) #utils/socketcan-raw.cpp utils/socketcan-bcm.cpp utils/config-parser.cpp + utils/converter.cpp binding/application-generated.cpp ) + + if(WITH_FEATURE_ISOTP) + set(SOURCES_ISOTP + utils/socketcan-isotp.cpp + ) + endif() + + if(WITH_FEATURE_J1939) set(SOURCES_J1939 can/message/j1939-message.cpp @@ -57,7 +66,7 @@ PROJECT_TARGET_ADD(low-can) ) endif() - add_library(${TARGET_NAME} MODULE ${SOURCES} ${SOURCES_J1939}) + add_library(${TARGET_NAME} MODULE ${SOURCES} ${SOURCES_J1939} ${SOURCES_ISOTP}) 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 @@ -75,6 +84,6 @@ PROJECT_TARGET_ADD(low-can) uds-c isotp-c bitfield-c - afb-helpers + appcontroller ${link_libraries})