增加windows一键编译批处理文件

This commit is contained in:
luoliangyi 2022-05-05 10:54:51 +08:00
parent f2660f2f0b
commit 2f0bbf87a2
1 changed files with 11 additions and 0 deletions

11
build.bat Normal file
View File

@ -0,0 +1,11 @@
MSBuild.exe ./build/windows/HGSolution.sln /p:Configuration=Release /p:Platform=x86 /t:Rebuild
cd /d ./build-qt/windows/HGSolution/
qmake -r -tp vc HGScanner.pro
MSBuild.exe HGScanner.vcxproj /p:Configuration=Release /p:Platform=x86
del /f /s /q *.h
del /f /s /q .qmake.stash
del /f /s /q HGScanner_resource.rc
del /f /s /q HGScanner.vcxproj.filters
del /f /s /q HGScanner.vcxproj
rd /s /q debug
rd /s /q release