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:
parent
2d347740d0
commit
7bb4b0e065
@ -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)
|
||||
|
@ -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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user