summaryrefslogtreecommitdiffstats
path: root/src/Common/CMakeLists.txt
blob: 74c5029b15fb8ba82c7f7b5e9f3d96ec0638da0f (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})
link_directories(${LTDL_LIBRARY_DIR})

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
  UserBackend.h
  UserCache.cpp UserCache.h
  UserInfo.h
  UserManager.cpp UserManager.h
  XmlPacket.cpp XmlPacket.h
)
target_link_libraries(Common Backends RequestHandlers Requests Net ${LIBXML2_LIBRARIES} ${LTDL_LIBRARIES})