@echo off
set debugOrRelease=Release
set baseOutPath=%debugOrRelease%
rem 當前腳本所在路徑
set build_root = %~dp0
rem vcvarsall.bat所在的路徑:
set vcvars="%VS140COMNTOOLS%../../VC/vcvarsall.bat"
set devenv="%VS140COMNTOOLS%../IDE/devenv.exe"
rem 設置解決方案的路徑
set thesln=./Utilities.sln
echo 上位機程序開始編譯
echo on
echo 正在編譯,請稍後...
@echo on
@%devenv% %thesln% /rebuild %baseOutPath% /out build.log
@echo off
@endlocal