2023-03-31 02:29:39 +00:00
|
|
|
|
|
|
|
cd ./build2/qt
|
|
|
|
|
|
|
|
rm -f Makefile
|
|
|
|
rm -f HGBase/Makefile
|
|
|
|
rm -f HGDemo/Makefile
|
|
|
|
rm -f HGFWUpgrade/Makefile
|
|
|
|
rm -f HGImgFmt/Makefile
|
|
|
|
rm -f HGImgProc/Makefile
|
|
|
|
rm -f HGSaneUI/Makefile
|
|
|
|
rm -f HGSaneUser/Makefile
|
|
|
|
rm -f HGScanner/Makefile
|
|
|
|
rm -f HGScannerLib/Makefile
|
|
|
|
rm -f HGTwainUser/Makefile
|
|
|
|
rm -f HGUpgrade/Makefile
|
|
|
|
rm -f HGUpload/Makefile
|
|
|
|
rm -f HGVersion/Makefile
|
|
|
|
rm -f HGWebScan/Makefile
|
|
|
|
rm -f HGWebService/Makefile
|
|
|
|
|
2023-03-31 03:31:21 +00:00
|
|
|
if [ "${1}" == "hw" ] || [ "${1}" == "hwweb" ] || [ "${1}" == "hwso" ]; then
|
2023-03-31 02:29:39 +00:00
|
|
|
qmake -qt=qt5 -makefile "DEFINES += OEM_HANWANG" HGSolution.pro
|
2023-03-31 03:31:21 +00:00
|
|
|
elif [ "${1}" == "lsc" ] || [ "${1}" == "lscweb" ] || [ "${1}" == "lscso" ]; then
|
2023-03-31 02:29:39 +00:00
|
|
|
qmake -qt=qt5 -makefile "DEFINES += OEM_LISICHENG" HGSolution.pro
|
2023-03-31 03:31:21 +00:00
|
|
|
elif [ "${1}" == "cts" ] || [ "${1}" == "ctsweb" ] || [ "${1}" == "ctsso" ]; then
|
2023-03-31 02:29:39 +00:00
|
|
|
qmake -qt=qt5 -makefile "DEFINES += OEM_CANGTIAN" HGSolution.pro
|
2023-03-31 03:31:21 +00:00
|
|
|
elif [ "${1}" == "zj" ] || [ "${1}" == "zjweb" ] || [ "${1}" == "zjso" ]; then
|
2023-03-31 02:29:39 +00:00
|
|
|
qmake -qt=qt5 -makefile "DEFINES += OEM_ZHONGJING" HGSolution.pro
|
2023-03-31 03:31:21 +00:00
|
|
|
elif [ "${1}" == "zg" ] || [ "${1}" == "zgweb" ] || [ "${1}" == "zgso" ]; then
|
2023-03-31 02:29:39 +00:00
|
|
|
qmake -qt=qt5 -makefile "DEFINES += OEM_ZIGUANG" HGSolution.pro
|
|
|
|
else
|
|
|
|
qmake -qt=qt5 -makefile HGSolution.pro
|
|
|
|
fi
|
|
|
|
|
|
|
|
make -j8
|
|
|
|
|
|
|
|
cd ../../
|