summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorKenneth Heafield <github@kheafield.com>2012-05-11 19:00:26 -0400
committerKenneth Heafield <github@kheafield.com>2012-05-11 19:00:26 -0400
commite1cc454db3be1a5eedc3dba7022e813a772696d7 (patch)
treec2d1291a51f9117ec70e6ae02affb75d5e4ac3c9 /utils
parentb84c2f7a650949dd8fa2e77ccf0362fc025b3ca6 (diff)
Add just enough jam to compile the decoder.
Diffstat (limited to 'utils')
-rw-r--r--utils/Jamfile34
1 files changed, 34 insertions, 0 deletions
diff --git a/utils/Jamfile b/utils/Jamfile
new file mode 100644
index 00000000..53a51277
--- /dev/null
+++ b/utils/Jamfile
@@ -0,0 +1,34 @@
+import testing ;
+import option ;
+
+additional = ;
+if [ option.get with-cmph ] {
+ additional += perfect_hash.cc ;
+}
+
+lib utils :
+ alignment_io.cc
+ b64tools.cc
+ corpus_tools.cc
+ dict.cc
+ tdict.cc
+ fdict.cc
+ gzstream.cc
+ filelib.cc
+ stringlib.cc
+ sparse_vector.cc
+ timing_stats.cc
+ verbose.cc
+ weights.cc
+ $(additional)
+ ..//z
+ : <include>.. <include>. : : <include>.. <include>. ;
+
+exe ts : ts.cc utils ;
+exe atools : atools.cc utils ..//boost_program_options ;
+exe phmt : phmt.cc utils ;
+exe reconstruct_weights : reconstruct_weights.cc utils ..//boost_program_options ;
+
+alias programs : reconstruct_weights atools ;
+
+all_tests : utils ;