diff --git a/build2.bat b/build2.bat new file mode 100644 index 00000000..d9b1c297 --- /dev/null +++ b/build2.bat @@ -0,0 +1,45 @@ +set OEM=%1 + +cd /d ./build2/qt + +if "%OEM%" == "hw" ( + %QT_PATH%/msvc2017_64/bin/qmake "DEFINES += OEM_HANWANG" -r -tp vc HGSolution.pro + MSBuild.exe HGSolution.sln /m:8 /p:Configuration=Release + %QT_PATH%/msvc2017/bin/qmake "DEFINES += OEM_HANWANG" -r -tp vc HGSolution.pro + MSBuild.exe HGSolution.sln /m:8 /p:Configuration=Release +) else ( + if "%OEM%" == "lsc" ( + %QT_PATH%/msvc2017_64/bin/qmake "DEFINES += OEM_LISICHENG" -r -tp vc HGSolution.pro + MSBuild.exe HGSolution.sln /m:8 /p:Configuration=Release + %QT_PATH%/msvc2017/bin/qmake "DEFINES += OEM_LISICHENG" -r -tp vc HGSolution.pro + MSBuild.exe HGSolution.sln /m:8 /p:Configuration=Release + ) else ( + if "%OEM%" == "cts" ( + %QT_PATH%/msvc2017_64/bin/qmake "DEFINES += OEM_CANGTIAN" -r -tp vc HGSolution.pro + MSBuild.exe HGSolution.sln /m:8 /p:Configuration=Release + %QT_PATH%/msvc2017/bin/qmake "DEFINES += OEM_CANGTIAN" -r -tp vc HGSolution.pro + MSBuild.exe HGSolution.sln /m:8 /p:Configuration=Release + ) else ( + if "%OEM%" == "zj" ( + %QT_PATH%/msvc2017_64/bin/qmake "DEFINES += OEM_ZHONGJING" -r -tp vc HGSolution.pro + MSBuild.exe HGSolution.sln /m:8 /p:Configuration=Release + %QT_PATH%/msvc2017/bin/qmake "DEFINES += OEM_ZHONGJING" -r -tp vc HGSolution.pro + MSBuild.exe HGSolution.sln /m:8 /p:Configuration=Release + ) else ( + if "%OEM%" == "zg" ( + %QT_PATH%/msvc2017_64/bin/qmake "DEFINES += OEM_ZIGUANG" -r -tp vc HGSolution.pro + MSBuild.exe HGSolution.sln /m:8 /p:Configuration=Release + %QT_PATH%/msvc2017/bin/qmake "DEFINES += OEM_ZIGUANG" -r -tp vc HGSolution.pro + MSBuild.exe HGSolution.sln /m:8 /p:Configuration=Release + ) else ( + %QT_PATH%/msvc2017_64/bin/qmake -r -tp vc HGSolution.pro + MSBuild.exe HGSolution.sln /m:8 /p:Configuration=Release + %QT_PATH%/msvc2017/bin/qmake -r -tp vc HGSolution.pro + MSBuild.exe HGSolution.sln /m:8 /p:Configuration=Release + ) + ) + ) + ) +) + +cd ../../ \ No newline at end of file