From 53d4d6ac09b5d762b263ff5b787fa90cbc45f395 Mon Sep 17 00:00:00 2001 From: yangjiaxuan <171295266@qq.com> Date: Fri, 13 Oct 2023 11:57:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BD=E4=BA=A7=E7=B3=BB=E7=BB=9F=EF=BC=8C?= =?UTF-8?q?=E7=BC=96=E8=AF=91=E8=84=9A=E6=9C=AC=E5=A2=9E=E5=8A=A0=E4=B8=AD?= =?UTF-8?q?=E6=80=A7=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.sh | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) diff --git a/build.sh b/build.sh index ee68e76c..6cb12280 100755 --- a/build.sh +++ b/build.sh @@ -431,6 +431,72 @@ elif [ "${1}" == "dlall" ] || [ "${1}" == "dl" ] || [ "${1}" == "dlweb" ] || [ " fi fi + + elif [ "${1}" == "neuall" ] || [ "${1}" == "neu" ] || [ "${1}" == "neuweb" ] || [ "${1}" == "neuso" ] || [ "${1}" == "neutwain" ]; then + + if [ "${1}" == "neuall" ]; then + + qmake -qt=qt5 -makefile "DEFINES += OEM_DELI" HGSolutionLinux.pro + make -j8 + + else + + cd HGBase + qmake -qt=qt5 -makefile "DEFINES += OEM_NEUTRAL" HGBase.pro + make -j8 + cd ../ + + cd HGImgFmt + qmake -qt=qt5 -makefile "DEFINES += OEM_NEUTRAL" HGImgFmt.pro + make -j8 + cd ../ + + cd HGImgProc + qmake -qt=qt5 -makefile "DEFINES += OEM_NEUTRAL" HGImgProc.pro + make -j8 + cd ../ + + if [ "${1}" == "neu" ]; then + + cd HGTwainUI + qmake -qt=qt5 -makefile "DEFINES += OEM_NEUTRAL" HGTwainUI.pro + make -j8 + cd ../ + + cd HGSaneUser + qmake -qt=qt5 -makefile "DEFINES += OEM_NEUTRAL" HGSaneUser.pro + make -j8 + cd ../ + + cd HGScanner2 + qmake -qt=qt5 -makefile "DEFINES += OEM_NEUTRAL" HGScanner2.pro + make -j8 + cd ../ + mv "../../../release/${system}/${arch}/NeuScan2" "../../../release/${system}/${arch}/NeuScan" + + elif [ "${1}" == "neuweb" ]; then + + cd HGWebService + qmake -qt=qt5 -makefile "DEFINES += OEM_NEUTRAL" HGWebService.pro + make -j8 + cd ../ + + elif [ "${1}" == "neutwain" ]; then + + cd HGTwainUI + qmake -qt=qt5 -makefile "DEFINES += OEM_NEUTRAL" HGTwainUI.pro + make -j8 + cd ../ + + else + + cd HGScannerLib + qmake -qt=qt5 -makefile "DEFINES += OEM_NEUTRAL" HGScannerLib.pro + make -j8 + cd ../ + + fi + fi else