1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-13 03:30:33 +00:00

Remove unnecessary links and includes to boost::thread

This commit is contained in:
Carles Fernandez 2019-08-03 19:51:50 +02:00
parent 4ec498514c
commit 1a11b5a2ec
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D
9 changed files with 26 additions and 18 deletions

View File

@ -32,7 +32,6 @@
#include "gen_signal_source.h"
#include <boost/lexical_cast.hpp>
#include <boost/thread/thread.hpp>
#include <glog/logging.h>
#include <gnuradio/io_signature.h>
#include <gnuradio/message.h>

View File

@ -44,8 +44,6 @@
#include "gnss_synchro.h"
#include "tracking_2nd_DLL_filter.h"
#include "tracking_FLL_PLL_filter.h"
#include <boost/thread/mutex.hpp>
#include <boost/thread/thread.hpp>
#include <gnuradio/block.h>
#include <volk_gnsssdr/volk_gnsssdr.h>
#include <fstream>

View File

@ -42,8 +42,6 @@
#include "gnss_synchro.h"
#include "tracking_2nd_DLL_filter.h"
#include "tracking_FLL_PLL_filter.h"
#include <boost/thread/mutex.hpp>
#include <boost/thread/thread.hpp>
#include <gnuradio/block.h>
#include <volk_gnsssdr/volk_gnsssdr.h>
#include <fstream>

View File

@ -135,7 +135,6 @@ target_link_libraries(core_receiver
PUBLIC
core_libs
core_monitor
Boost::thread
Gnuradio::runtime
PRIVATE
signal_source_adapters
@ -150,7 +149,6 @@ target_link_libraries(core_receiver
obs_adapters
pvt_adapters
Boost::boost
Boost::chrono
Gflags::gflags
Glog::glog
Armadillo::armadillo
@ -179,6 +177,15 @@ if(OS_IS_MACOSX)
endif()
endif()
if(ENABLE_FPGA)
target_link_libraries(core_receiver
PUBLIC
Boost::thread
PRIVATE
Boost::chrono
)
endif()
if(ENABLE_FLEXIBAND AND TELEORBIT_FOUND)
target_link_libraries(core_receiver
PRIVATE

View File

@ -65,7 +65,6 @@
#include "rtklib_ephemeris.h" // for alm2pos, eph2pos
#include "rtklib_rtkcmn.h" // for utc2gpst
#include <armadillo> // for interaction with geofunctions
#include <boost/chrono.hpp> // for steady_clock
#include <boost/lexical_cast.hpp> // for bad_lexical_cast
#include <glog/logging.h> // for LOG
#include <pmt/pmt.h> // for make_any
@ -82,6 +81,9 @@
#include <sys/ipc.h> // for IPC_CREAT
#include <sys/msg.h> // for msgctl, msgget
#ifdef ENABLE_FPGA
#include <boost/chrono.hpp> // for steady_clock
#endif
extern Concurrent_Map<Gps_Acq_Assist> global_gps_acq_assist_map;
extern Concurrent_Queue<Gps_Acq_Assist> global_gps_acq_assist_queue;

View File

@ -40,7 +40,6 @@
#include "concurrent_queue.h" // for Concurrent_Queue
#include "gnss_sdr_supl_client.h" // for Gnss_Sdr_Supl_Client
#include "tcp_cmd_interface.h" // for TcpCmdInterface
#include <boost/thread.hpp> // for boost::thread
#include <pmt/pmt.h>
#include <array> // for array
#include <ctime> // for time_t (gmtime, strftime in implementation)
@ -50,6 +49,11 @@
#include <utility> // for pair
#include <vector> // for vector
#ifdef ENABLE_FPGA
#include <boost/thread.hpp> // for boost::thread
#endif
class ConfigurationInterface;
class GNSSFlowgraph;
class Gnss_Satellite;
@ -173,8 +177,6 @@ private:
unsigned int processed_control_messages_;
unsigned int applied_actions_;
boost::thread fpga_helper_thread_;
std::thread keyboard_thread_;
std::thread sysv_queue_thread_;
std::thread gps_acq_assist_data_collector_thread_;
@ -201,6 +203,10 @@ private:
Agnss_Ref_Location agnss_ref_location_;
Agnss_Ref_Time agnss_ref_time_;
#ifdef ENABLE_FPGA
boost::thread fpga_helper_thread_;
#endif
};
#endif /*GNSS_SDR_CONTROL_THREAD_H_*/
#endif /* GNSS_SDR_CONTROL_THREAD_H_ */

View File

@ -31,10 +31,12 @@ endif()
target_link_libraries(gnss-sdr
PUBLIC
core_receiver
Boost::boost
Boost::thread
Gflags::gflags
Glog::glog
Threads::Threads
core_receiver
)
target_compile_definitions(gnss-sdr PRIVATE -DGNSS_SDR_VERSION="${VERSION}")

View File

@ -43,7 +43,7 @@
#include "concurrent_queue.h"
#include "control_thread.h"
#include "gps_acq_assist.h"
#include <boost/exception/diagnostic_information.hpp> // for diagnostic_informatio
#include <boost/exception/diagnostic_information.hpp> // for diagnostic_information
#include <boost/exception/exception.hpp> // for exception
#include <boost/thread/exceptions.hpp> // for thread_resource_error
#include <gflags/gflags.h> // for ShutDownCommandLineFlags

View File

@ -27,10 +27,6 @@ target_link_libraries(front_end_cal_lib
PUBLIC
Armadillo::armadillo
Threads::Threads
Volkgnsssdr::volkgnsssdr ${ORC_LIBRARIES}
signal_source_adapters
signal_source_gr_blocks
signal_source_libs
acquisition_adapters
gnss_sdr_flags
channel_libs