From: Romain Forlot Date: Sun, 28 May 2017 11:35:45 +0000 (+0200) Subject: Adding colors in output messages. X-Git-Tag: dab_3.99.3~101 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;ds=sidebyside;h=8cd1b7811d19e353206acecfa5d0364ab5733e1a;hp=6cd7467fbe20534d26440b4c374ff960efbdf835;p=staging%2Fxdg-launcher.git Adding colors in output messages. Change-Id: Iad429f66156468098d8e7798c5cabed2481b92a4 Signed-off-by: Romain Forlot --- diff --git a/cmake/common.cmake b/cmake/common.cmake index 9904692..afc8ce0 100644 --- a/cmake/common.cmake +++ b/cmake/common.cmake @@ -155,9 +155,9 @@ macro(remote_targets_populate) ) if(NOT RSYNC_TARGET OR NOT RSYNC_PREFIX) - message (".. Warning: RSYNC_TARGET RSYNC_PREFIX not defined 'make remote-target-populate' not instanciated") + message ("${Yellow}.. Warning: RSYNC_TARGET RSYNC_PREFIX not defined 'make remote-target-populate' not instanciated${ColourReset}") add_custom_target(remote-target-populate - COMMENT "*** Fatal: RSYNC_TARGET RSYNC_PREFIX required with 'make remote-target-populate'" + COMMENT "${Red}*** Fatal: RSYNC_TARGET RSYNC_PREFIX environment variables required with 'make remote-target-populate'${ColourReset}" COMMAND exit -1 ) else()