Skip to contentSkip to conversation

packge/pkg-cmake: disable colouring the output

PATCH New Yann E. MORIN 2 participants 2 messages Jan 26, 2014 – Jan 28, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 packge/pkg-cmake: disable colouring the output

From: "Yann E. MORIN" <[email protected]>

cmake is the only build-system we support that does colour its output,

Also, since parallel builds generates intermixed output lines, it makes for ugly-looking output.

Just disable cmake colouring globally.

---
 package/pkg-cmake.mk | 1 +
 1 file changed, 1 insertion(+)
package/pkg-cmake.mk +1 -0
index aedd1fc..13be557 100644
@@ -64,6 +64,7 @@ define $(2)_CONFIGURE_CMDS
 	$$($$(PKG)_CONF_ENV) $(HOST_DIR)/usr/bin/cmake $$($$(PKG)_SRCDIR) \
 		-DCMAKE_TOOLCHAIN_FILE="$$(HOST_DIR)/usr/share/buildroot/toolchainfile.cmake" \
 		-DCMAKE_INSTALL_PREFIX="/usr" \
+		-DCMAKE_COLOR_MAKEFILE=OFF \
 		-DBUILD_SHARED_LIBS=$(if $(BR2_PREFER_STATIC_LIB),OFF,ON) \
 		$$($$(PKG)_CONF_OPT) \
 	)
Signature · 1 line
1.8.1.2
#1 lore raw

PATCH 1/1 packge/pkg-cmake: disable colouring the output

Quoted 5 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Yann" == Yann E MORIN <[email protected]> writes:

From: "Yann E. MORIN" <[email protected]>
cmake is the only build-system we support that does colour its output,

Quoted 7 lines

Also, since parallel builds generates intermixed output lines, it makes for ugly-looking output.

Just disable cmake colouring globally.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard