Enable pch and unity option in compiling process of rpm mode in order to keep consistent with other modes.

This commit is contained in:
Fireatoms 2021-09-03 10:57:37 +08:00 committed by wangzelin.wzl
parent b6aa346563
commit f80b6c2a5e

View File

@ -116,7 +116,7 @@ function build
do_build "$@" -DCMAKE_BUILD_TYPE=Debug
;;
xrpm)
do_build "$@" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DOB_USE_CCACHE=OFF -DOB_COMPRESS_DEBUG_SECTIONS=ON -DOB_STATIC_LINK_LGPL_DEPS=OFF -DOB_ENABLE_PCH=OFF -DOB_ENALBE_UNITY=OFF
do_build "$@" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DOB_USE_CCACHE=OFF -DOB_COMPRESS_DEBUG_SECTIONS=ON -DOB_STATIC_LINK_LGPL_DEPS=OFF
;;
*)
BUILD_ARGS=(debug "${BUILD_ARGS[@]}")