[CMake] Embed an icon into a program

Steven Van Ingelgem steven at vaningelgem.be
Tue May 6 04:21:24 EDT 2008


Hi,


To embed an icon into a program on Windows with VS, you just add it to
the source files. This approach however doesn't seem to work with
MinGW makefiles (on windows too).

Is there anyway I can make this work?

I know there is a tool "windres" which supposedly takes a .rc file and
converts it into some precompiled format? Though I would prefer that
CMake handles it from it's own of course :)


Thanks!


More information about the CMake mailing list