工程文件为AirCode,批处理文件为bulit.bat(与*.sln文件在同级目录)。

以下是批处理的代码:

echo %~dp0

rem set build_config="Debug|Win32"
rem set build_config=$ALL
set build_config="Release|Win32"

rem set vs2008 cli environment
call "%VS90COMNTOOLS%VSVARS32.BAT"

vcbuild /rebuild  %~dp0AirCode.sln %build_config%
                
pause;

以下是其运行的结果图:

VS2008编译bat

相关文章:

  • 2021-10-07
  • 2021-07-31
  • 2021-07-18
  • 2022-12-23
  • 2021-05-18
  • 2022-12-23
  • 2021-10-09
猜你喜欢
  • 2021-10-16
  • 2021-09-17
  • 2021-04-18
  • 2021-05-14
  • 2021-06-22
  • 2021-09-11
  • 2022-12-23
相关资源
相似解决方案