mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-07-04 11:02:57 +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")
|
if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
||||||
set(OperatingSystem "Linux")
|
set(OperatingSystem "Linux")
|
||||||
set(OS_IS_LINUX TRUE)
|
set(OS_IS_LINUX TRUE)
|
||||||
add_definitions( -DDISPLAY_COLORS=1 )
|
|
||||||
if(ARCH_64BITS)
|
if(ARCH_64BITS)
|
||||||
set(ARCH_ "(64 bits)")
|
set(ARCH_ "(64 bits)")
|
||||||
else(ARCH_64BITS)
|
else(ARCH_64BITS)
|
||||||
|
@ -33,6 +33,11 @@
|
|||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
#ifndef NO_DISPLAY_COLORS
|
||||||
|
#define DISPLAY_COLORS 1
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#ifdef DISPLAY_COLORS
|
#ifdef DISPLAY_COLORS
|
||||||
|
|
||||||
const std::string TEXT_RESET = "\033[0m";
|
const std::string TEXT_RESET = "\033[0m";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user