memory sbrik and sbrak #10
@ -17,7 +17,13 @@ target_include_directories(tdsqlite PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOU
|
|||||||
target_include_directories(tdsqlite SYSTEM PRIVATE ${OPENSSL_INCLUDE_DIR})
|
target_include_directories(tdsqlite SYSTEM PRIVATE ${OPENSSL_INCLUDE_DIR})
|
||||||
target_link_libraries(tdsqlite PRIVATE ${OPENSSL_CRYPTO_LIBRARY} ${CMAKE_DL_LIBS} ${ZLIB_LIBRARIES})
|
target_link_libraries(tdsqlite PRIVATE ${OPENSSL_CRYPTO_LIBRARY} ${CMAKE_DL_LIBS} ${ZLIB_LIBRARIES})
|
||||||
|
|
||||||
target_compile_definitions(tdsqlite PRIVATE -DSQLITE_MAX_MMAP_SIZE=50331648 -DSQLITE_MAX_MEMORY=50331648 -DSQLITE_ENABLE_SORTER_REFERENCES -DSQLITE_DIRECT_OVERFLOW_READ)
|
target_compile_definitions(tdsqlite PRIVATE
|
||||||
|
-DSQLITE_MAX_MMAP_SIZE=50331648
|
||||||
|
-DSQLITE_MAX_MEMORY=50331648
|
||||||
|
-DSQLITE_ENABLE_SORTER_REFERENCES
|
||||||
|
-DSQLITE_DIRECT_OVERFLOW_READ
|
||||||
|
-DSQLITE_ENABLE_MEMORY_MANAGEMENT
|
||||||
|
)
|
||||||
|
|
||||||
if (NOT WIN32)
|
if (NOT WIN32)
|
||||||
target_compile_definitions(tdsqlite PRIVATE -DHAVE_USLEEP -DNDEBUG=1)
|
target_compile_definitions(tdsqlite PRIVATE -DHAVE_USLEEP -DNDEBUG=1)
|
||||||
|
Reference in New Issue
Block a user