[script] suppress cmake output
This commit is contained in:
parent
f853040875
commit
bd36399a00
4
Makefile
4
Makefile
|
@ -24,6 +24,10 @@ CMAKE_BUILD_TYPE := $(shell echo ${BUILD_TYPE} | sed 's/_\?pgo//' | sed 's/_\?st
|
||||||
# e.g. make CMAKE_FLAGS="-DCMAKE_CXX_COMPILER=g++-9'
|
# e.g. make CMAKE_FLAGS="-DCMAKE_CXX_COMPILER=g++-9'
|
||||||
override CMAKE_FLAGS := -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -G 'Unix Makefiles' ${CMAKE_FLAGS}
|
override CMAKE_FLAGS := -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -G 'Unix Makefiles' ${CMAKE_FLAGS}
|
||||||
|
|
||||||
|
# -s : Suppresss makefile output (e.g. entering/leaving directories)
|
||||||
|
# --output-sync target : For parallel compilation ensure output for each target is synchronized (make version >= 4.0)
|
||||||
|
MAKEFLAGS := -s
|
||||||
|
|
||||||
# Find CMake command from system variable, otherwise use a default one
|
# Find CMake command from system variable, otherwise use a default one
|
||||||
ifeq ($(origin CMAKE_COMMAND),undefined)
|
ifeq ($(origin CMAKE_COMMAND),undefined)
|
||||||
CMAKE_COMMAND := cmake
|
CMAKE_COMMAND := cmake
|
||||||
|
|
Loading…
Reference in New Issue