1
0
mirror of https://github.com/cldellow/sqlite-parquet-vtable.git synced 2025-04-03 09:39:47 +00:00

Link Apache Arrow, provide static linking

This commit is contained in:
Addie Morrison 2019-12-08 19:40:12 -06:00
parent df5b6337ae
commit 608ddbbe95

View File

@ -1,8 +1,16 @@
project('sqlite-parquet-vtable', 'c', 'cpp', default_options:['c_std=c11', 'cpp_std=c++11']) project('sqlite-parquet-vtable', 'c', 'cpp', default_options:['c_std=c11', 'cpp_std=c++11'])
arrow = dependency('arrow', version:'0.15.1')
parquet = dependency('parquet', version: '1.5.1') parquet = dependency('parquet', version: '1.5.1')
sqlite = dependency('sqlite3', version: '>=3.21.0') sqlite = dependency('sqlite3', version: '>=3.21.0')
icu = dependency('icu-i18n') icu = dependency('icu-i18n')
shared_library('sqlite-parquet-vtable',
dependencies:[parquet, sqlite, icu], dependencies = [arrow, parquet, sqlite, icu]
sources: ['src/parquet.cc', 'src/parquet_cursor.cc', 'src/parquet_filter.cc', 'src/parquet_table.cc'] sources = ['src/parquet.cc', 'src/parquet_cursor.cc', 'src/parquet_filter.cc', 'src/parquet_table.cc']
static_library('sqlite-parquet-vtable-static',
dependencies: dependencies,
sources: sources
)
shared_library('sqlite-parquet-vtable',
dependencies: dependencies,
sources: sources
) )