2015-01-08 18:49:59 +00:00
|
|
|
# Copyright (C) 2012-2015 (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
|
|
|
|
# along with GNSS-SDR. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
#
|
|
|
|
|
2013-09-09 14:32:48 +00:00
|
|
|
set(OBS_GR_BLOCKS_SOURCES
|
2014-06-10 16:58:17 +00:00
|
|
|
hybrid_observables_cc.cc
|
2013-09-09 14:32:48 +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/libs
|
|
|
|
${CMAKE_SOURCE_DIR}/src/algorithms/PVT/libs
|
2013-07-04 13:47:40 +00:00
|
|
|
${GNURADIO_RUNTIME_INCLUDE_DIRS}
|
2015-11-27 12:32:21 +00:00
|
|
|
${ARMADILLO_INCLUDE_DIRS}
|
2013-07-04 13:47:40 +00:00
|
|
|
${GLOG_INCLUDE_DIRS}
|
2013-07-06 00:42:40 +00:00
|
|
|
${GFlags_INCLUDE_DIRS}
|
2017-11-19 19:45:52 +00:00
|
|
|
${MATIO_INCLUDE_DIRS}
|
2012-12-24 02:33:50 +00:00
|
|
|
)
|
|
|
|
|
2014-06-28 01:55:57 +00:00
|
|
|
file(GLOB OBS_GR_BLOCKS_HEADERS "*.h")
|
2016-05-23 17:51:59 +00:00
|
|
|
list(SORT OBS_GR_BLOCKS_HEADERS)
|
2014-06-28 01:55:57 +00:00
|
|
|
add_library(obs_gr_blocks ${OBS_GR_BLOCKS_SOURCES} ${OBS_GR_BLOCKS_HEADERS})
|
|
|
|
source_group(Headers FILES ${OBS_GR_BLOCKS_HEADERS})
|
2017-11-26 09:49:42 +00:00
|
|
|
if(MATIO_FOUND)
|
|
|
|
add_dependencies(obs_gr_blocks glog-${glog_RELEASE} armadillo-${armadillo_RELEASE})
|
|
|
|
else(MATIO_FOUND)
|
|
|
|
add_dependencies(obs_gr_blocks glog-${glog_RELEASE} armadillo-${armadillo_RELEASE} matio-${GNSSSDR_MATIO_LOCAL_VERSION})
|
|
|
|
endif(MATIO_FOUND)
|
2017-11-19 19:45:52 +00:00
|
|
|
target_link_libraries(obs_gr_blocks ${GNURADIO_RUNTIME_LIBRARIES} ${ARMADILLO_LIBRARIES} ${MATIO_LIBRARIES})
|