summaryrefslogtreecommitdiff
path: root/test/components/protocol_handler/CMakeLists.txt
blob: 804119ce276ce084155033b464908fe9814a273c (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
include_directories(
  ${GMOCK_INCLUDE_DIRECTORY}
  ${LOG4CXX_INCLUDE_DIRECTORY}
  ./include
  ${CMAKE_SOURCE_DIR}/src/components/protocol_handler/include
  ${SecurityManagerIncludeDir}
  ${CMAKE_SOURCE_DIR}/src/components/config_profile/include
)

set(LIBRARIES
  gtest
  gtest_main
  gmock
  gmock_main
  ProtocolHandler
  connectionHandler
  Utils
  ConfigProfile
  ${RTLIB}
  ProtocolLibrary
)

set(SOURCES
  src/protocol_handler_tm_test.cc
)

create_test(test_ProtocolHandler "${SOURCES}" "${LIBRARIES}")
add_library(test_ProtocolHandlerTest ${SOURCES})