X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2FCMakeLists.txt;h=03878dc24f0c886c699025d6815bdd4d3224ec1b;hb=ca208671cc79bbc05c574df788035878e5d39382;hp=434332b44dde98c35964f64bcab199ca41aa95eb;hpb=4db4634b28378379bce04f4073c2a511b92b1ee6;p=src%2Fapp-framework-binder.git diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 434332b4..03878dc2 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,9 +1,15 @@ -SET(AFB-DAEMON_HEADERS local-def.h proto-def.h) -SET(AFB-DAEMON_SOURCES main.c config.c session.c http-svc.c afbs-api.c dbus-api.c rest-api.c alsa-api.c) -ADD_EXECUTABLE(afb-daemon ${AFB-DAEMON_SOURCES}) -include_directories(${include_dirs}) -target_link_libraries(afb-daemon ${link_libraries}) +ADD_LIBRARY(src OBJECT + main.c + session.c + http-svc.c + afb-rest-api.c + afb-apis.c + afb-method.c + afb-hreq.c + afb-websock.c + websock.c + helper-api.c) + +INCLUDE_DIRECTORIES(${include_dirs}) -INSTALL(TARGETS afb-daemon - RUNTIME DESTINATION bin)