justblues 2015-05-21 01:25 采纳率: 50%
浏览 1622
已采纳

批处理文件的作用,setHOME

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条回答 默认 最新

  • baidu_28369209 2015-05-21 03:33
    关注

    这个真是玩透了,不过都绝对路径不如用相对路径啊

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?