wrap-json: Sync with app-afb-helpers-submodule
[src/app-framework-binder.git] / bindings / samples / CMakeLists.txt
index 5662ac1..f596c33 100644 (file)
@@ -1,5 +1,5 @@
 ###########################################################################
-# Copyright 2015, 2016, 2017 IoT.bzh
+# Copyright (C) 2015-2018 "IoT.bzh"
 #
 # author: José Bollo <jose.bollo@iot.bzh>
 #
@@ -31,6 +31,18 @@ TARGET_LINK_LIBRARIES(authLogin ${link_libraries})
 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
 ##################################################