mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-09-11 11:25:40 +03:00
Only build moses2 if xmlrpc-c is present
This commit is contained in:
parent
ecda6645a5
commit
1416d8d290
@ -166,5 +166,12 @@ alias deps : ../..//z ../..//boost_iostreams ../..//boost_filesystem ../../mose
|
||||
exe moses2 : Main.cpp moses2_lib ;
|
||||
exe CreateProbingPT2 : CreateProbingPT2.cpp moses2_lib ;
|
||||
|
||||
alias programs : moses2 CreateProbingPT2 ;
|
||||
if [ xmlrpc ] {
|
||||
echo "Building Moses2" ;
|
||||
alias programs : moses2 CreateProbingPT2 ;
|
||||
}
|
||||
else {
|
||||
echo "Not building Moses2" ;
|
||||
alias programs : ;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user