Make the skeleton Facebook plugin and make sure it is loaded

Currently we need to copy manually the plugin dynamic library
to the /plugins folder.

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2015-10-29 21:47:08 -02:00 committed by Dirk Hohndel
parent 391172240a
commit 8dad3457ef
6 changed files with 78 additions and 14 deletions

View file

@ -1,5 +1,6 @@
set(FACEBOOK_PLUGIN_SRCS facebook_integration.cpp)
add_library(facebook_integration ${FACEBOOK_PLUGIN_SRCS})
add_library(facebook_integration SHARED ${FACEBOOK_PLUGIN_SRCS})
target_link_libraries(facebook_integration subsurface_core ${QT_LIBRARIES})
target_link_libraries(facebook_integration subsurface_corelib ${QT_LIBRARIES})
add_dependencies(facebook_integration subsurface_corelib)