Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
node-sqlite3
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
俞永鹏
node-sqlite3
Commits
e6b1f79f
Commit
e6b1f79f
authored
Jan 06, 2012
by
Dane Springmeyer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add gyp files for building without messing with visual studio UI
parent
78f2eecb
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
80 additions
and
1 deletions
+80
-1
build.gyp
build.gyp
+70
-0
node-sqlite3.sln
node-sqlite3.sln
+1
-1
node-sqlite3.suo
node-sqlite3.suo
+0
-0
vcbuild.bat
vcbuild.bat
+9
-0
No files found.
build.gyp
0 → 100644
View file @
e6b1f79f
{
'variables': {
'node_module_sources': [
"src/database.cc",
"src/node_sqlite3.cc",
"src/statement.cc",
"deps/sqlite3/sqlite3.c"
],
'node_root': '/usr/local',
'node_root_win': 'c:\\node',
},
'targets': [
{
'target_name': 'node_sqlite3',
'product_name': 'node_sqlite3',
'type': 'loadable_module',
'product_prefix': '',
'product_extension':'node',
'sources': [
'<@(node_module_sources)',
],
'defines': [
'PLATFORM="<(OS)"',
'_LARGEFILE_SOURCE',
'_FILE_OFFSET_BITS=64',
],
'conditions': [
[ 'OS=="mac"', {
'libraries': [
'-undefined dynamic_lookup'
],
'include_dirs': [
'src/',
'<@(node_root)/include/node',
'<@(node_root)/include',
],
}],
[ 'OS=="win"', {
'defines': [
'PLATFORM="win32"',
'_LARGEFILE_SOURCE',
'_FILE_OFFSET_BITS=64',
'_WINDOWS',
'BUILDING_NODE_EXTENSION'
],
'libraries': [
'node.lib',
],
'include_dirs': [
'deps\\sqlite3\\',
'<@(node_root_win)\\deps\\v8\\include',
'<@(node_root_win)\\src',
'<@(node_root_win)\\deps\\uv\\include',
],
'msvs_settings': {
'VCLinkerTool': {
'AdditionalLibraryDirectories': [
'<@(node_root_win)\\Release\\lib',
'<@(node_root_win)\\Release',
],
},
},
},
], # windows
] # condition
}, # targets
],
}
\ No newline at end of file
node-sqlite3.sln
View file @
e6b1f79f
Microsoft Visual Studio Solution File, Format Version 11.00
Microsoft Visual Studio Solution File, Format Version 11.00
# Visual
Studio
2010
# Visual
C++ Express
2010
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "node_sqlite3", "node-sqlite3.vcxproj", "{2018883C-427E-4E54-B1CB-9A232C3B2844}"
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "node_sqlite3", "node-sqlite3.vcxproj", "{2018883C-427E-4E54-B1CB-9A232C3B2844}"
EndProject
EndProject
Global
Global
...
...
node-sqlite3.suo
View file @
e6b1f79f
No preview for this file type
vcbuild.bat
0 → 100644
View file @
e6b1f79f
del build.sln
python gyp/gyp build.gyp --depth=. -f msvs -G msvs_version=2010
msbuild build.sln
copy Default\\node_sqlite3.node lib\\node_sqlite3.node
rem test!
rem set NODE_PATH=lib
rem node node_modules\expresso\bin\expresso
rem node -e "console.log(require('eio'))"
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment