summaryrefslogtreecommitdiff
path: root/klm/util/CMakeLists.txt
blob: 23eaffe9a82091a4c9741a7ff5ddeb709604a4ee (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
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 ${ZLIB_LIBRARIES} ${BZIP2_LIBRARIES} ${LIBLZMA_LIBRARIES})

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})