diff options
Diffstat (limited to 'plugins/samples/CMakeLists.txt')
-rw-r--r-- | plugins/samples/CMakeLists.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/plugins/samples/CMakeLists.txt b/plugins/samples/CMakeLists.txt index 271fb850..9f600c82 100644 --- a/plugins/samples/CMakeLists.txt +++ b/plugins/samples/CMakeLists.txt @@ -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}) |