X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=plugins%2FCMakeLists.txt;fp=plugins%2FCMakeLists.txt;h=631c68c1d0e1cee4e2e536301b107f84db7a4199;hb=4e6007c395da9a65a4492e1c45d305368761afcc;hp=6d0bc0bf8c8d39e09f4aae6dad52af8107a529e1;hpb=961e612d5332a91687f5a0365cb42167caab09b5;p=apps%2Fagl-service-can-low-level.git diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt index 6d0bc0bf..631c68c1 100755 --- a/plugins/CMakeLists.txt +++ b/plugins/CMakeLists.txt @@ -41,3 +41,32 @@ PROJECT_TARGET_ADD(agl-vcar-signals) bitfield-c afb-helpers ${link_libraries}) + +if(WITH_FEATURE_J1939) +PROJECT_TARGET_ADD(j1939-signals) + + # Define targets + ADD_LIBRARY(${TARGET_NAME} MODULE ${TARGET_NAME}.cpp) + + # Alsa Plugin properties + SET_TARGET_PROPERTIES(${TARGET_NAME} PROPERTIES + LABELS "PLUGIN" + PREFIX "" + SUFFIX ".ctlso" + OUTPUT_NAME ${TARGET_NAME} + ) + + target_include_directories(${TARGET_NAME} + PRIVATE "../low-can-binding") + + # Library dependencies (include updates automatically) + TARGET_LINK_LIBRARIES(${TARGET_NAME} + low-can + ini-config + openxc-message-format + uds-c + isotp-c + bitfield-c + afb-helpers + ${link_libraries}) +endif()