Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Jamfile « src « moses - github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b6e379070fc56748ae004ce7f1e2be8c1bda60ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
alias headers : ../../util//kenutil : : : <include>. ;

alias ThreadPool : ThreadPool.cpp ;

if [ option.get "with-synlm" : no : yes ] = yes
{
  lib m ;
  obj SyntacticLanguageModel.o : SyntacticLanguageModel.cpp headers : <include>$(TOP)/synlm/hhmm/rvtl/include <include>$(TOP)/synlm/hhmm/wsjparse/include ;
  alias synlm : SyntacticLanguageModel.o m : : : <define>HAVE_SYNLM ;
} else {
  alias synlm ;
}

lib moses :
#All cpp files except those listed, and test files
[ glob *.cpp DynSAInclude/*.cpp : ThreadPool.cpp SyntacticLanguageModel.cpp *Test.cpp Mock*.cpp ]
synlm ThreadPool LM//LM headers ../..//z ../../OnDiskPt//OnDiskPt ;

import testing ;

unit-test moses_test : [ glob *Test.cpp Mock*.cpp ]  moses ../..//boost_unit_test_framework ;