mirror of
https://github.com/jmcnamara/libxlsxwriter.git
synced 2026-05-15 14:15:54 -06:00
Add memory buffer support
* Avoid using temporary files when possible * Add support for writing to a buffer PR #382
This commit is contained in:
parent
07c67b504c
commit
5097c0e41f
31 changed files with 339 additions and 72 deletions
|
|
@ -131,7 +131,7 @@ option(USE_SYSTEM_MINIZIP "Use system minizip installation" OFF)
|
|||
option(USE_STANDARD_TMPFILE "Use the C standard library's tmpfile()" OFF)
|
||||
option(USE_NO_MD5 "Build libxlsxwriter without third party MD5 lib" OFF)
|
||||
option(USE_OPENSSL_MD5 "Build libxlsxwriter with the OpenSSL MD5 lib" OFF)
|
||||
option(USE_FMEMOPEN "Use fmemopen() in place of some temporary files" OFF)
|
||||
option(USE_MEM_FILE "Use fmemopen()/open_memstream() in place of temporary files" OFF)
|
||||
option(IOAPI_NO_64 "Disable 64-bit filesystem support" OFF)
|
||||
option(USE_DTOA_LIBRARY "Use the locale independent third party Milo Yip DTOA library" OFF)
|
||||
|
||||
|
|
@ -165,7 +165,7 @@ if(USE_OPENSSL_MD5)
|
|||
list(APPEND LXW_PRIVATE_COMPILE_DEFINITIONS USE_OPENSSL_MD5)
|
||||
endif()
|
||||
|
||||
if(USE_FMEMOPEN)
|
||||
if(USE_MEM_FILE OR USE_FMEMOPEN)
|
||||
list(APPEND LXW_PRIVATE_COMPILE_DEFINITIONS USE_FMEMOPEN)
|
||||
endif()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue