summaryrefslogtreecommitdiff
path: root/gnss-service/CMakeLists.txt
blob: 04d38e4bf6dd270bd38e7d363968f196379f7d0b (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
###########################################################################
# @licence app begin@
# SPDX-License-Identifier: MPL-2.0
#
# Component Name: GNSSService
#
# 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(gnss-service)
cmake_minimum_required(VERSION 2.6.0)

option(WITH_DLT
    "Enable DLT logging" OFF)
    
option(WITH_GPSD
    "Use GPSD as source of GPS data" OFF)

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

option(WITH_TESTS
    "Compile test applications" OFF)

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

message(STATUS "CMAKE_BINARY_DIR =" ${CMAKE_BINARY_DIR})

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

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