linux一键编译脚本兼容之前的调用方式
This commit is contained in:
parent
de3d8eb3a4
commit
81aa42de85
10
build.sh
10
build.sh
|
@ -18,15 +18,15 @@ rm -f HGVersion/Makefile
|
|||
rm -f HGWebScan/Makefile
|
||||
rm -f HGWebService/Makefile
|
||||
|
||||
if [ "${1}" == "hw" ]; then
|
||||
if [ "${1}" == "hw" ] || [ "${1}" == "hwweb" ] || [ "${1}" == "hwso" ]; then
|
||||
qmake -qt=qt5 -makefile "DEFINES += OEM_HANWANG" HGSolution.pro
|
||||
elif [ "${1}" == "lsc" ]; then
|
||||
elif [ "${1}" == "lsc" ] || [ "${1}" == "lscweb" ] || [ "${1}" == "lscso" ]; then
|
||||
qmake -qt=qt5 -makefile "DEFINES += OEM_LISICHENG" HGSolution.pro
|
||||
elif [ "${1}" == "cts" ]; then
|
||||
elif [ "${1}" == "cts" ] || [ "${1}" == "ctsweb" ] || [ "${1}" == "ctsso" ]; then
|
||||
qmake -qt=qt5 -makefile "DEFINES += OEM_CANGTIAN" HGSolution.pro
|
||||
elif [ "${1}" == "zj" ]; then
|
||||
elif [ "${1}" == "zj" ] || [ "${1}" == "zjweb" ] || [ "${1}" == "zjso" ]; then
|
||||
qmake -qt=qt5 -makefile "DEFINES += OEM_ZHONGJING" HGSolution.pro
|
||||
elif [ "${1}" == "zg" ]; then
|
||||
elif [ "${1}" == "zg" ] || [ "${1}" == "zgweb" ] || [ "${1}" == "zgso" ]; then
|
||||
qmake -qt=qt5 -makefile "DEFINES += OEM_ZIGUANG" HGSolution.pro
|
||||
else
|
||||
qmake -qt=qt5 -makefile HGSolution.pro
|
||||
|
|
Loading…
Reference in New Issue