Compare commits
3 Commits
5b019a14c2
...
f714def5a8
Author | SHA1 | Date |
---|---|---|
luoliangyi | f714def5a8 | |
luoliangyi | 2f7549163f | |
luoliangyi | 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 ../../
|
|
@ -90,6 +90,9 @@ win32 {
|
|||
LIBS += -lgdi32 -lgdiplus -ldbghelp -lws2_32
|
||||
LIBS += -L$$PWD/../../build/$${MY_OS}/$${OEM_NAME}/$${MY_ARCH}/$${MY_CONFIGURE} -l$${OEM_PREFIX}Base -l$${OEM_PREFIX}ImgFmt -l$${OEM_PREFIX}ImgProc
|
||||
LIBS += -L$$PWD/../../../../sdk/lib/win/$${MY_ARCH}/OEM/$${OEM_NAME} -lsane
|
||||
|
||||
# sane.dll
|
||||
LIBS += -L$$PWD/../../../../release/win/$${MY_ARCH}/OEM/$${OEM_NAME}
|
||||
}
|
||||
|
||||
unix {
|
||||
|
|
|
@ -99,6 +99,9 @@ win32 {
|
|||
INCLUDEPATH += $$PWD/../../../third_party/libcurl/$${MY_OS}/include
|
||||
LIBS += $$PWD/../../../third_party/zlib/$${MY_OS}/lib/$${MY_ARCH}/zlib.lib
|
||||
LIBS += $$PWD/../../../third_party/libzip/$${MY_OS}/lib/$${MY_ARCH}/zip.lib
|
||||
|
||||
# sane.dll
|
||||
LIBS += -L$$PWD/../../../../release/win/$${MY_ARCH}/OEM/$${OEM_NAME}
|
||||
}
|
||||
|
||||
unix {
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
@echo off
|
||||
|
||||
call .\build2.bat hw
|
||||
|
||||
call .\build2.bat lsc
|
||||
|
||||
call .\build2.bat cts
|
||||
|
||||
call .\build2.bat zj
|
||||
|
||||
call .\build2.bat zg
|
||||
|
||||
call .\build2.bat hg
|
Loading…
Reference in New Issue