1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-04-28 13:43:20 +00:00

Colors for everyone

This commit is contained in:
Carles Fernandez 2018-04-03 23:22:20 +02:00
parent 2d347740d0
commit 7bb4b0e065
2 changed files with 38 additions and 34 deletions

View File

@ -138,7 +138,6 @@ set(OS_IS_LINUX "")
if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
set(OperatingSystem "Linux")
set(OS_IS_LINUX TRUE)
add_definitions( -DDISPLAY_COLORS=1 )
if(ARCH_64BITS)
set(ARCH_ "(64 bits)")
else(ARCH_64BITS)

View File

@ -33,6 +33,11 @@
#include <string>
#ifndef NO_DISPLAY_COLORS
#define DISPLAY_COLORS 1
#endif
#ifdef DISPLAY_COLORS
const std::string TEXT_RESET = "\033[0m";