mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-09-20 19:29:48 +00:00
e0f577fe98
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@306 64b25241-fba3-4117-9849-534c7e92360d
60 lines
2.9 KiB
CMake
60 lines
2.9 KiB
CMake
# Copyright (C) 2012-2013 (see AUTHORS file for a list of contributors)
|
|
#
|
|
# 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
|
|
# at your option) any later version.
|
|
#
|
|
# 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
|
|
# along with GNSS-SDR. If not, see <http://www.gnu.org/licenses/>.
|
|
#
|
|
|
|
set(GNSS_RECEIVER_SOURCES
|
|
control_thread.cc
|
|
control_message_factory.cc
|
|
file_configuration.cc
|
|
gnss_block_factory.cc
|
|
gnss_flowgraph.cc
|
|
in_memory_configuration.cc
|
|
)
|
|
include_directories(
|
|
$(CMAKE_CURRENT_SOURCE_DIR)
|
|
${CMAKE_SOURCE_DIR}/src/core/system_parameters
|
|
${CMAKE_SOURCE_DIR}/src/core/interfaces
|
|
${CMAKE_SOURCE_DIR}/src/core/libs
|
|
${CMAKE_SOURCE_DIR}/src/algorithms/libs
|
|
${CMAKE_SOURCE_DIR}/src/algorithms/signal_source/adapters
|
|
${CMAKE_SOURCE_DIR}/src/algorithms/output_filter/adapters
|
|
${CMAKE_SOURCE_DIR}/src/algorithms/channel/adapters
|
|
${CMAKE_SOURCE_DIR}/src/algorithms/channel/libs
|
|
${CMAKE_SOURCE_DIR}/src/algorithms/conditioner/adapters
|
|
${CMAKE_SOURCE_DIR}/src/algorithms/data_type_adapter/adapters
|
|
${CMAKE_SOURCE_DIR}/src/algorithms/resampler/adapters
|
|
${CMAKE_SOURCE_DIR}/src/algorithms/input_filter/adapters
|
|
${CMAKE_SOURCE_DIR}/src/algorithms/acquisition/adapters
|
|
${CMAKE_SOURCE_DIR}/src/algorithms/acquisition/gnuradio_blocks
|
|
${CMAKE_SOURCE_DIR}/src/algorithms/tracking/adapters
|
|
${CMAKE_SOURCE_DIR}/src/algorithms/tracking/gnuradio_blocks
|
|
${CMAKE_SOURCE_DIR}/src/algorithms/tracking/libs
|
|
${CMAKE_SOURCE_DIR}/src/algorithms/telemetry_decoder/adapters
|
|
${CMAKE_SOURCE_DIR}/src/algorithms/telemetry_decoder/gnuradio_blocks
|
|
${CMAKE_SOURCE_DIR}/src/algorithms/telemetry_decoder/libs
|
|
${CMAKE_SOURCE_DIR}/src/algorithms/observables/adapters
|
|
${CMAKE_SOURCE_DIR}/src/algorithms/observables/gnuradio_blocks
|
|
${CMAKE_SOURCE_DIR}/src/algorithms/PVT/adapters
|
|
${CMAKE_SOURCE_DIR}/src/algorithms/PVT/gnuradio_blocks
|
|
${CMAKE_SOURCE_DIR}/src/algorithms/PVT/libs
|
|
${GNURADIO_CORE_INCLUDE_DIRS}
|
|
${ARMADILLO_INCLUDE_DIRS}
|
|
)
|
|
link_directories(${Boost_LIBRARY_DIR})
|
|
|
|
add_library(gnss_rx ${GNSS_RECEIVER_SOURCES})
|
|
target_link_libraries(gnss_rx ${Boost_LIBRARIES} ${ARMADILLO_LIBRARIES} gnuradio-core gnss_system_parameters gnss_sp_libs signal_source_adapters datatype_adapters input_filter_adapters conditioner_adapters resampler_adapters acq_adapters tracking_lib tracking_adapters channel_adapters telemetry_decoder_adapters obs_adapters pvt_adapters pvt_lib out_adapters rx_core_lib) |