国产系统,编译脚本增加中性版本

This commit is contained in:
yangjiaxuan 2023-10-13 11:57:29 +08:00
parent eee1ca5a02
commit 53d4d6ac09
1 changed files with 66 additions and 0 deletions

View File

@ -432,6 +432,72 @@ elif [ "${1}" == "dlall" ] || [ "${1}" == "dl" ] || [ "${1}" == "dlweb" ] || [ "
fi fi
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 else
if [ "${1}" == "hg" ] || [ "${1}" == "hgweb" ] || [ "${1}" == "hgso" ] || [ "${1}" == "hgtwain" ]; then if [ "${1}" == "hg" ] || [ "${1}" == "hgweb" ] || [ "${1}" == "hgso" ] || [ "${1}" == "hgtwain" ]; then