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
Change all UNICENS words to upper case
[apps/agl-service-unicens.git]
/
ucs2-afb
/
CMakeLists.txt
diff --git
a/ucs2-afb/CMakeLists.txt
b/ucs2-afb/CMakeLists.txt
index
ee5099e
..
31d8c0d
100644
(file)
--- a/
ucs2-afb/CMakeLists.txt
+++ b/
ucs2-afb/CMakeLists.txt
@@
-17,27
+17,23
@@
###########################################################################
# 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
${link_libraries}
)
ucs2-inter
${link_libraries}
)
-
- # installation directory
- INSTALL(TARGETS ucs2
- LIBRARY DESTINATION ${BINDINGS_INSTALL_DIR})
-