code_app/build2.bat

45 lines
1.9 KiB
Batchfile

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 ../../