2020-02-11 23:04:29 +00:00
|
|
|
# Copyright (C) 2012-2020 (see AUTHORS file for a list of contributors)
|
|
|
|
#
|
|
|
|
# GNSS-SDR is a software-defined Global Navigation Satellite Systems receiver
|
2020-02-10 09:59:10 +00:00
|
|
|
#
|
|
|
|
# This file is part of GNSS-SDR.
|
|
|
|
#
|
2020-02-10 10:13:15 +00:00
|
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
2020-02-10 09:59:10 +00:00
|
|
|
#
|
|
|
|
|
2020-02-29 13:33:09 +00:00
|
|
|
source_group(Headers FILES obs_conf.h)
|
2020-02-10 09:59:10 +00:00
|
|
|
|
|
|
|
add_library(observables_libs
|
2020-02-29 13:33:09 +00:00
|
|
|
obs_conf.cc
|
|
|
|
obs_conf.h
|
2020-02-10 09:59:10 +00:00
|
|
|
)
|
|
|
|
|
2020-02-10 18:51:33 +00:00
|
|
|
target_link_libraries(observables_libs
|
|
|
|
PRIVATE
|
|
|
|
gnss_sdr_flags
|
|
|
|
)
|
|
|
|
|
2020-02-10 09:59:10 +00:00
|
|
|
if(ENABLE_CLANG_TIDY)
|
|
|
|
if(CLANG_TIDY_EXE)
|
|
|
|
set_target_properties(observables_libs
|
|
|
|
PROPERTIES
|
|
|
|
CXX_CLANG_TIDY "${DO_CLANG_TIDY}"
|
|
|
|
)
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
|
|
|
|
set_property(TARGET observables_libs
|
|
|
|
APPEND PROPERTY INTERFACE_INCLUDE_DIRECTORIES
|
|
|
|
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
|
|
|
|
)
|