Debian Codegraph @

cmake/colour.cmake

raw
1 if(NOT WIN32)
2 string(ASCII 27 Esc)
3 set(ColourReset "${Esc}[0m")
4 set(ColourBold "${Esc}[1m")
5 set(Red "${Esc}[31m")
6 set(Green "${Esc}[32m")
7 set(Yellow "${Esc}[33m")
8 set(Blue "${Esc}[34m")
9 set(Magenta "${Esc}[35m")
10 set(Cyan "${Esc}[36m")
11 set(White "${Esc}[37m")
12 set(BoldRed "${Esc}[1;31m")
13 set(BoldGreen "${Esc}[1;32m")
14 set(BoldYellow "${Esc}[1;33m")
15 set(BoldBlue "${Esc}[1;34m")
16 set(BoldMagenta "${Esc}[1;35m")
17 set(BoldCyan "${Esc}[1;36m")
18 set(BoldWhite "${Esc}[1;37m")
19 endif()