This will suppress enco caffe test glog messages while in build steps.
Error and Fatal will be shown.
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
# Generate caffemodel
add_custom_target(${CAFFEMODEL_TARGET}
ALL cat ${PROTOTXT_FILE}
- | $<TARGET_FILE:caffegen> init
- | $<TARGET_FILE:caffegen> encode
+ | GLOG_minloglevel=2 $<TARGET_FILE:caffegen> init
+ | GLOG_minloglevel=2 $<TARGET_FILE:caffegen> encode
> ${CAFFEMODEL_FILE}
DEPENDS caffegen ${PROTOTXT_TARGET}
COMMENT "Generating ${CAFFEMODEL_FILE}")