Revision 35a1421e vcbuild.bat

View differences:

vcbuild.bat
28 28
set licensertf=
29 29
set upload=
30 30
set jslint=
31
set noetw=
32
set noetw_arg=
33
set noetw_msi_arg=
31 34

  
32 35
:next-arg
33 36
if "%1"=="" goto args-done
......
41 44
if /i "%1"=="nobuild"       set nobuild=1&goto arg-ok
42 45
if /i "%1"=="nosign"        set nosign=1&goto arg-ok
43 46
if /i "%1"=="nosnapshot"    set nosnapshot=1&goto arg-ok
47
if /i "%1"=="noetw"         set noetw=1&goto arg-ok
44 48
if /i "%1"=="licensertf"    set licensertf=1&goto arg-ok
45 49
if /i "%1"=="test-uv"       set test=test-uv&goto arg-ok
46 50
if /i "%1"=="test-internet" set test=test-internet&goto arg-ok
......
65 69
if "%config%"=="Debug" set debug_arg=--debug
66 70
if "%target_arch%"=="x64" set msiplatform=x64
67 71
if defined nosnapshot set nosnapshot_arg=--without-snapshot
72
if defined noetw set noetw_arg=--without-etw& set noetw_msi_arg=/p:NoETW=1
68 73

  
69 74
:project-gen
70 75
@rem Skip project generation if requested.
71 76
if defined noprojgen goto msbuild
72 77

  
73 78
@rem Generate the VS project.
74
python configure %debug_arg% %nosnapshot_arg% --dest-cpu=%target_arch%
79
python configure %debug_arg% %nosnapshot_arg% %noetw_arg% --dest-cpu=%target_arch%
75 80
if errorlevel 1 goto create-msvs-files-failed
76 81
if not exist node.sln goto create-msvs-files-failed
77 82
echo Project files generated.
......
116 121
python "%~dp0tools\getnodeversion.py" > "%temp%\node_version.txt"
117 122
if not errorlevel 0 echo Cannot determine current version of node.js & goto exit
118 123
for /F "tokens=*" %%i in (%temp%\node_version.txt) do set NODE_VERSION=%%i
119
msbuild "%~dp0tools\msvs\msi\nodemsi.sln" /m /t:Clean,Build /p:Configuration=%config% /p:Platform=%msiplatform% /p:NodeVersion=%NODE_VERSION% /clp:NoSummary;NoItemAndPropertyList;Verbosity=minimal /nologo
124
msbuild "%~dp0tools\msvs\msi\nodemsi.sln" /m /t:Clean,Build /p:Configuration=%config% /p:Platform=%msiplatform% /p:NodeVersion=%NODE_VERSION% %noetw_msi_arg% /clp:NoSummary;NoItemAndPropertyList;Verbosity=minimal /nologo
120 125
if errorlevel 1 goto exit
121 126

  
122 127
if defined nosign goto run

Also available in: Unified diff