Make daemon interface common
[src/app-framework-binder.git] / src / CMakeLists.txt
index 6cbc6fa..0566206 100644 (file)
@@ -22,6 +22,8 @@ endif(CMAKE_C_COMPILER_VERSION VERSION_LESS 4.9)
 
 INCLUDE(FindPkgConfig)
 
+ADD_SUBDIRECTORY(tests)
+
 ADD_DEFINITIONS(-DBINDING_INSTALL_DIR="${binding_install_dir}")
 # Always add INFER_EXTENSION (more details in afb-hreq.c)
 ADD_DEFINITIONS(-DINFER_EXTENSION)
@@ -56,11 +58,14 @@ INCLUDE_DIRECTORIES(
 ADD_LIBRARY(afb-lib STATIC
        afb-api-dbus.c
        afb-api-so.c
+       afb-api-so-v1.c
+       afb-api-so-v2.c
        afb-api-ws.c
        afb-apis.c
        afb-common.c
        afb-config.c
        afb-context.c
+       afb-ditf.c
        afb-evt.c
        afb-hook.c
        afb-hreq.c
@@ -68,15 +73,16 @@ ADD_LIBRARY(afb-lib STATIC
        afb-hswitch.c
        afb-method.c
        afb-msg-json.c
+       afb-perm.c
        afb-session.c
        afb-svc.c
        afb-subcall.c
-       afb-thread.c
        afb-websock.c
        afb-ws-client.c
        afb-ws-json1.c
        afb-ws.c
        afb-wsj1.c
+       afb-xreq.c
        jobs.c
        locale-root.c
        sd-fds.c