summaryrefslogtreecommitdiff
path: root/decoder/Jamfile
blob: 06c5bfdab10bf1812dbbf5f5c41a0e0633f7e0d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
import testing ;
import lex ;
import option ;

if [ option.get "with-glc" ] {
  glc = ff_glc.cc string_util.cc feature-factory.cc ;
}

lib decoder : 
  forest_writer.cc
  maxtrans_blunsom.cc
  cdec_ff.cc
  cfg.cc
  dwarf.cc
  ff_dwarf.cc
  rule_lexer.ll
  fst_translator.cc
  csplit.cc
  translator.cc
  scfg_translator.cc
  hg.cc
  hg_io.cc
  decoder.cc
  hg_intersect.cc
  hg_sampler.cc
  factored_lexicon_helper.cc
  viterbi.cc
  lattice.cc
  aligner.cc
  apply_models.cc
  earley_composer.cc
  phrasetable_fst.cc
  trule.cc
  ff.cc
  ff_rules.cc
  ff_wordset.cc
  ff_context.cc
  ff_charset.cc
  ff_lm.cc
  ff_klm.cc
  ff_ngrams.cc
  ff_spans.cc
  ff_ruleshape.cc
  ff_wordalign.cc
  ff_csplit.cc
  ff_tagger.cc
  ff_source_syntax.cc
  ff_bleu.cc
  ff_factory.cc
  lexalign.cc
  lextrans.cc
  tagger.cc
  bottom_up_parser.cc
  phrasebased_translator.cc
  JSON_parser.c
  json_parse.cc
  grammar.cc
  $(glc)
  ..//utils
  ..//mteval
  ../klm/lm//kenlm
  ..//boost_program_options
  : <include>.
  : :
  <library>..//utils
  <library>..//mteval
  <library>../klm/lm//kenlm
  <library>..//boost_program_options
  <include>.
  ;

exe cdec : cdec.cc decoder ..//utils ..//mteval ../klm/lm//kenlm ..//boost_program_options ;

all_tests [ glob *_test.cc : cfg_test.cc ] : decoder : <testing.arg>$(TOP)/decoder/test_data ;

install legacy : cdec
  : <location>$(TOP)/cdec <install-type>EXE <install-dependencies>on <link>shared:<dll-path>$(TOP)/cdec <link>shared:<install-type>LIB ;