| Left: | ||
| Right: |
| LEFT | RIGHT |
|---|---|
| 1 @echo off | 1 @echo off |
| 2 | |
| 3 if %1.==. goto NoArch | |
| 4 | |
| 2 pushd %~dp0 | 5 pushd %~dp0 |
| 3 third_party\gyp\gyp.bat --depth=. -f msvs -I common.gypi -Dtarget_arch=x64 libad blockplus.gyp | 6 mkdir build |
| 7 mkdir build\shell | |
| 8 python msvs_gyp_wrapper.py --depth=. -f msvs -I common.gypi --generator-output=b uild -Dtarget_arch=%1 libadblockplus.gyp | |
| 9 goto End | |
| 10 | |
| 11 :NoArch | |
| 12 echo Please add a command line parameter specifying target architecture (ia32 or x64) | |
| 13 goto End | |
| 14 | |
| 15 :End | |
| LEFT | RIGHT |