From c953c72c86c281d650b2a8ff856e3d614664e11a Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Thu, 5 Oct 2017 21:57:08 +0200 Subject: Provide basic read only access to dictzip files `dictzip::Istream` and `dictzip::IstreamBuf` are forked from `alpinocorpus::DzIstream` and `alpinocorpus::DzIstreamBuf` of rug-compling/alpinocorpus. --- CMakeLists.txt | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 CMakeLists.txt (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..2514635 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,36 @@ +cmake_minimum_required(VERSION 2.8) +project(DictzipQuery) + +set( + CMAKE_CXX_FLAGS + "-std=c++0x -W -Wall -Wextra -Winline -pedantic" +) + +include_directories( + src/ +) + +add_library( + DictzipQuery + SHARED + src/istream/stream.cc + src/istream/buffer.cc +) + +add_executable( + example + example.cc +) + +target_link_libraries( + example + DictzipQuery + z +) + +install( + TARGETS + DictzipQuery + LIBRARY DESTINATION + lib +) -- cgit v1.2.3