You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge pull request #49 from JGI-Bioinformatics/master
Flush close on destroy, CMake and buff_size
Added CMakeLists.txt and included buff_size in the constructor of the i/ofstream classes
Including a close on the underlying I/ofstream on destruction
message(WARNING"Interface libraries are not well supported before cmake 3.13, you will need to include within the parent CMakeLists.txt: INCLUDE_DIRECTORIES(zstr/src)")
message(STATUS"Adding zstr and ZLIB for ${PROJECT_NAME}: includes: ${CMAKE_CURRENT_SOURCE_DIR}/src ${ZLIB_INCLUDE_DIRS} and libraries: ${ZLIB_LIBRARIES}")
Copy file name to clipboardExpand all lines: README.org
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,9 @@ For input access (decompression), the compression format is auto-detected, and m
10
10
11
11
For output access (compression), the only parameter exposed by this API is the compression level.
12
12
13
+
To add zstr within a CMake project, include this directory within your CMakeLists.txxt: 'add_subdirectory(zstr)' and include zstr for each required target when specifiying target_link_libraries.
14
+
For cmake versions < 3.13, you will also need to 'include_directories(zstr/src)'
15
+
13
16
Alternatives to this library include:
14
17
15
18
- The original [[http://www.zlib.net/][ZLib]], through its [[http://www.zlib.net/manual.html][C API]]. This does not interact nicely with C++ iostreams.
0 commit comments