Commit 137eddb1 authored by Kitware Robot's avatar Kitware Robot Committed by Shawn Waldon

sqlite 2018-02-07 (1e6c2aee)

Code extracted from:

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

at commit 1e6c2aee385399d746d38c75f464e0e26cc64198 (for/vtk-old).
parents
* -whitespace
sqlite3.c hooks-max-size=8388608
vtk_add_library(vtksqlite
sqlite3.c
sqlite3.h
vtk_sqlite_mangle.h
"${CMAKE_CURRENT_BINARY_DIR}/vtksqlite_export.h")
if (NOT VTK_INSTALL_NO_DEVELOPMENT)
install(FILES
sqlite3.h
vtk_sqlite_mangle.h
"${CMAKE_CURRENT_BINARY_DIR}/vtksqlite_export.h"
DESTINATION "${VTK_INSTALL_INCLUDE_DIR}/vtksqlite"
COMPONENT Development)
endif()
target_compile_definitions(vtksqlite
PRIVATE
SQLITE_THREADSAFE=1)
target_link_libraries(vtksqlite
PRIVATE
${CMAKE_THREAD_LIBS})
target_include_directories(vtksqlite
PUBLIC
"$<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}>")
include(GenerateExportHeader)
generate_export_header(vtksqlite
EXPORT_MACRO_NAME SQLITE_API
EXPORT_FILE_NAME vtksqlite_export.h)
# sqlite fork for VTK
This branch contains changes required to embed sqlite into VTK. This
includes changes made primarily to the build system to allow it to be embedded
into another source tree as well as a header to facilitate mangling of the
symbols to avoid conflicts with other copies of the library within a single
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.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment