2018-05-13 20:49:11 +00:00
|
|
|
# Copyright (C) 2012-2018 (see AUTHORS file for a list of contributors)
|
2012-12-24 02:33:50 +00:00
|
|
|
#
|
|
|
|
# This file is part of GNSS-SDR.
|
|
|
|
#
|
|
|
|
# GNSS-SDR is free software: you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation, either version 3 of the License, or
|
2014-06-28 01:55:57 +00:00
|
|
|
# (at your option) any later version.
|
2012-12-24 02:33:50 +00:00
|
|
|
#
|
|
|
|
# GNSS-SDR is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
2018-05-13 20:49:11 +00:00
|
|
|
# along with GNSS-SDR. If not, see <https://www.gnu.org/licenses/>.
|
2012-12-24 02:33:50 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
set(CHANNEL_ADAPTER_SOURCES channel.cc)
|
|
|
|
|
|
|
|
include_directories(
|
2017-06-21 06:54:47 +00:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
2012-12-24 02:33:50 +00:00
|
|
|
${CMAKE_SOURCE_DIR}/src/core/system_parameters
|
|
|
|
${CMAKE_SOURCE_DIR}/src/core/interfaces
|
|
|
|
${CMAKE_SOURCE_DIR}/src/core/receiver
|
|
|
|
${CMAKE_SOURCE_DIR}/src/algorithms/channel/libs
|
2018-02-25 00:10:27 +00:00
|
|
|
${CMAKE_SOURCE_DIR}/src/algorithms/libs
|
2013-07-04 13:47:40 +00:00
|
|
|
${GLOG_INCLUDE_DIRS}
|
|
|
|
${GFlags_INCLUDE_DIRS}
|
2014-12-21 21:46:57 +00:00
|
|
|
${Boost_INCLUDE_DIRS}
|
2013-07-04 13:47:40 +00:00
|
|
|
${GNURADIO_RUNTIME_INCLUDE_DIRS}
|
2012-12-24 02:33:50 +00:00
|
|
|
)
|
|
|
|
|
2014-06-28 01:55:57 +00:00
|
|
|
file(GLOB CHANNEL_ADAPTER_HEADERS "*.h")
|
2016-05-23 17:51:59 +00:00
|
|
|
list(SORT CHANNEL_ADAPTER_HEADERS)
|
2014-06-28 01:55:57 +00:00
|
|
|
add_library(channel_adapters ${CHANNEL_ADAPTER_SOURCES} ${CHANNEL_ADAPTER_HEADERS})
|
|
|
|
source_group(Headers FILES ${CHANNEL_ADAPTER_HEADERS})
|
2018-02-25 00:10:27 +00:00
|
|
|
target_link_libraries(channel_adapters channel_fsm ${GNURADIO_RUNTIME_LIBRARIES} ${Boost_LIBRARIES} gnss_sdr_flags)
|