diff options
author | José Bollo <jose.bollo@iot.bzh> | 2017-10-11 13:12:57 +0200 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2017-10-11 17:06:46 +0200 |
commit | 0033c7c16a48819447b3a5273ebb2be99be74352 (patch) | |
tree | 20b9bd2284d669ecdc282713220cc60e9b823455 /src/CMakeLists.txt | |
parent | f11c11123f8cc43fc6e810b6c3dd911eb697826e (diff) |
libafbwsc: add function 'afb_ws_client_connect_api'
This function allows to connect to an API exported by the
binder.
The demo program afb-client-demo is modified to integrate
on option that direct API connection.
Example:
server: afb-daemon --ws-server unix:hello
client: afb-client-demo -d -H unix:hello
Change-Id: Id9f857a453c406df1c4b36eb25fb5e833a938c3d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index ade02a11..68f1505a 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -89,7 +89,7 @@ INSTALL(TARGETS afb-daemon ########################################### # build and install libafbwsc ########################################### -ADD_LIBRARY(afbwsc SHARED afb-ws.c afb-ws-client.c afb-wsj1.c websock.c) +ADD_LIBRARY(afbwsc SHARED afb-ws.c afb-ws-client.c afb-wsj1.c websock.c afb-proto-ws.c) SET_TARGET_PROPERTIES(afbwsc PROPERTIES VERSION ${LIBAFBWSC_VERSION} SOVERSION ${LIBAFBWSC_SOVERSION}) @@ -101,7 +101,7 @@ TARGET_LINK_LIBRARIES(afbwsc -Wl,--gc-sections ) INSTALL(TARGETS afbwsc LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}) -INSTALL(FILES afb-wsj1.h afb-ws-client.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/afb) +INSTALL(FILES afb-wsj1.h afb-ws-client.h afb-proto-ws.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/afb) ########################################### # build and install afb-client-demo |