mosesdecoder/moses/TranslationModel/CompactPT/Jamfile
2013-04-25 21:50:05 +01:00

17 lines
475 B
Plaintext

local current = "" ;
local includes = ;
local with-cmph = [ option.get "with-cmph" ] ;
if $(with-cmph) {
lib cmph : : <search>$(with-cmph)/lib <search>$(with-cmph)/lib64 ;
includes += <include>$(with-cmph)/include ;
current = "--with-cmph=$(with-cmph)" ;
}
else {
alias cmph ;
}
path-constant PT-LOG : bin/pt.log ;
update-if-changed $(PT-LOG) $(current) ;
fakelib CompactPT : [ glob *.cpp ] ../..//headers cmph : $(includes) <dependency>$(PT-LOG) : : $(includes) ;