Re: [CMake] Colored diagnostic output for GCC 4.9 through Ninja

2015-10-28 Thread Robert Dailey
On Wed, Oct 28, 2015 at 11:20 AM, Robert Dailey wrote: > On Wed, Oct 28, 2015 at 11:19 AM, Robert Dailey > wrote: >> On Wed, Oct 28, 2015 at 9:03 AM, Miller Henry >> wrote: >>> >>> I do something like this, which works for clang and should work for gcc 4.9 >>> though I haven't tested it. I h

Re: [CMake] Colored diagnostic output for GCC 4.9 through Ninja

2015-10-28 Thread Robert Dailey
On Wed, Oct 28, 2015 at 11:19 AM, Robert Dailey wrote: > On Wed, Oct 28, 2015 at 9:03 AM, Miller Henry > wrote: >> >> I do something like this, which works for clang and should work for gcc 4.9 >> though I haven't tested it. I haven't wrote the right way to do this which >> is to check if th

Re: [CMake] Colored diagnostic output for GCC 4.9 through Ninja

2015-10-28 Thread Robert Dailey
On Wed, Oct 28, 2015 at 9:03 AM, Miller Henry wrote: > > I do something like this, which works for clang and should work for gcc 4.9 > though I haven't tested it. I haven't wrote the right way to do this which > is to check if the terminal supports color before passing the flag in. I > don't

Re: [CMake] Colored diagnostic output for GCC 4.9 through Ninja

2015-10-28 Thread Miller Henry
ehalf Of Robert Dailey Sent: Wednesday, October 28, 2015 8:43 AM To: CMake Subject: [CMake] Colored diagnostic output for GCC 4.9 through Ninja I'm using CMake + Ninja against GCC 4.9 in the Android NDK. I'm on Windows, invoking 'ninja' through CMD.exe. I do not see colored output

Re: [CMake] Colored diagnostic output for GCC 4.9 through Ninja

2015-10-28 Thread Dan Kegel
On Wed, Oct 28, 2015 at 6:43 AM, Robert Dailey wrote: > I'm using CMake + Ninja against GCC 4.9 in the Android NDK. I'm on > Windows, invoking 'ninja' through CMD.exe. > > I do not see colored output for diagnostics (errors, warnings, etc) > GCC gives. Is there something in CMake I need to configu

[CMake] Colored diagnostic output for GCC 4.9 through Ninja

2015-10-28 Thread Robert Dailey
I'm using CMake + Ninja against GCC 4.9 in the Android NDK. I'm on Windows, invoking 'ninja' through CMD.exe. I do not see colored output for diagnostics (errors, warnings, etc) GCC gives. Is there something in CMake I need to configure to enable colored output? -- Powered by www.kitware.com Pl