mirror of
				https://github.com/gnss-sdr/gnss-sdr
				synced 2025-11-04 09:13:05 +00:00 
			
		
		
		
	Starting CMake support. In the root directory of gnss-sdr, type:
$ mkdir build && cd build && cmake ../ && make && make install git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@290 64b25241-fba3-4117-9849-534c7e92360d
This commit is contained in:
		
							
								
								
									
										21
									
								
								src/algorithms/tracking/CMakeLists.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								src/algorithms/tracking/CMakeLists.txt
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,21 @@
 | 
			
		||||
# 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/>.
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
add_subdirectory(adapters)
 | 
			
		||||
add_subdirectory(gnuradio_blocks)
 | 
			
		||||
add_subdirectory(libs)
 | 
			
		||||
							
								
								
									
										42
									
								
								src/algorithms/tracking/adapters/CMakeLists.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										42
									
								
								src/algorithms/tracking/adapters/CMakeLists.txt
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,42 @@
 | 
			
		||||
# 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(TRACKING_ADAPTER_SOURCES 
 | 
			
		||||
     galileo_e1_dll_pll_veml_tracking.cc
 | 
			
		||||
     galileo_e1_tcp_connector_tracking.cc
 | 
			
		||||
     gps_l1_ca_dll_fll_pll_tracking.cc
 | 
			
		||||
     gps_l1_ca_dll_pll_optim_tracking.cc
 | 
			
		||||
     gps_l1_ca_dll_pll_tracking.cc
 | 
			
		||||
     gps_l1_ca_tcp_connector_tracking.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/receiver
 | 
			
		||||
     ${CMAKE_SOURCE_DIR}/src/algorithms/tracking/gnuradio_blocks
 | 
			
		||||
     ${CMAKE_SOURCE_DIR}/src/algorithms/tracking/libs
 | 
			
		||||
     ${CMAKE_SOURCE_DIR}/src/algorithms/libs
 | 
			
		||||
     ${GNURADIO_CORE_INCLUDE_DIRS}
 | 
			
		||||
     ${GNURADIO_GRUEL_INCLUDE_DIRS}
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
add_library(tracking_adapters ${TRACKING_ADAPTER_SOURCES})
 | 
			
		||||
target_link_libraries(tracking_adapters tracking_gr_blocks gnss_sp_libs)
 | 
			
		||||
							
								
								
									
										40
									
								
								src/algorithms/tracking/gnuradio_blocks/CMakeLists.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										40
									
								
								src/algorithms/tracking/gnuradio_blocks/CMakeLists.txt
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,40 @@
 | 
			
		||||
# 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(TRACKING_GR_BLOCKS_SOURCES 
 | 
			
		||||
     galileo_e1_dll_pll_veml_tracking_cc.cc
 | 
			
		||||
     galileo_e1_tcp_connector_tracking_cc.cc
 | 
			
		||||
     gps_l1_ca_dll_fll_pll_tracking_cc.cc
 | 
			
		||||
     gps_l1_ca_dll_pll_optim_tracking_cc.cc
 | 
			
		||||
     gps_l1_ca_dll_pll_tracking_cc.cc
 | 
			
		||||
     gps_l1_ca_tcp_connector_tracking_cc.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/receiver
 | 
			
		||||
     ${CMAKE_SOURCE_DIR}/src/algorithms/tracking/libs
 | 
			
		||||
     ${CMAKE_SOURCE_DIR}/src/algorithms/libs
 | 
			
		||||
     ${GNURADIO_CORE_INCLUDE_DIRS}
 | 
			
		||||
     ${GNURADIO_GRUEL_INCLUDE_DIRS}
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
add_library(tracking_gr_blocks ${TRACKING_GR_BLOCKS_SOURCES})
 | 
			
		||||
target_link_libraries(tracking_gr_blocks tracking_lib gnuradio-core gnss_sp_libs ${Boost_LINK_LIBRARIES} )
 | 
			
		||||
							
								
								
									
										42
									
								
								src/algorithms/tracking/libs/CMakeLists.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										42
									
								
								src/algorithms/tracking/libs/CMakeLists.txt
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,42 @@
 | 
			
		||||
# 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(TRACKING_LIB_SOURCES 
 | 
			
		||||
     cordic.cc    
 | 
			
		||||
     correlator.cc
 | 
			
		||||
     lock_detectors.cc
 | 
			
		||||
     tcp_communication.cc
 | 
			
		||||
     tcp_packet_data.cc
 | 
			
		||||
     tracking_2nd_DLL_filter.cc
 | 
			
		||||
     tracking_2nd_PLL_filter.cc
 | 
			
		||||
     tracking_discriminators.cc
 | 
			
		||||
     tracking_FLL_PLL_filter.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/receiver
 | 
			
		||||
     ${GNURADIO_CORE_INCLUDE_DIRS}
 | 
			
		||||
     ${GNURADIO_GRUEL_INCLUDE_DIRS}
 | 
			
		||||
     ${VOLK_INCLUDE_DIRS}
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
add_library(tracking_lib ${TRACKING_LIB_SOURCES})
 | 
			
		||||
target_link_libraries(tracking_lib ${VOLK_LIBRARIES} gnuradio-core)
 | 
			
		||||
		Reference in New Issue
	
	Block a user