[cmake-developers] rc compiler on windows mingw
Bill Hoffman
bill.hoffman at kitware.com
Thu Sep 22 09:50:34 EDT 2011
On 9/22/2011 9:38 AM, Brad King wrote:
>> Does the rc compiler not always ship with mingw? I think we added
>> support for it about 6 months ago. Thoughts on this?
>
> Note the location of MinGW in that report:
>
> C:/Qt/qtcreator-2.3.0/mingw/bin/gcc.exe
>
> I bet that is some kind of custom environment created by QtCreator.
> Since Qt does its own thing for resources it probably doesn't need
> a Windows resource compiler.
>
> The resource compiler is obscure enough that it is a shame to make
> it a showstopper for building C code with CMake and MinGW. Can we
> delay the error until we actually find a resource file that needs
> compiling?
>
> -Brad
>
Maybe we could do that... Although I think it is an enable_language
call. We have never made that call dynamically at the first sign of a
source file for that language.
-Bill
More information about the cmake-developers
mailing list