Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2012-01-07 04:20:45 +0400
committerRyan Dahl <ry@tinyclouds.org>2012-01-07 04:26:16 +0400
commitbca88b2dc120879c8e427db8bbc16a3f104e4cb4 (patch)
tree5f60d7aa6405596518c42b763666a3757d9a70fb /vcbuild.bat
parentbe67fa7e095d47806983e126ef45639c7d9a2867 (diff)
support nosnapshot in vcbuild.bat
Diffstat (limited to 'vcbuild.bat')
-rw-r--r--vcbuild.bat10
1 files changed, 10 insertions, 0 deletions
diff --git a/vcbuild.bat b/vcbuild.bat
index 38a1951b922..74c02c73bff 100644
--- a/vcbuild.bat
+++ b/vcbuild.bat
@@ -17,6 +17,7 @@ set target=Build
set noprojgen=
set nobuild=
set nosign=
+set nosnapshot=
set test=
set test_args=
set msi=
@@ -30,6 +31,7 @@ if /i "%1"=="clean" set target=Clean&goto arg-ok
if /i "%1"=="noprojgen" set noprojgen=1&goto arg-ok
if /i "%1"=="nobuild" set nobuild=1&goto arg-ok
if /i "%1"=="nosign" set nosign=1&goto arg-ok
+if /i "%1"=="nosnapshot" set nosnapshot=1&goto arg-ok
if /i "%1"=="test-uv" set test=test-uv&goto arg-ok
if /i "%1"=="test-internet"set test=test-internet&goto arg-ok
if /i "%1"=="test-pummel" set test=test-pummel&goto arg-ok
@@ -53,10 +55,18 @@ if defined upload goto upload
if defined noprojgen goto msbuild
@rem Generate the VS project.
+if defined nosnapshot goto nosnapshotgen
python tools\gyp_node -f msvs -G msvs_version=2010
if errorlevel 1 goto create-msvs-files-failed
if not exist node.sln goto create-msvs-files-failed
echo Project files generated.
+goto msbuild
+
+:nosnapshotgen
+python tools\gyp_node -f msvs -G msvs_version=2010 -D v8_use_snapshot='false'
+if errorlevel 1 goto create-msvs-files-failed
+if not exist node.sln goto create-msvs-files-failed
+echo Project files generated.
:msbuild
@rem Skip project generation if requested.