mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-27 14:05:29 +03:00
conditional compilation of VW feature functions
This commit is contained in:
parent
ea5ebe3a84
commit
dfae9f99a4
@ -65,6 +65,13 @@ if [ option.get "with-mm" : no : yes ] = yes
|
||||
alias mmlib ;
|
||||
}
|
||||
|
||||
local with-vw = [ option.get "with-vw" ] ;
|
||||
if $(with-vw) {
|
||||
alias vwfiles : [ glob FF/VW/*.cpp ] ;
|
||||
} else {
|
||||
alias vwfiles ;
|
||||
}
|
||||
|
||||
lib moses :
|
||||
[ glob
|
||||
*.cpp
|
||||
@ -83,7 +90,7 @@ lib moses :
|
||||
FF/*.cpp
|
||||
FF/bilingual-lm/*.cpp
|
||||
FF/OSM-Feature/*.cpp
|
||||
FF/VW/*.cpp
|
||||
vwfiles
|
||||
FF/LexicalReordering/*.cpp
|
||||
PP/*.cpp
|
||||
: #exceptions
|
||||
|
Loading…
Reference in New Issue
Block a user