一键编译脚本,每次执行重新编译
This commit is contained in:
parent
adfed032a9
commit
f3e4ef8f15
64
build.bat
64
build.bat
|
@ -4,121 +4,121 @@ cd /d ./build2/qt
|
|||
|
||||
if "%OEM%" == "hw" (
|
||||
%QT_PATH%/msvc2017_64/bin/qmake "DEFINES += OEM_HANWANG" -r -tp vc HGSolutionWin.pro
|
||||
MSBuild.exe HGSolutionWin.sln /m:8 /p:Configuration=Release /p:Platform=x64
|
||||
MSBuild.exe HGSolutionWin.sln -t:rebuild /m:8 /p:Configuration=Release /p:Platform=x64
|
||||
cd /d HGTwainUI
|
||||
%QT_STATIC_PATH%/x64-windows-static-md/tools/qt5/bin/qmake "DEFINES += OEM_HANWANG" -r -tp vc HGTwainUI.pro
|
||||
MSBuild.exe HWTwainUI.vcxproj /m:8 /p:Configuration=Release /p:Platform=x64
|
||||
MSBuild.exe HWTwainUI.vcxproj -t:rebuild /m:8 /p:Configuration=Release /p:Platform=x64
|
||||
cd /d ../
|
||||
|
||||
%QT_PATH%/msvc2017/bin/qmake "DEFINES += OEM_HANWANG" -r -tp vc HGSolutionWin.pro
|
||||
MSBuild.exe HGSolutionWin.sln /m:8 /p:Configuration=Release
|
||||
MSBuild.exe HGSolutionWin.sln -t:rebuild /m:8 /p:Configuration=Release
|
||||
cd /d HGTwainUI
|
||||
%QT_STATIC_PATH%/x86-windows-static-md/tools/qt5/bin/qmake "DEFINES += OEM_HANWANG" -r -tp vc HGTwainUI.pro
|
||||
MSBuild.exe HWTwainUI.vcxproj /m:8 /p:Configuration=Release
|
||||
MSBuild.exe HWTwainUI.vcxproj -t:rebuild /m:8 /p:Configuration=Release
|
||||
cd /d ../
|
||||
) else (
|
||||
if "%OEM%" == "lsc" (
|
||||
%QT_PATH%/msvc2017_64/bin/qmake "DEFINES += OEM_LISICHENG" -r -tp vc HGSolutionWin.pro
|
||||
MSBuild.exe HGSolutionWin.sln /m:8 /p:Configuration=Release /p:Platform=x64
|
||||
MSBuild.exe HGSolutionWin.sln -t:rebuild /m:8 /p:Configuration=Release /p:Platform=x64
|
||||
cd /d HGTwainUI
|
||||
%QT_STATIC_PATH%/x64-windows-static-md/tools/qt5/bin/qmake "DEFINES += OEM_LISICHENG" -r -tp vc HGTwainUI.pro
|
||||
MSBuild.exe LSCTwainUI.vcxproj /m:8 /p:Configuration=Release /p:Platform=x64
|
||||
MSBuild.exe LSCTwainUI.vcxproj -t:rebuild /m:8 /p:Configuration=Release /p:Platform=x64
|
||||
cd /d ../
|
||||
|
||||
%QT_PATH%/msvc2017/bin/qmake "DEFINES += OEM_LISICHENG" -r -tp vc HGSolutionWin.pro
|
||||
MSBuild.exe HGSolutionWin.sln /m:8 /p:Configuration=Release
|
||||
MSBuild.exe HGSolutionWin.sln -t:rebuild /m:8 /p:Configuration=Release
|
||||
cd /d HGTwainUI
|
||||
%QT_STATIC_PATH%/x86-windows-static-md/tools/qt5/bin/qmake "DEFINES += OEM_LISICHENG" -r -tp vc HGTwainUI.pro
|
||||
MSBuild.exe LSCTwainUI.vcxproj /m:8 /p:Configuration=Release
|
||||
MSBuild.exe LSCTwainUI.vcxproj -t:rebuild /m:8 /p:Configuration=Release
|
||||
cd /d ../
|
||||
) else (
|
||||
if "%OEM%" == "cts" (
|
||||
%QT_PATH%/msvc2017_64/bin/qmake "DEFINES += OEM_CANGTIAN" -r -tp vc HGSolutionWin.pro
|
||||
MSBuild.exe HGSolutionWin.sln /m:8 /p:Configuration=Release /p:Platform=x64
|
||||
MSBuild.exe HGSolutionWin.sln -t:rebuild /m:8 /p:Configuration=Release /p:Platform=x64
|
||||
cd /d HGTwainUI
|
||||
%QT_STATIC_PATH%/x64-windows-static-md/tools/qt5/bin/qmake "DEFINES += OEM_CANGTIAN" -r -tp vc HGTwainUI.pro
|
||||
MSBuild.exe CTSTwainUI.vcxproj /m:8 /p:Configuration=Release /p:Platform=x64
|
||||
MSBuild.exe CTSTwainUI.vcxproj -t:rebuild /m:8 /p:Configuration=Release /p:Platform=x64
|
||||
cd /d ../
|
||||
|
||||
%QT_PATH%/msvc2017/bin/qmake "DEFINES += OEM_CANGTIAN" -r -tp vc HGSolutionWin.pro
|
||||
MSBuild.exe HGSolutionWin.sln /m:8 /p:Configuration=Release
|
||||
MSBuild.exe HGSolutionWin.sln -t:rebuild /m:8 /p:Configuration=Release
|
||||
cd /d HGTwainUI
|
||||
%QT_STATIC_PATH%/x86-windows-static-md/tools/qt5/bin/qmake "DEFINES += OEM_CANGTIAN" -r -tp vc HGTwainUI.pro
|
||||
MSBuild.exe CTSTwainUI.vcxproj /m:8 /p:Configuration=Release
|
||||
MSBuild.exe CTSTwainUI.vcxproj -t:rebuild /m:8 /p:Configuration=Release
|
||||
cd /d ../
|
||||
) else (
|
||||
if "%OEM%" == "zj" (
|
||||
%QT_PATH%/msvc2017_64/bin/qmake "DEFINES += OEM_ZHONGJING" -r -tp vc HGSolutionWin.pro
|
||||
MSBuild.exe HGSolutionWin.sln /m:8 /p:Configuration=Release /p:Platform=x64
|
||||
MSBuild.exe HGSolutionWin.sln -t:rebuild /m:8 /p:Configuration=Release /p:Platform=x64
|
||||
cd /d HGTwainUI
|
||||
%QT_STATIC_PATH%/x64-windows-static-md/tools/qt5/bin/qmake "DEFINES += OEM_ZHONGJING" -r -tp vc HGTwainUI.pro
|
||||
MSBuild.exe ZJTwainUI.vcxproj /m:8 /p:Configuration=Release /p:Platform=x64
|
||||
MSBuild.exe ZJTwainUI.vcxproj -t:rebuild /m:8 /p:Configuration=Release /p:Platform=x64
|
||||
cd /d ../
|
||||
|
||||
%QT_PATH%/msvc2017/bin/qmake "DEFINES += OEM_ZHONGJING" -r -tp vc HGSolutionWin.pro
|
||||
MSBuild.exe HGSolutionWin.sln /m:8 /p:Configuration=Release
|
||||
MSBuild.exe HGSolutionWin.sln -t:rebuild /m:8 /p:Configuration=Release
|
||||
cd /d HGTwainUI
|
||||
%QT_STATIC_PATH%/x86-windows-static-md/tools/qt5/bin/qmake "DEFINES += OEM_ZHONGJING" -r -tp vc HGTwainUI.pro
|
||||
MSBuild.exe ZJTwainUI.vcxproj /m:8 /p:Configuration=Release
|
||||
MSBuild.exe ZJTwainUI.vcxproj -t:rebuild /m:8 /p:Configuration=Release
|
||||
cd /d ../
|
||||
) else (
|
||||
if "%OEM%" == "zg" (
|
||||
%QT_PATH%/msvc2017_64/bin/qmake "DEFINES += OEM_ZIGUANG" -r -tp vc HGSolutionWin.pro
|
||||
MSBuild.exe HGSolutionWin.sln /m:8 /p:Configuration=Release /p:Platform=x64
|
||||
MSBuild.exe HGSolutionWin.sln -t:rebuild /m:8 /p:Configuration=Release /p:Platform=x64
|
||||
cd /d HGTwainUI
|
||||
%QT_STATIC_PATH%/x64-windows-static-md/tools/qt5/bin/qmake "DEFINES += OEM_ZIGUANG" -r -tp vc HGTwainUI.pro
|
||||
MSBuild.exe ZGTwainUI.vcxproj /m:8 /p:Configuration=Release /p:Platform=x64
|
||||
MSBuild.exe ZGTwainUI.vcxproj -t:rebuild /m:8 /p:Configuration=Release /p:Platform=x64
|
||||
cd /d ../
|
||||
|
||||
%QT_PATH%/msvc2017/bin/qmake "DEFINES += OEM_ZIGUANG" -r -tp vc HGSolutionWin.pro
|
||||
MSBuild.exe HGSolutionWin.sln /m:8 /p:Configuration=Release
|
||||
MSBuild.exe HGSolutionWin.sln -t:rebuild /m:8 /p:Configuration=Release
|
||||
cd /d HGTwainUI
|
||||
%QT_STATIC_PATH%/x86-windows-static-md/tools/qt5/bin/qmake "DEFINES += OEM_ZIGUANG" -r -tp vc HGTwainUI.pro
|
||||
MSBuild.exe ZGTwainUI.vcxproj /m:8 /p:Configuration=Release
|
||||
MSBuild.exe ZGTwainUI.vcxproj -t:rebuild /m:8 /p:Configuration=Release
|
||||
cd /d ../
|
||||
) else (
|
||||
if "%OEM%" == "neu" (
|
||||
%QT_PATH%/msvc2017_64/bin/qmake "DEFINES += OEM_NEUTRAL" -r -tp vc HGSolutionWin.pro
|
||||
MSBuild.exe HGSolutionWin.sln /m:8 /p:Configuration=Release /p:Platform=x64
|
||||
MSBuild.exe HGSolutionWin.sln -t:rebuild /m:8 /p:Configuration=Release /p:Platform=x64
|
||||
cd /d HGTwainUI
|
||||
%QT_STATIC_PATH%/x64-windows-static-md/tools/qt5/bin/qmake "DEFINES += OEM_NEUTRAL" -r -tp vc HGTwainUI.pro
|
||||
MSBuild.exe NEUTwainUI.vcxproj /m:8 /p:Configuration=Release /p:Platform=x64
|
||||
MSBuild.exe NEUTwainUI.vcxproj -t:rebuild /m:8 /p:Configuration=Release /p:Platform=x64
|
||||
cd /d ../
|
||||
|
||||
%QT_PATH%/msvc2017/bin/qmake "DEFINES += OEM_NEUTRAL" -r -tp vc HGSolutionWin.pro
|
||||
MSBuild.exe HGSolutionWin.sln /m:8 /p:Configuration=Release
|
||||
MSBuild.exe HGSolutionWin.sln -t:rebuild /m:8 /p:Configuration=Release
|
||||
cd /d HGTwainUI
|
||||
%QT_STATIC_PATH%/x86-windows-static-md/tools/qt5/bin/qmake "DEFINES += OEM_NEUTRAL" -r -tp vc HGTwainUI.pro
|
||||
MSBuild.exe NEUTwainUI.vcxproj /m:8 /p:Configuration=Release
|
||||
MSBuild.exe NEUTwainUI.vcxproj -t:rebuild /m:8 /p:Configuration=Release
|
||||
cd /d ../
|
||||
) else (
|
||||
if "%OEM%" == "dl" (
|
||||
%QT_PATH%/msvc2017_64/bin/qmake "DEFINES += OEM_DELI" -r -tp vc HGSolutionWin.pro
|
||||
MSBuild.exe HGSolutionWin.sln /m:8 /p:Configuration=Release /p:Platform=x64
|
||||
MSBuild.exe HGSolutionWin.sln -t:rebuild /m:8 /p:Configuration=Release /p:Platform=x64
|
||||
cd /d HGTwainUI
|
||||
%QT_STATIC_PATH%/x64-windows-static-md/tools/qt5/bin/qmake "DEFINES += OEM_DELI" -r -tp vc HGTwainUI.pro
|
||||
MSBuild.exe DLTwainUI.vcxproj /m:8 /p:Configuration=Release /p:Platform=x64
|
||||
MSBuild.exe DLTwainUI.vcxproj -t:rebuild /m:8 /p:Configuration=Release /p:Platform=x64
|
||||
cd /d ../
|
||||
|
||||
%QT_PATH%/msvc2017/bin/qmake "DEFINES += OEM_DELI" -r -tp vc HGSolutionWin.pro
|
||||
MSBuild.exe HGSolutionWin.sln /m:8 /p:Configuration=Release
|
||||
MSBuild.exe HGSolutionWin.sln -t:rebuild /m:8 /p:Configuration=Release
|
||||
cd /d HGTwainUI
|
||||
%QT_STATIC_PATH%/x86-windows-static-md/tools/qt5/bin/qmake "DEFINES += OEM_DELI" -r -tp vc HGTwainUI.pro
|
||||
MSBuild.exe DLTwainUI.vcxproj /m:8 /p:Configuration=Release
|
||||
MSBuild.exe DLTwainUI.vcxproj -t:rebuild /m:8 /p:Configuration=Release
|
||||
cd /d ../
|
||||
) else (
|
||||
%QT_PATH%/msvc2017_64/bin/qmake -r -tp vc HGSolutionWin.pro
|
||||
MSBuild.exe HGSolutionWin.sln /m:8 /p:Configuration=Release /p:Platform=x64
|
||||
MSBuild.exe HGSolutionWin.sln -t:rebuild /m:8 /p:Configuration=Release /p:Platform=x64
|
||||
cd /d HGTwainUI
|
||||
%QT_STATIC_PATH%/x64-windows-static-md/tools/qt5/bin/qmake -r -tp vc HGTwainUI.pro
|
||||
MSBuild.exe HGTwainUI.vcxproj /m:8 /p:Configuration=Release /p:Platform=x64
|
||||
MSBuild.exe HGTwainUI.vcxproj -t:rebuild /m:8 /p:Configuration=Release /p:Platform=x64
|
||||
cd /d ../
|
||||
|
||||
%QT_PATH%/msvc2017/bin/qmake -r -tp vc HGSolutionWin.pro
|
||||
MSBuild.exe HGSolutionWin.sln /m:8 /p:Configuration=Release
|
||||
MSBuild.exe HGSolutionWin.sln -t:rebuild /m:8 /p:Configuration=Release
|
||||
cd /d HGTwainUI
|
||||
%QT_STATIC_PATH%/x86-windows-static-md/tools/qt5/bin/qmake -r -tp vc HGTwainUI.pro
|
||||
MSBuild.exe HGTwainUI.vcxproj /m:8 /p:Configuration=Release
|
||||
MSBuild.exe HGTwainUI.vcxproj -t:rebuild /m:8 /p:Configuration=Release
|
||||
cd /d ../
|
||||
)
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue