[CMake] Support for rc-files with mingw?
William A. Hoffman
billlist at nycap.rr.com
Sat Jul 15 13:18:10 EDT 2006
At 11:47 AM 7/15/2006, Christian Ehrlicher wrote:
>Hi,
>
>I've a project where I want to add a rc-file. This works fine with msvc
>but it seems that cmake doesn't handle this for mingw.
>
>ADD_EXECUTABLE(foo WIN32 foo.cpp foo.rc)
>
>Isn't ths supported by cmake or is something wrong with my statement?
>
>Thx,
>Christian
That is currently un-implemented for mingw. Works with borland and
ms. It would not be too hard to add, but last time I tried it did
not work. It is treated like a language. You could try this:
PROJECT(foo C CXX RC)
And see what happens. For MS and Borland, the rc language is automatically
enabled.
-Bill
More information about the CMake
mailing list