VC++2008.bat

VC++2008.bat

@rem  For VS2008
@rem VS2008 C:\Program Files\Microsoft Visual Studio  9.0\Common7\IDE
@rem VS2005 C:\Program Files\Microsoft Visual Studio  8\Common7\IDE
@rem C:\Program Files\Microsoft SDKs\Windows\v7. 0
@rem C:\Program Files\Microsoft SDKs\Windows\v6.0A

rem WindowsSdkDir
rem DevEnvDir
rem LIBPATH

@set VS90COMNTOOLS=C:\Program Files\Microsoft Visual Studio  9.0\Common7\Tools\


@SET DevEnvDir=C:\Program Files\Microsoft Visual Studio  9.0\Common7\IDE

@SET VSINSTALLDIR=C:\Program Files\Microsoft Visual Studio  9.0
@SET VCINSTALLDIR= " %VSINSTALLDIR%\VC "
@set WindowsSdkDir=C:\Program Files\Microsoft SDKs\Windows\v6.0A

@set PATH= " %SystemRoot%\system32 "
@set PATH= " %PATH%;%WindowsSdkDir%\bin "
@set PATH= " %PATH%;%VSINSTALLDIR%\VC\bin "
@set PATH= " %PATH%;%VSINSTALLDIR%\VC\VCPackages "
@set PATH= " %PATH%;%VSINSTALLDIR%\Common7\IDE "
@set PATH= " %PATH%;%VSINSTALLDIR%\Common7\Tools "


@set  " INCLUDE=%VCINSTALLDIR%\atlmfc\include;%VCINSTALLDIR%\include\ "
@set  " INCLUDE=%WindowsSdkDir%\include;%INCLUDE% "

@set  " LIB=%VSINSTALLDIR%\VC\lib;%VSINSTALLDIR%\VC\atlmfc\lib; "
@set  " LIB=%WindowsSdkDir%\lib;%LIB% "

@set SOURCE= " %VCINSTALLDIR%\crt\src;%VCINSTALLDIR%\atlmfc\atl;%VCINSTALLDIR%\atlmfc\mfc;%VCINSTALLDIR%\atlmfc\mfcm "
@rem  @set SOURCE= " %SOURCE%;%VCINSTALLDIR%\atlmfc\src "

@ " %DevEnvDir%\devenv " /useenv

你可能感兴趣的:(VC++2008.bat)