justblues
justblues
2015-05-21 01:25

批处理文件的作用,setHOME

  • xcopy

setlocal
REM Visual Studio 2010
set MSVC_HOME=C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC
REM Platform SDK for Windows Server 2003 R2
set mssdk=C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2
REM Windows SDK for Windows Vista (RC.exeのみ使用する)
set winsdk=C:\Program Files\Microsoft SDKs\Windows\v6.0

set PROGRAM_OUTPUT=isstudio.exe

call "%MSVC_HOME%\bin\vcvars32.bat"
@echo on

cd library
cd win32
cmd /c build.bat -output %PROGRAM_OUTPUT%
xcopy isstudio*.exe ....\bin\win32\win32\x86 /y
xcopy isstudio.env ....\bin\win32\win32\x86 /y
rem xcopy eclipse*.dll ......\org.eclipse.equinox.launcher.win32.win32.x86 /y
nmake -f make_win32.mak PROGRAM_OUTPUT=%PROGRAM_OUTPUT% clean
pause
cmd /c build.bat x86_64 -output %PROGRAM_OUTPUT%
xcopy isstudio*.exe ....\bin\win32\win32\x86_64 /y
rem xcopy eclipse*.dll ......\org.eclipse.equinox.launcher.win32.win32.x86_64 /y
nmake -f make_win64.mak PROGRAM_OUTPUT=%PROGRAM_OUTPUT% clean
pause
cmd /c build.bat ia64 -output %PROGRAM_OUTPUT%
xcopy isstudio*.exe ....\bin\win32\win32\ia64 /y
rem xcopy eclipse*.dll ......\org.eclipse.equinox.launcher.win32.win32.ia64 /y
nmake -f make_win64_ia64.mak PROGRAM_OUTPUT=%PROGRAM_OUTPUT% clean
pause
endlocal

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

2条回答

为你推荐