ENH: Linux: set BBL_INTERNAL_TESTING to 1 for release build

Change-Id: I1545636c9e9714b44124ea0ddf18ef39f277a2b8
This commit is contained in:
lane.wei 2023-03-08 08:40:33 +08:00
parent 7f9dc48560
commit a91c4f37fc

View file

@ -222,9 +222,9 @@ then
fi
if [[ -n "$BUILD_DEBUG" ]]
then
BUILD_ARGS="${BUILD_ARGS} -DCMAKE_BUILD_TYPE=Debug"
BUILD_ARGS="${BUILD_ARGS} -DCMAKE_BUILD_TYPE=Debug -DBBL_INTERNAL_TESTING=1"
else
BUILD_ARGS="${BUILD_ARGS} -DBBL_RELEASE_TO_PUBLIC=1"
BUILD_ARGS="${BUILD_ARGS} -DBBL_RELEASE_TO_PUBLIC=1 -DBBL_INTERNAL_TESTING=0"
fi
# cmake