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
21431691
Commit
21431691
authored
Nov 11, 2014
by
Dane Springmeyer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ensure both libsqlite3 and node-sqlite3 are compiled with same visual studio version
parent
35329a84
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
8 deletions
+9
-8
appveyor.yml
appveyor.yml
+1
-1
binding.gyp
binding.gyp
+1
-6
common-sqlite.gypi
deps/common-sqlite.gypi
+7
-1
No files found.
appveyor.yml
View file @
21431691
...
@@ -40,7 +40,7 @@ install:
...
@@ -40,7 +40,7 @@ install:
# install node version per visual studio toolset
# install node version per visual studio toolset
-
ps
:
Write-Output "https://mapbox.s3.amazonaws.com/node-cpp11/v$env:nodejs_version/$env:Platform/node.exe"
-
ps
:
Write-Output "https://mapbox.s3.amazonaws.com/node-cpp11/v$env:nodejs_version/$env:Platform/node.exe"
-
if "%msvs_toolset%" == "12" powershell "Install-Product node $env:nodejs_version $env:Platform"
-
if "%msvs_toolset%" == "12" powershell "Install-Product node $env:nodejs_version $env:Platform"
-
if "%msvs_toolset%" == "14" powershell
'Start-FileDownload "https://mapbox.s3.amazonaws.com/node-cpp11/v$env:nodejs_version/$env:Platform/node.exe"'
-
if "%msvs_toolset%" == "14" powershell
"Start-FileDownload 'https://mapbox.s3.amazonaws.com/node-cpp11/v$env:nodejs_version/$env:Platform/node.exe'"
# upgrade node-gyp to support --msvs_version=2013
# upgrade node-gyp to support --msvs_version=2013
-
npm install node-gyp
-
npm install node-gyp
-
SET PATH=C:\Program Files (x86)\MSBuild\%msvs_toolset%.0\bin;%PATH%
-
SET PATH=C:\Program Files (x86)\MSBuild\%msvs_toolset%.0\bin;%PATH%
...
...
binding.gyp
View file @
21431691
...
@@ -2,12 +2,7 @@
...
@@ -2,12 +2,7 @@
"includes": [ "deps/common-sqlite.gypi" ],
"includes": [ "deps/common-sqlite.gypi" ],
"variables": {
"variables": {
"sqlite%":"internal",
"sqlite%":"internal",
"sqlite_libname%":"sqlite3",
"sqlite_libname%":"sqlite3"
"toolset%":'',
},
'target_defaults': {
'default_configuration': 'Release',
'msbuild_toolset':'<(toolset)'
},
},
"targets": [
"targets": [
{
{
...
...
deps/common-sqlite.gypi
View file @
21431691
{
{
'variables': {
'variables': {
'sqlite_version%':'3080701'
'sqlite_version%':'3080701',
"toolset%":'',
},
'target_defaults': {
'default_configuration': 'Release',
'msbuild_toolset':'<(toolset)'
}
}
}
}
\ 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