summaryrefslogtreecommitdiff
path: root/sensors-service/CMakeLists.txt
blob: b51fef7b45ebbd0a4b53a14aff2c9dc6731b9c53 (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
45
46
47
48
49
50
51
52
53
54
###########################################################################
# @licence app begin@
# SPDX-License-Identifier: MPL-2.0
#
# Component Name: SensorsService
#
# Author: Marco Residori
#
# Copyright (C) 2013, XS Embedded GmbH
# 
# License:
# This Source Code Form is subject to the terms of the
# Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with
# this file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# Update (2014/12/02) : Philippe Colliot <philippe.colliot@mpsa.com>,
#				PSA Peugeot Citroen
#		- introduce debug flag to disable verbosity
# @licence end@
###########################################################################

project(sensors-service)
cmake_minimum_required(VERSION 2.6.0)

SET(CMAKE_INSTALL_RPATH "")
#SET(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE) 

option(WITH_DLT
    "Enable DLT logging" OFF)

option(WITH_REPLAYER
    "Use REPLAYER as source of sensors data" ON)

option(WITH_IPHONE
    "Use IPHONE as source of sensors data" OFF)

option(WITH_TESTS
    "Compile test applications" OFF)

option(WITH_DEBUG 
	"Enable the debug messages" OFF)

message(STATUS)
message(STATUS "---------------------------------------------------------")

add_subdirectory(src)
message(STATUS "---------------------------------------------------------")

if(WITH_TESTS)
add_subdirectory(test)
message(STATUS "---------------------------------------------------------")
endif()

message(STATUS)