1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-11-14 05:44:56 +00:00
gnss-sdr/jamroot.jam
2012-12-01 12:41:43 +00:00

90 lines
2.7 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>"-msse2 -msse3 -mfpmath=sse -std=c++0x -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free"
<linkflags>"-lgnuradio-blocks -lgnuradio-fft -lgnuradio-filter -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>$OSMOSDR_ROOT/include/osmosdr
<include>$(GTEST_DIR)/include
<threading>multi
<toolset>gcc:<include>/usr/local/include/gnuradio
<toolset>darwin:<include>/opt/local/include/gnuradio ;
build-project src ;