mirror of
https://github.com/clangen/musikcube.git
synced 2024-11-19 20:13:36 +00:00
21 lines
606 B
CMake
21 lines
606 B
CMake
|
# https://stackoverflow.com/a/19578320
|
||
|
if (NOT WIN32)
|
||
|
string(ASCII 27 Esc)
|
||
|
set(ColorReset "${Esc}[m")
|
||
|
set(ColorBold "${Esc}[1m")
|
||
|
set(Red "${Esc}[31m")
|
||
|
set(Green "${Esc}[32m")
|
||
|
set(Yellow "${Esc}[33m")
|
||
|
set(Blue "${Esc}[34m")
|
||
|
set(Magenta "${Esc}[35m")
|
||
|
set(Cyan "${Esc}[36m")
|
||
|
set(White "${Esc}[37m")
|
||
|
set(BoldRed "${Esc}[1;31m")
|
||
|
set(BoldGreen "${Esc}[1;32m")
|
||
|
set(BoldYellow "${Esc}[1;33m")
|
||
|
set(BoldBlue "${Esc}[1;34m")
|
||
|
set(BoldMagenta "${Esc}[1;35m")
|
||
|
set(BoldCyan "${Esc}[1;36m")
|
||
|
set(BoldWhite "${Esc}[1;37m")
|
||
|
endif()
|