ajout d'info
This commit is contained in:
56
node_modules/sqlite3/deps/common-sqlite.gypi
generated
vendored
Normal file
56
node_modules/sqlite3/deps/common-sqlite.gypi
generated
vendored
Normal file
@@ -0,0 +1,56 @@
|
||||
{
|
||||
'variables': {
|
||||
'sqlite_version%':'3081101',
|
||||
"toolset%":'',
|
||||
},
|
||||
'target_defaults': {
|
||||
'default_configuration': 'Release',
|
||||
'msbuild_toolset':'<(toolset)',
|
||||
'configurations': {
|
||||
'Debug': {
|
||||
'defines!': [
|
||||
'NDEBUG'
|
||||
],
|
||||
'cflags_cc!': [
|
||||
'-O3',
|
||||
'-Os',
|
||||
'-DNDEBUG'
|
||||
],
|
||||
'xcode_settings': {
|
||||
'OTHER_CPLUSPLUSFLAGS!': [
|
||||
'-O3',
|
||||
'-Os',
|
||||
'-DDEBUG'
|
||||
],
|
||||
'GCC_OPTIMIZATION_LEVEL': '0',
|
||||
'GCC_GENERATE_DEBUGGING_SYMBOLS': 'YES'
|
||||
},
|
||||
'msvs_settings': {
|
||||
'VCCLCompilerTool': {
|
||||
'ExceptionHandling': 1, # /EHsc
|
||||
}
|
||||
}
|
||||
},
|
||||
'Release': {
|
||||
'defines': [
|
||||
'NDEBUG'
|
||||
],
|
||||
'xcode_settings': {
|
||||
'OTHER_CPLUSPLUSFLAGS!': [
|
||||
'-Os',
|
||||
'-O2'
|
||||
],
|
||||
'GCC_OPTIMIZATION_LEVEL': '3',
|
||||
'GCC_GENERATE_DEBUGGING_SYMBOLS': 'NO',
|
||||
'DEAD_CODE_STRIPPING': 'YES',
|
||||
'GCC_INLINES_ARE_PRIVATE_EXTERN': 'YES'
|
||||
},
|
||||
'msvs_settings': {
|
||||
'VCCLCompilerTool': {
|
||||
'ExceptionHandling': 1, # /EHsc
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
9
node_modules/sqlite3/deps/extract.py
generated
vendored
Normal file
9
node_modules/sqlite3/deps/extract.py
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
import sys
|
||||
import tarfile
|
||||
import os
|
||||
|
||||
tarball = os.path.abspath(sys.argv[1])
|
||||
dirname = os.path.abspath(sys.argv[2])
|
||||
tfile = tarfile.open(tarball,'r:gz');
|
||||
tfile.extractall(dirname)
|
||||
sys.exit(0)
|
||||
BIN
node_modules/sqlite3/deps/sqlite-autoconf-3081101.tar.gz
generated
vendored
Normal file
BIN
node_modules/sqlite3/deps/sqlite-autoconf-3081101.tar.gz
generated
vendored
Normal file
Binary file not shown.
101
node_modules/sqlite3/deps/sqlite3.gyp
generated
vendored
Executable file
101
node_modules/sqlite3/deps/sqlite3.gyp
generated
vendored
Executable file
@@ -0,0 +1,101 @@
|
||||
{
|
||||
'includes': [ 'common-sqlite.gypi' ],
|
||||
'target_defaults': {
|
||||
'default_configuration': 'Release',
|
||||
'cflags':[
|
||||
'-std=c99'
|
||||
],
|
||||
'configurations': {
|
||||
'Debug': {
|
||||
'defines': [ 'DEBUG', '_DEBUG' ],
|
||||
'msvs_settings': {
|
||||
'VCCLCompilerTool': {
|
||||
'RuntimeLibrary': 1, # static debug
|
||||
},
|
||||
},
|
||||
},
|
||||
'Release': {
|
||||
'defines': [ 'NDEBUG' ],
|
||||
'msvs_settings': {
|
||||
'VCCLCompilerTool': {
|
||||
'RuntimeLibrary': 0, # static release
|
||||
},
|
||||
},
|
||||
}
|
||||
},
|
||||
'msvs_settings': {
|
||||
'VCCLCompilerTool': {
|
||||
},
|
||||
'VCLibrarianTool': {
|
||||
},
|
||||
'VCLinkerTool': {
|
||||
'GenerateDebugInformation': 'true',
|
||||
},
|
||||
},
|
||||
'conditions': [
|
||||
['OS == "win"', {
|
||||
'defines': [
|
||||
'WIN32'
|
||||
],
|
||||
}]
|
||||
],
|
||||
},
|
||||
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'action_before_build',
|
||||
'type': 'none',
|
||||
'hard_dependency': 1,
|
||||
'actions': [
|
||||
{
|
||||
'action_name': 'unpack_sqlite_dep',
|
||||
'inputs': [
|
||||
'./sqlite-autoconf-<@(sqlite_version).tar.gz'
|
||||
],
|
||||
'outputs': [
|
||||
'<(SHARED_INTERMEDIATE_DIR)/sqlite-autoconf-<@(sqlite_version)/sqlite3.c'
|
||||
],
|
||||
'action': ['python','./extract.py','./sqlite-autoconf-<@(sqlite_version).tar.gz','<(SHARED_INTERMEDIATE_DIR)']
|
||||
}
|
||||
],
|
||||
'direct_dependent_settings': {
|
||||
'include_dirs': [
|
||||
'<(SHARED_INTERMEDIATE_DIR)/sqlite-autoconf-<@(sqlite_version)/',
|
||||
]
|
||||
},
|
||||
},
|
||||
{
|
||||
'target_name': 'sqlite3',
|
||||
'type': 'static_library',
|
||||
'include_dirs': [ '<(SHARED_INTERMEDIATE_DIR)/sqlite-autoconf-<@(sqlite_version)/' ],
|
||||
'dependencies': [
|
||||
'action_before_build'
|
||||
],
|
||||
'cflags': [ '-include ../src/gcc-preinclude.h' ],
|
||||
'sources': [
|
||||
'<(SHARED_INTERMEDIATE_DIR)/sqlite-autoconf-<@(sqlite_version)/sqlite3.c'
|
||||
],
|
||||
'direct_dependent_settings': {
|
||||
'include_dirs': [ '<(SHARED_INTERMEDIATE_DIR)/sqlite-autoconf-<@(sqlite_version)/' ],
|
||||
'defines': [
|
||||
'SQLITE_THREADSAFE=1',
|
||||
'SQLITE_ENABLE_FTS3',
|
||||
'SQLITE_ENABLE_RTREE'
|
||||
],
|
||||
},
|
||||
'cflags_cc': [
|
||||
'-Wno-unused-value',
|
||||
'-include ../src/gcc-preinclude.h'
|
||||
],
|
||||
'defines': [
|
||||
'_REENTRANT=1',
|
||||
'SQLITE_THREADSAFE=1',
|
||||
'SQLITE_ENABLE_FTS3',
|
||||
'SQLITE_ENABLE_RTREE'
|
||||
],
|
||||
'export_dependent_settings': [
|
||||
'action_before_build',
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user