hook: adding of hook feature for requests
[src/app-framework-binder.git] / src / CMakeLists.txt
index 60f8326..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)
 
@@ -37,6 +40,7 @@ ADD_LIBRARY(afb-lib STATIC
        afb-common.c
        afb-context.c
        afb-evt.c
+       afb-hook.c
        afb-hreq.c
        afb-hsrv.c
        afb-hswitch.c
@@ -45,6 +49,7 @@ 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