summaryrefslogtreecommitdiff
path: root/klm/util/CMakeLists.txt
diff options
context:
space:
mode:
authorChris Dyer <redpony@gmail.com>2015-04-02 00:50:04 -0400
committerChris Dyer <redpony@gmail.com>2015-04-02 00:50:04 -0400
commit5ee02ce1602f2fce6d5af5db93c2278fe6c9ede5 (patch)
tree7ebad8dd99e38d190c579f425c3eb959363e96e5 /klm/util/CMakeLists.txt
parente7d77de8a9b9929b22fc6562f88f3668900f9662 (diff)
parent737ed7a7f932b1a7e40d2755bcdee6bc0aa2de63 (diff)
Merge pull request #70 from redpony/cmake
Cmake
Diffstat (limited to 'klm/util/CMakeLists.txt')
-rw-r--r--klm/util/CMakeLists.txt53
1 files changed, 53 insertions, 0 deletions
diff --git a/klm/util/CMakeLists.txt b/klm/util/CMakeLists.txt
new file mode 100644
index 00000000..bef1db78
--- /dev/null
+++ b/klm/util/CMakeLists.txt
@@ -0,0 +1,53 @@
+INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/..)
+
+set(cat_compressed_SRCS cat_compressed_main.cc)
+
+add_executable(cat_compressed ${cat_compressed_SRCS})
+target_link_libraries(cat_compressed klm_util)
+
+set(klm_util_STAT_SRCS
+ bit_packing.cc
+ bit_packing.hh
+ ersatz_progress.cc
+ ersatz_progress.hh
+ exception.cc
+ exception.hh
+ fake_ofstream.hh
+ file.cc
+ file.hh
+ file_piece.cc
+ file_piece.hh
+ fixed_array.hh
+ getopt.c
+ getopt.hh
+ have.hh
+ joint_sort.hh
+ mmap.cc
+ mmap.hh
+ multi_intersection.hh
+ murmur_hash.cc
+ murmur_hash.hh
+ parallel_read.cc
+ parallel_read.hh
+ pcqueue.hh
+ pool.cc
+ pool.hh
+ probing_hash_table.hh
+ proxy_iterator.hh
+ read_compressed.cc
+ read_compressed.hh
+ scoped.cc
+ scoped.hh
+ sized_iterator.hh
+ sorted_uniform.hh
+ string_piece.cc
+ string_piece.hh
+ string_piece_hash.hh
+ thread_pool.hh
+ tokenize_piece.hh
+ unistd.hh
+ usage.cc
+ usage.hh)
+
+add_library(klm_util STATIC ${klm_util_STAT_SRCS})
+