blob: f280f97664fafced8c682dfa56148e78d7c2aab9 (
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
include_directories (
./include/
../application_manager/include/
../utils/include/
../smart_objects/include/
../formatters/include/
../config_profile/include/
../media_manager/include/
../protocol_handler/include
${JSONCPP_INCLUDE_DIRECTORY}
${MESSAGE_BROKER_INCLUDE_DIRECTORY}
../config_profile/include
${CMAKE_SOURCE_DIR}/src/components/
${CMAKE_BINARY_DIR}/src/components/
${CMAKE_SOURCE_DIR}/src/components/dbus/include/
${CMAKE_SOURCE_DIR}/
${LOG4CXX_INCLUDE_DIRECTORY}
)
IF (HMIADAPTER STREQUAL "dbus")
set (DBUS_SOURCE ./src/dbus_message_adapter.cc)
set (DBUS_ADAPTER DBus)
ENDIF ()
set (SOURCES
./src/hmi_message_handler_impl.cc
./src/messagebroker_adapter.cc
./src/hmi_message_adapter.cc
./src/mqueue_adapter.cc
${DBUS_SOURCE}
)
set (LIBRARIES
Utils
${DBUS_ADAPTER}
${RTLIB}
)
add_library("HMIMessageHandler" ${SOURCES})
target_link_libraries("HMIMessageHandler" ${LIBRARIES})
if(ENABLE_LOG)
target_link_libraries("HMIMessageHandler" log4cxx -L${LOG4CXX_LIBS_DIRECTORY})
endif()
|