X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=plugins%2Fsamples%2FCMakeLists.txt;h=24ffd91bf391a12340c8b61d3679a05121dd0edf;hb=bbe18a624f4961165cf52d7f4c25de6f3a7ec012;hp=ef5b449e25fb2fc21c2eb133befa89706939b204;hpb=98f5843474dcec55827279b6f42007341c171ae0;p=src%2Fapp-framework-binder.git diff --git a/plugins/samples/CMakeLists.txt b/plugins/samples/CMakeLists.txt index ef5b449e..24ffd91b 100644 --- a/plugins/samples/CMakeLists.txt +++ b/plugins/samples/CMakeLists.txt @@ -2,10 +2,18 @@ INCLUDE_DIRECTORIES(${include_dirs}) ADD_LIBRARY(helloWorld-api MODULE HelloWorld.c) SET_TARGET_PROPERTIES(helloWorld-api PROPERTIES PREFIX "") +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 "") -INSTALL(TARGETS samplePost-api +#ADD_LIBRARY(samplePost-api MODULE SamplePost.c) +#SET_TARGET_PROPERTIES(samplePost-api PROPERTIES PREFIX "") +#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 "") +TARGET_LINK_LIBRARIES(clientCtx-api ${link_libraries}) +INSTALL(TARGETS clientCtx-api LIBRARY DESTINATION ${plugin_install_dir})