增加一键编译脚本
This commit is contained in:
parent
5b019a14c2
commit
10e5ce4304
|
@ -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 ../../
|
Loading…
Reference in New Issue