summaryrefslogtreecommitdiffstats
path: root/src/Common/CMakeLists.txt
blob: e8e3152d0baac0ba5901fb00463faba31386ab20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
add_subdirectory(Backends)
add_subdirectory(RequestHandlers)
add_subdirectory(Requests)


include_directories(${INCLUDES})

add_library(Common
  Application.cpp Application.h
  Base64Encoder.cpp Base64Encoder.h
  ClientConnection.cpp ClientConnection.h
  Connection.cpp Connection.h
  GroupInfo.h
  HostInfo.h
  Module.h
  ModuleManager.cpp ModuleManager.h
  Request.cpp Request.h
  RequestHandler.cpp RequestHandler.h
  RequestHandlerGroup.h
  RequestManager.cpp RequestManager.h
  SystemBackend.h
  SystemManager.cpp SystemManager.h
  UserConfigBackend.h
  UserDBBackend.h
  UserCache.cpp UserCache.h
  UserInfo.h
  UserManager.cpp UserManager.h
  XmlPacket.cpp XmlPacket.h
)
target_link_libraries(Common Backends RequestHandlers Requests Net modules ${LIBXML2_LIBRARIES} ${DL_LIBRARY})