summaryrefslogtreecommitdiff
path: root/src/components/formatters/CMakeLists.txt
blob: 3f53cf0b7fd71b75e905d41f9b400e25dbdd948b (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
include_directories (
  ./include/
  ../protocol_handler/include/
  ../utils/include/
  ${JSONCPP_INCLUDE_DIRECTORY}
  ${MESSAGE_BROKER_INCLUDE_DIRECTORY}
  ../../../src/components/smart_objects/include
)

set (SOURCES
    ./src/CSmartFactory.cpp
)

set (FORMATTER_SOURCES
    ./src/CFormatterJsonBase.cpp
    ./src/CFormatterJsonSDLRPCv1.cpp
    ./src/CFormatterJsonSDLRPCv2.cpp
    ./src/formatter_json_rpc.cc
    ./src/meta_formatter.cc
    ./src/generic_json_formatter.cc
)

add_library("formatters" ${SOURCES}
        ${FORMATTER_SOURCES}
)