Code Review
/
apps
/
agl-service-can-low-level.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Make low-can use afb-genskel by default
[apps/agl-service-can-low-level.git]
/
low-can-binding
/
CMakeLists.txt
diff --git
a/low-can-binding/CMakeLists.txt
b/low-can-binding/CMakeLists.txt
index
44ae9ef
..
b2892cc
100644
(file)
--- a/
low-can-binding/CMakeLists.txt
+++ b/
low-can-binding/CMakeLists.txt
@@
-22,7
+22,7
@@
PROJECT_TARGET_ADD(low-can)
# Define project Targets
add_library(${TARGET_NAME} MODULE
# 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/${TARGET_NAME}-cb.cpp
binding/${TARGET_NAME}-socket.cpp
binding/${TARGET_NAME}-subscription.cpp
@@
-46,10
+46,11
@@
PROJECT_TARGET_ADD(low-can)
utils/socketcan-bcm.cpp
utils/config-parser.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-"
# Binder exposes a unique public entry point
SET_TARGET_PROPERTIES(${TARGET_NAME} PROPERTIES
PREFIX "afb-"
- LABELS "BINDING"
+ LABELS "BINDING
V2
"
LINK_FLAGS ${BINDINGS_LINK_FLAG}
OUTPUT_NAME ${TARGET_NAME}
)
LINK_FLAGS ${BINDINGS_LINK_FLAG}
OUTPUT_NAME ${TARGET_NAME}
)
@@
-63,7
+64,3
@@
PROJECT_TARGET_ADD(low-can)
bitfield-c
${link_libraries})
bitfield-c
${link_libraries})
- # installation directory
- INSTALL(TARGETS ${TARGET_NAME}
- LIBRARY DESTINATION ${BINDINGS_INSTALL_DIR})
-