mosesdecoder/vw/Jamfile
2015-01-09 11:03:27 +01:00

21 lines
782 B
Plaintext

alias headers : : : : <include>. <include>..//moses// <include>.. ;
alias deps : ..//z ..//boost_iostreams ..//boost_filesystem ../moses//moses ;
boost 103600 ;
# VW
local with-vw = [ option.get "with-vw" ] ;
if $(with-vw) {
lib vw : : <search>$(with-vw)/lib ;
lib allreduce : : <search>$(with-vw)/lib ;
obj ClassifierFactory.o : ClassifierFactory.cpp headers : <include>$(with-vw)/include/vowpalwabbit ;
obj VWPredictor.o : VWPredictor.cpp headers : <include>$(with-vw)/include/vowpalwabbit ;
alias vw_objects : VWPredictor.o ClassifierFactory.o vw allreduce : : : <library>boost_program_options ;
lib classifier : [ glob *.cpp : VWPredictor.cpp ClassifierFactory.cpp ] vw_objects headers ;
exe vwtrainer : MainVW deps ;
echo "Linking with Vowpal Wabbit" ;
}