X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2FCMakeLists.txt;h=aad78e1613e7083807d6dcb60397c836a8df1655;hb=f16675ed24fd331903b8d6ef5d8ac07f6acbd6b0;hp=434332b44dde98c35964f64bcab199ca41aa95eb;hpb=4db4634b28378379bce04f4073c2a511b92b1ee6;p=src%2Fapp-framework-binder.git diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 434332b4..aad78e16 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,9 +1,2 @@ -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}) - -INSTALL(TARGETS afb-daemon - RUNTIME DESTINATION bin) +ADD_LIBRARY(src OBJECT main.c config.c session.c http-svc.c rest-api.c helper-api.c) +INCLUDE_DIRECTORIES(${include_dirs})