This repository has been archived by the owner on Oct 26, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
/
CMakeLists.txt
66 lines (59 loc) · 2.12 KB
/
CMakeLists.txt
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
55
56
57
58
59
60
61
62
63
64
65
66
###########################################################################
# @licence app begin@
# SPDX-License-Identifier: MPL-2.0
#
# Component Name: Positioning Top-level Makefile
#
# Author: Jonathan Maw
#
# Copyright (C) 2015, Codethink Ltd
#
# 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 (2015/05/11) : Jonathan Maw <[email protected]>
# - First write
# Update (2015/08/19) : Marco Residori <[email protected]>
# - Added option WITH_FRANCA_SOMEIP_INTERFACE
# - Renamed WITH_FRANCA_INTERFACE to WITH_FRANCA_DBUS_INTERFACE
# Update (2015/10/28) : Helmut Schmidt <[email protected]>
# - Add option for logger
# @licence end@
###########################################################################
cmake_minimum_required(VERSION 2.6.0)
option(WITH_ENHANCED_POSITION_SERVICE
"Build the Enhanced Positioning Service" ON)
option(WITH_GNSS_SERVICE
"Build the GNSS Service" ON)
option(WITH_LOG_REPLAYER
"Build the Log Replayer" ON)
option(WITH_LOGGER
"Build the Logger" ON)
option(WITH_SENSORS_SERVICE
"Build the Sensors Service" ON)
option(WITH_FRANCA_DBUS_INTERFACE
"Build using the Franca DBus interfaces" OFF)
option(WITH_FRANCA_SOMEIP_INTERFACE
"Build using the Franca SomeIP interfaces" OFF)
option(WITH_DBUS_INTERFACE
"Build using the D-Bus interfaces" ON)
option(WITH_DEBUG
"Enable the debug messages" OFF)
message(STATUS "---------------------------------------------------------")
if(WITH_ENHANCED_POSITION_SERVICE)
add_subdirectory(enhanced-position-service)
endif(WITH_ENHANCED_POSITION_SERVICE)
if(WITH_GNSS_SERVICE)
add_subdirectory(gnss-service)
endif(WITH_GNSS_SERVICE)
if(WITH_LOG_REPLAYER)
add_subdirectory(log-replayer)
endif(WITH_LOG_REPLAYER)
if(WITH_LOGGER)
add_subdirectory(logger)
endif(WITH_LOGGER)
if(WITH_SENSORS_SERVICE)
add_subdirectory(sensors-service)
endif(WITH_SENSORS_SERVICE)