diff options
author | Fulup Ar Foll <fulup@iot.bzh> | 2016-05-29 23:40:34 +0200 |
---|---|---|
committer | Fulup Ar Foll <fulup@iot.bzh> | 2016-05-29 23:40:34 +0200 |
commit | 706bc5c7e0db5f7a782f80ab99fa8fe005289f8d (patch) | |
tree | fdf0653b4fe2b322c1aa9673b1606fdae06dfa03 /plugins | |
parent | 05e5b6150788091318cdf7314e7ebded93164c9e (diff) |
Première Relecture
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/samples/CMakeLists.txt2 | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/plugins/samples/CMakeLists.txt2 b/plugins/samples/CMakeLists.txt2 new file mode 100644 index 00000000..357f16a6 --- /dev/null +++ b/plugins/samples/CMakeLists.txt2 @@ -0,0 +1,47 @@ + +INCLUDE_DIRECTORIES(${include_dirs}) + +ADD_LIBRARY(helloWorld-api MODULE HelloWorld.c) +SET_TARGET_PROPERTIES(helloWorld-api PROPERTIES + PREFIX "" + LINK_FLAGS "-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/export.map" +) +TARGET_LINK_LIBRARIES(helloWorld-api ${link_libraries}) +INSTALL(TARGETS helloWorld-api + LIBRARY DESTINATION ${plugin_install_dir}) + +ADD_LIBRARY(samplePost-api MODULE SamplePost.c) +SET_TARGET_PROPERTIES(samplePost-api PROPERTIES + PREFIX "" + LINK_FLAGS "-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/export.map" +) +TARGET_LINK_LIBRARIES(samplePost-api ${link_libraries}) +INSTALL(TARGETS samplePost-api + LIBRARY DESTINATION ${plugin_install_dir}) + +ADD_LIBRARY(clientCtx-api MODULE ClientCtx.c) +SET_TARGET_PROPERTIES(clientCtx-api PROPERTIES + PREFIX "" + LINK_FLAGS "-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/export.map" +) +TARGET_LINK_LIBRARIES(clientCtx-api ${link_libraries}) +INSTALL(TARGETS clientCtx-api + LIBRARY DESTINATION ${plugin_install_dir}) + +ADD_LIBRARY(ClientLogin-api MODULE ClientLogin.c) +SET_TARGET_PROPERTIES(ClientLogin-api PROPERTIES + PREFIX "" + LINK_FLAGS "-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/export.map" +) +TARGET_LINK_LIBRARIES(ClientLogin-api ${link_libraries}) +INSTALL(TARGETS ClientLogin-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}) |