VS自动编译脚本
1:新建一个Build.bat脚本文件
2:在脚本文件中输入:
rem ************************************************
rem * Script to compile the solutions of IdealOEye*
rem * Created by: zhaohu *
rem * Created 2017.05.15 *
rem ************************************************
rem set environment variables:
set _devenv="%VS100COMNTOOLS%..\..\Common7\IDE\devenv.com"
rem set compile log
set _log="%~dp0compileResults.log"
echo [%DATE% %Time%] Start compile sequence >%_log%
echo Used compile configuration is %buildAnyCPU% >>%_log%
rem Start compile************************************************
set _solution_file="%~dp0samples_vs2010.sln"
%_devenv% %_solution_file% /build "Releas