Skip to content
Snippets Groups Projects
Commit 5e97c222 authored by Kitware Robot's avatar Kitware Robot Committed by Jaswant Panchumarti (Kitware)
Browse files

sqlite 2023-09-20 (3bcba4c4)

Code extracted from:

    https://gitlab.kitware.com/third-party/sqlite.git

at commit 3bcba4c45785618750a6b505e5c920d27e21ad57 (for/vtk-20230920-3.36.0).
parent 5b45dc72
No related merge requests found
......@@ -26,6 +26,16 @@ if (vtk_sqlite_build_binary)
target_link_libraries(sqlitebin
PRIVATE
VTK::sqlite)
if (CMAKE_SYSTEM_NAME STREQUAL "Emscripten")
# allows sqlitebin to access host file system for generating proj.db etc.
# permit memory growth to generate arbitrary sized files.
# set EXIT_RUNTIME=1 so that stdout is flushed on exit.
target_link_options(sqlitebin
PRIVATE
"-sALLOW_MEMORY_GROWTH=1"
"-sNODERAWFS=1"
"-sEXIT_RUNTIME=1")
endif ()
endif ()
include(GenerateExportHeader)
......
......@@ -9,3 +9,4 @@ process.
* Ignore whitespace errors for VTK's commit checks.
* Integrate the CMake build with VTK's module system.
* Mangle all exported symbols to have a `vtksqlite_` prefix.
* enable I/O for sqlitebin executable inside wasm sandbox.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment