Last change
on this file since 432 was 302, checked in by Sanahuja Guillaume, 6 years ago |
modifs nouveau build system
|
File size:
758 bytes
|
Line | |
---|
1 |
|
---|
2 | string(ASCII 27 Esc)
|
---|
3 | set(ColourReset "${Esc}[m")
|
---|
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 |
|
---|
20 | function(info)
|
---|
21 | message("${BoldGreen}${ARGV}${ColourReset}")
|
---|
22 | endfunction()
|
---|
23 |
|
---|
24 | function(warn)
|
---|
25 | message("${BoldYellow}${ARGV}${ColourReset}")
|
---|
26 | endfunction()
|
---|
27 |
|
---|
28 | function(err)
|
---|
29 | message(FATAL_ERROR "${BoldRed}${ARGV}${ColourReset}")
|
---|
30 | endfunction()
|
---|
Note:
See
TracBrowser
for help on using the repository browser.