2023-09-15 22:32:14 +08:00
|
|
|
{
|
|
|
|
'variables': {
|
|
|
|
'sqlite_sources': [
|
|
|
|
'sqlite3.c',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
'targets': [
|
|
|
|
{
|
|
|
|
'target_name': 'sqlite',
|
|
|
|
'type': 'static_library',
|
|
|
|
'cflags': ['-fvisibility=hidden'],
|
|
|
|
'xcode_settings': {
|
|
|
|
'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES', # -fvisibility=hidden
|
|
|
|
},
|
2024-11-18 08:57:04 +08:00
|
|
|
'defines': [
|
|
|
|
'SQLITE_ENABLE_SESSION',
|
|
|
|
'SQLITE_ENABLE_PREUPDATE_HOOK'
|
|
|
|
],
|
2023-09-15 22:32:14 +08:00
|
|
|
'include_dirs': ['.'],
|
|
|
|
'sources': [
|
|
|
|
'<@(sqlite_sources)',
|
|
|
|
],
|
|
|
|
'direct_dependent_settings': {
|
|
|
|
'include_dirs': ['.'],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|