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
|
2012-12-24 02:33:50 +00:00
|
|
|
#
|
|
|
|
# This file is part of GNSS-SDR.
|
|
|
|
#
|
2020-02-08 00:20:02 +00:00
|
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
2012-12-24 02:33:50 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2018-11-18 20:24:54 +00:00
|
|
|
set(COND_ADAPTER_SOURCES
|
2018-11-21 23:35:21 +00:00
|
|
|
signal_conditioner.cc
|
|
|
|
array_signal_conditioner.cc
|
2014-02-18 19:40:44 +00:00
|
|
|
)
|
2012-12-24 02:33:50 +00:00
|
|
|
|
2018-11-18 20:24:54 +00:00
|
|
|
set(COND_ADAPTER_HEADERS
|
2018-11-21 23:35:21 +00:00
|
|
|
signal_conditioner.h
|
|
|
|
array_signal_conditioner.h
|
2018-10-04 20:35:44 +00:00
|
|
|
)
|
|
|
|
|
2016-05-23 17:51:59 +00:00
|
|
|
list(SORT COND_ADAPTER_HEADERS)
|
2018-10-04 20:35:44 +00:00
|
|
|
list(SORT COND_ADAPTER_SOURCES)
|
|
|
|
|
2014-06-28 01:55:57 +00:00
|
|
|
source_group(Headers FILES ${COND_ADAPTER_HEADERS})
|
2019-02-03 18:24:44 +00:00
|
|
|
|
2019-02-04 21:44:45 +00:00
|
|
|
add_library(conditioner_adapters ${COND_ADAPTER_SOURCES} ${COND_ADAPTER_HEADERS})
|
|
|
|
|
2019-02-03 18:24:44 +00:00
|
|
|
target_link_libraries(conditioner_adapters
|
|
|
|
PUBLIC
|
|
|
|
Gnuradio::runtime
|
|
|
|
PRIVATE
|
2019-02-04 21:44:45 +00:00
|
|
|
Gflags::gflags
|
2019-02-03 18:24:44 +00:00
|
|
|
Glog::glog
|
|
|
|
)
|
|
|
|
|
2019-02-10 00:13:02 +00:00
|
|
|
target_include_directories(conditioner_adapters
|
|
|
|
PUBLIC
|
|
|
|
${CMAKE_SOURCE_DIR}/src/core/interfaces
|
|
|
|
)
|
|
|
|
|
2019-02-21 08:59:06 +00:00
|
|
|
if(ENABLE_CLANG_TIDY)
|
|
|
|
if(CLANG_TIDY_EXE)
|
|
|
|
set_target_properties(conditioner_adapters
|
|
|
|
PROPERTIES
|
|
|
|
CXX_CLANG_TIDY "${DO_CLANG_TIDY}"
|
|
|
|
)
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
|
2019-02-03 18:24:44 +00:00
|
|
|
set_property(TARGET conditioner_adapters
|
|
|
|
APPEND PROPERTY INTERFACE_INCLUDE_DIRECTORIES
|
|
|
|
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
|
|
|
|
)
|