hook: adding of hook feature for requests
[src/app-framework-binder.git] / src / CMakeLists.txt
index af4f10c..d396aef 100644 (file)
@@ -1,3 +1,6 @@
+if (CMAKE_C_COMPILER_VERSION VERSION_LESS 4.9)
+    message(FATAL_ERROR "Require at least gcc-4.9")
+endif(CMAKE_C_COMPILER_VERSION VERSION_LESS 4.9)
 
 INCLUDE(FindPkgConfig)
 
@@ -32,10 +35,12 @@ INCLUDE_DIRECTORIES(
 ADD_LIBRARY(afb-lib STATIC
        afb-api-dbus.c
        afb-api-so.c
+       afb-api-ws.c
        afb-apis.c
        afb-common.c
        afb-context.c
        afb-evt.c
+       afb-hook.c
        afb-hreq.c
        afb-hsrv.c
        afb-hswitch.c
@@ -44,11 +49,13 @@ ADD_LIBRARY(afb-lib STATIC
        afb-sig-handler.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
+       locale-root.c
        session.c
        verbose.c
        websock.c