56ad44f77455b91b613b09be5c7b42a443a52f6b
[profile/ivi/dlt-daemon.git] / src / console / CMakeLists.txt
1 #######
2 # Dlt - Diagnostic Log and Trace
3 # @licence make begin@
4 #
5 # Copyright (C) 2011-2012, BMW AG - Alexander Wenzel <alexander.aw.wenzel@bmw.de>
6
7 # Contributions are licensed to the GENIVI Alliance under one or more
8 # Contribution License Agreements.
9
10 # This Source Code Form is subject to the terms of the
11 # Mozilla Public License, v. 2.0. If a  copy of the MPL was not distributed with
12 # this file, You can obtain one at http://mozilla.org/MPL/2.0/.
13 #
14 # @licence end@
15 ########
16
17 set(dlt_convert_SRCS dlt-convert.c)
18 add_executable(dlt-convert ${dlt_convert_SRCS} ${dlt_most_SRCS})
19 target_link_libraries(dlt-convert dlt ${EXPAT_LIBRARIES})
20 set_target_properties(dlt-convert PROPERTIES LINKER_LANGUAGE C)
21
22 set(dlt_receive_SRCS dlt-receive.c)
23 add_executable(dlt-receive ${dlt_receive_SRCS} ${dlt_most_SRCS})
24 target_link_libraries(dlt-receive dlt ${EXPAT_LIBRARIES})
25 set_target_properties(dlt-receive PROPERTIES LINKER_LANGUAGE C)
26
27 install(TARGETS dlt-convert dlt-receive
28         RUNTIME DESTINATION bin
29         COMPONENT base)
30