title: How to make colorized message() with CMake?
body: <p>I want to have message function in <code>CMakeLists.txt</code> which output colorized text. Maybe an escape sequence.</p>
  <p>For example:</p>
  <pre><code>message(&quot;\x1b[31m;This text must be in red&quot;)
  </code></pre>
  <p>It don't work. I got:</p>
  <blockquote>
  <pre><code>Syntax error in cmake code at
  
  /home/taurus/cmakecolor/CMakeLists.txt:1
  
  when parsing string
  
  \x1b[31m;This text must be in red
  
  Invalid escape sequence \x
  </code></pre>
  </blockquote>