From 98f5843474dcec55827279b6f42007341c171ae0 Mon Sep 17 00:00:00 2001 From: Manuel Bachmann Date: Mon, 21 Dec 2015 06:57:05 +0100 Subject: Switch to a plugin model Each API now compiles to a ".so" file, which gets searched for in the "${libdir}/afb" directory at startup. We can now load an arbitrary number of plugins (> 10). Signed-off-by: Manuel Bachmann --- plugins/session/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 plugins/session/CMakeLists.txt (limited to 'plugins/session/CMakeLists.txt') diff --git a/plugins/session/CMakeLists.txt b/plugins/session/CMakeLists.txt new file mode 100644 index 00000000..ddd185df --- /dev/null +++ b/plugins/session/CMakeLists.txt @@ -0,0 +1,6 @@ +INCLUDE_DIRECTORIES(${include_dirs}) + +ADD_LIBRARY(token-api MODULE token-api.c) +SET_TARGET_PROPERTIES(token-api PROPERTIES PREFIX "") +INSTALL(TARGETS token-api + LIBRARY DESTINATION ${plugin_install_dir}) -- cgit 1.2.3-korg