aboutsummaryrefslogtreecommitdiffstats
path: root/bindings/samples/CMakeLists.txt
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-09-22 15:22:54 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2017-10-09 14:08:33 +0200
commit9a304ebddac4deb4992ea931ea1131b639798b3b (patch)
treecaeb35ad83653e6f4e8a9beef24440c0ba4f2871 /bindings/samples/CMakeLists.txt
parent59cd34b59853f6a47e756d7ab5bc0329f40a471c (diff)
Allow pure dynamic bindings
Activates the new internal interfaces Change-Id: I8f51cd271f66a0216ffdf03626300bb5964a70f9 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'bindings/samples/CMakeLists.txt')
-rw-r--r--bindings/samples/CMakeLists.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/bindings/samples/CMakeLists.txt b/bindings/samples/CMakeLists.txt
index 5662ac12..efb3d20c 100644
--- a/bindings/samples/CMakeLists.txt
+++ b/bindings/samples/CMakeLists.txt
@@ -32,6 +32,18 @@ INSTALL(TARGETS authLogin
LIBRARY DESTINATION ${binding_install_dir})
##################################################
+# ave
+##################################################
+ADD_LIBRARY(ave MODULE ave.c)
+SET_TARGET_PROPERTIES(ave PROPERTIES
+ PREFIX ""
+ LINK_FLAGS "-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/export.map"
+)
+TARGET_LINK_LIBRARIES(ave ${link_libraries})
+INSTALL(TARGETS ave
+ LIBRARY DESTINATION ${binding_install_dir})
+
+##################################################
# DemoContext
##################################################
ADD_LIBRARY(demoContext MODULE DemoContext.c)