adds the tic-tac-toe example
[src/app-framework-binder.git] / plugins / samples / CMakeLists.txt
index 271fb85..9f600c8 100644 (file)
@@ -27,3 +27,12 @@ SET_TARGET_PROPERTIES(clientCtx-api PROPERTIES
 TARGET_LINK_LIBRARIES(clientCtx-api ${link_libraries})
 INSTALL(TARGETS clientCtx-api
         LIBRARY DESTINATION ${plugin_install_dir})
+
+ADD_LIBRARY(tic-tac-toe MODULE tic-tac-toe.c)
+SET_TARGET_PROPERTIES(tic-tac-toe PROPERTIES
+       PREFIX ""
+       LINK_FLAGS "-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/export.map"
+)
+TARGET_LINK_LIBRARIES(tic-tac-toe ${link_libraries})
+INSTALL(TARGETS tic-tac-toe
+        LIBRARY DESTINATION ${plugin_install_dir})