Code Review
/
apps
/
agl-service-unicens.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
agl-service-unicens: modify commands in web-ui
[apps/agl-service-unicens.git]
/
ucs2-afb
/
CMakeLists.txt
diff --git
a/ucs2-afb/CMakeLists.txt
b/ucs2-afb/CMakeLists.txt
index
ee5099e
..
2f5141d
100644
(file)
--- a/
ucs2-afb/CMakeLists.txt
+++ b/
ucs2-afb/CMakeLists.txt
@@
-17,27
+17,24
@@
###########################################################################
# Add target to project dependency list
###########################################################################
# Add target to project dependency list
-PROJECT_TARGET_ADD(ucs2)
+PROJECT_TARGET_ADD(ucs2
-afb
)
# Define project Targets
# Define project Targets
- ADD_LIBRARY(
ucs2 MODULE ucs_binding.c ucs_apihat.c
)
+ ADD_LIBRARY(
${TARGET_NAME} MODULE ucs_apihat.c ucs_binding.c
)
- # Binder exposes a unique public entry point
- SET_TARGET_PROPERTIES(ucs2 PROPERTIES
- PREFIX "afb-"
- LABELS "BINDING"
- LINK_FLAGS ${BINDINGS_LINK_FLAG}
- OUTPUT_NAME ${TARGET_NAME}
+ SET_OPENAPI_FILENAME(ucs_apidef)
+ # Binder exposes a unique public entry point
+ SET_TARGET_PROPERTIES(${TARGET_NAME} PROPERTIES
+ PREFIX "afb-"
+ LABELS "BINDINGV2"
+ LINK_FLAGS ${BINDINGS_LINK_FLAG}
+ OUTPUT_NAME ucs2
)
# Library dependencies (include updates automatically)
)
# Library dependencies (include updates automatically)
- TARGET_LINK_LIBRARIES(
ucs2
+ TARGET_LINK_LIBRARIES(
${TARGET_NAME}
ucs2-inter
ucs2-inter
+ afb-helpers
${link_libraries}
)
${link_libraries}
)
-
- # installation directory
- INSTALL(TARGETS ucs2
- LIBRARY DESTINATION ${BINDINGS_INSTALL_DIR})
-