mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-11-17 23:34:56 +00:00
2252797386
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@221 64b25241-fba3-4117-9849-534c7e92360d
96 lines
2.9 KiB
Plaintext
96 lines
2.9 KiB
Plaintext
import os ;
|
|
|
|
local GN3S_DRIVER = [ os.environ GN3S_DRIVER ] ;
|
|
local RTLSDR_DRIVER = [ os.environ RTLSDR_DRIVER ] ;
|
|
|
|
module
|
|
{
|
|
#Global variable in the global module
|
|
.GN3S_DRIVER = GN3S_DRIVER ;
|
|
.RTLSDR_DRIVER = RTLSDR_DRIVER ;
|
|
}
|
|
|
|
|
|
local GTEST_DIR = [ os.environ GTEST_DIR ] ;
|
|
project gtest : source-location $(GTEST_DIR)/src : build-dir ../../build ;
|
|
|
|
lib gtest
|
|
: gtest-all.cc # sources
|
|
: <include>$(GTEST_DIR) # requirements
|
|
<include>$(GTEST_DIR)/include
|
|
<link>static ;
|
|
|
|
|
|
lib glog ;
|
|
lib gflags ;
|
|
lib gnuradio-core ;
|
|
lib uhd ;
|
|
lib gnuradio-uhd ;
|
|
|
|
if ($(GN3S_DRIVER))
|
|
{
|
|
echo "GN3S_DRIVER enabled" ;
|
|
lib gr-gn3s ;
|
|
}
|
|
|
|
if ($(RTLSDR_DRIVER))
|
|
{
|
|
echo "RTLSDR_DRIVER enabled" ;
|
|
lib gnuradio-osmosdr ;
|
|
}
|
|
|
|
project
|
|
: usage-requirements <include>.
|
|
;
|
|
|
|
project : requirements
|
|
<define>OMNITHREAD_POSIX
|
|
<cxxflags>"-std=c++0x -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free"
|
|
<linkflags>"-larmadillo -lboost_system -lboost_filesystem -lboost_thread -lboost_date_time -llapack -lblas -lprofiler -ltcmalloc -lvolk"
|
|
<include>src/algorithms/acquisition/adapters
|
|
<include>src/algorithms/acquisition/gnuradio_blocks
|
|
<include>src/algorithms/channel/adapters
|
|
<include>src/algorithms/channel/gnuradio_blocks
|
|
<include>src/algorithms/channel/libs
|
|
<include>src/algorithms/conditioner/adapters
|
|
<include>src/algorithms/conditioner/gnuradio_blocks
|
|
<include>src/algorithms/data_type_adapter/adapters
|
|
<include>src/algorithms/input_filter/adapters
|
|
<include>src/algorithms/input_filter/gnuradio_blocks
|
|
<include>src/algorithms/libs
|
|
<include>src/algorithms/observables/adapters
|
|
<include>src/algorithms/observables/gnuradio_blocks
|
|
<include>src/algorithms/output_filter/adapters
|
|
<include>src/algorithms/output_filter/gnuradio_blocks
|
|
<include>src/algorithms/PVT/adapters
|
|
<include>src/algorithms/PVT/gnuradio_blocks
|
|
<include>src/algorithms/PVT/libs
|
|
<include>src/algorithms/resampler/adapters
|
|
<include>src/algorithms/resampler/gnuradio_blocks
|
|
<include>src/algorithms/signal_source/adapters
|
|
<include>src/algorithms/signal_source/gnuradio_blocks
|
|
<include>src/algorithms/telemetry_decoder/adapters
|
|
<include>src/algorithms/telemetry_decoder/gnuradio_blocks
|
|
<include>src/algorithms/telemetry_decoder/libs
|
|
<include>src/algorithms/tracking/adapters
|
|
<include>src/algorithms/tracking/gnuradio_blocks
|
|
<include>src/algorithms/tracking/libs
|
|
<include>src/core/interfaces
|
|
<include>src/core/libs
|
|
<include>src/core/receiver
|
|
<include>src/core/system_parameters
|
|
#<include>$GNURADIO_ROOT/gr-usrp/src
|
|
<include>$GNURADIO_ROOT/gnuradio-core/src/lib/runtime
|
|
<include>$GNURADIO_ROOT/gnuradio-core/src/lib/filter
|
|
<include>$GNURADIO_ROOT/gnuradio-core/src/lib/io
|
|
<include>$GNURADIO_ROOT/gnuradio-core/src/lib/general
|
|
<include>$GNURADIO_ROOT/gnuradio-core/src/lib/gengen
|
|
<include>$GNURADIO_ROOT/gr-uhd/include
|
|
<include>$GNURADIO_ROOT/volk/lib
|
|
<include>$OSMOSDR_ROOT/include/osmosdr
|
|
<include>$(GTEST_DIR)/include
|
|
<threading>multi
|
|
<toolset>darwin:<include>/opt/local/include ;
|
|
|
|
build-project src ;
|