summaryrefslogtreecommitdiff
path: root/klm/lm/Jamfile
blob: b84dbb35da8cb7abe7b2b66556f8b2f4da0b23f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
lib kenlm : bhiksha.cc binary_format.cc config.cc lm_exception.cc model.cc quantize.cc read_arpa.cc search_hashed.cc search_trie.cc trie.cc trie_sort.cc virtual_interface.cc vocab.cc ../util//kenutil : <include>.. : : <include>.. <library>../util//kenutil ;

import testing ;

run left_test.cc ../util//kenutil kenlm ../..//boost_unit_test_framework : : test.arpa ;
run model_test.cc ../util//kenutil kenlm ../..//boost_unit_test_framework : : test.arpa test_nounk.arpa ;

exe query : ngram_query.cc kenlm ../util//kenutil ;
exe build_binary : build_binary.cc kenlm ../util//kenutil ;

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

alias programs : build_binary query ;