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
|
|
|
#
|
|
|
|
|
2018-07-21 11:40:52 +00:00
|
|
|
|
|
|
|
if(Boost_VERSION LESS 105800)
|
|
|
|
add_definitions(-DOLD_BOOST=1)
|
|
|
|
endif(Boost_VERSION LESS 105800)
|
|
|
|
|
2017-05-10 14:42:22 +00:00
|
|
|
set(PVT_ADAPTER_SOURCES
|
2017-04-20 14:10:12 +00:00
|
|
|
rtklib_pvt.cc
|
2013-09-10 08:44:02 +00:00
|
|
|
)
|
2012-12-24 02:33:50 +00:00
|
|
|
|
|
|
|
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/PVT/gnuradio_blocks
|
|
|
|
${CMAKE_SOURCE_DIR}/src/algorithms/PVT/libs
|
2017-04-20 14:10:12 +00:00
|
|
|
${CMAKE_SOURCE_DIR}/src/algorithms/libs/rtklib
|
2018-02-25 00:10:27 +00:00
|
|
|
${CMAKE_SOURCE_DIR}/src/algorithms/libs
|
2013-01-03 01:48:34 +00:00
|
|
|
${ARMADILLO_INCLUDE_DIRS}
|
2016-05-07 21:15:17 +00:00
|
|
|
${Boost_INCLUDE_DIRS}
|
2013-07-04 13:47:40 +00:00
|
|
|
${GLOG_INCLUDE_DIRS}
|
2013-07-06 11:11:23 +00:00
|
|
|
${GFlags_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 PVT_ADAPTER_HEADERS "*.h")
|
2016-05-23 17:51:59 +00:00
|
|
|
list(SORT PVT_ADAPTER_HEADERS)
|
2014-06-28 01:55:57 +00:00
|
|
|
add_library(pvt_adapters ${PVT_ADAPTER_SOURCES} ${PVT_ADAPTER_HEADERS})
|
|
|
|
source_group(Headers FILES ${PVT_ADAPTER_HEADERS})
|
2013-07-04 13:47:40 +00:00
|
|
|
target_link_libraries(pvt_adapters pvt_gr_blocks ${ARMADILLO_LIBRARIES} ${GNURADIO_RUNTIME_LIBRARIES})
|