mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-27 05:55:02 +03:00
21 lines
782 B
Plaintext
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" ;
|
|
}
|