diff options
author | Magnus Lundborg <lundborg.magnus@gmail.com> | 2013-05-15 14:39:52 (GMT) |
---|---|---|
committer | Magnus Lundborg <lundborg.magnus@gmail.com> | 2013-05-15 14:39:52 (GMT) |
commit | 22705f7863f87e850b3ef6079b899787e5248b45 (patch) | |
tree | 975c9f0df1ccafd28eb4e31c369813d4505b1231 /src/compression | |
parent | 08150c67d755afab6665207b0a06ae892a0ad7fa (diff) |
Updated CMake files for compression library.
The include path was specified and the tng_io library linked to the
compression library.
Diffstat (limited to 'src/compression')
-rw-r--r-- | src/compression/CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/compression/CMakeLists.txt b/src/compression/CMakeLists.txt index bdc82b8..e9e4bdc 100644 --- a/src/compression/CMakeLists.txt +++ b/src/compression/CMakeLists.txt @@ -1 +1,7 @@ +set(COMP_INC_DIR ${CMAKE_SOURCE_DIR}/include/compression) + +include_directories(${COMP_INC_DIR}) + +set(HEADER_FILES ${COMP_INC_DIR}/bwlzh.h ${COMP_INC_DIR}/bwt.h ${COMP_INC_DIR}/coder.h ${COMP_INC_DIR}/dict.h ${COMP_INC_DIR}/fixpoint.h ${COMP_INC_DIR}/huffman.h ${COMP_INC_DIR}/lz77.h ${COMP_INC_DIR}/merge_sort.h ${COMP_INC_DIR}/mtf.h ${COMP_INC_DIR}/my64bit.h ${COMP_INC_DIR}/rle.h ${COMP_INC_DIR}/tng_compress.h ${COMP_INC_DIR}/vals16.h ${COMP_INC_DIR}/warnmalloc.h ${COMP_INC_DIR}/widemuldiv.h) + add_library(tng_compress SHARED bwlzh.c bwt.c coder.c dict.c fixpoint.c huffman.c huffmem.c lz77.c merge_sort.c mtf.c rle.c tng_compress.c vals16.c warnmalloc.c widemuldiv.c xtc2.c xtc3.c) |