[CMake] Embed an icon into a program

Christian Ehrlicher Ch.Ehrlicher at gmx.de
Tue May 6 05:23:54 EDT 2008


> Von: "Steven Van Ingelgem"
> 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 :)
> 
> 
There's already a feature request in the bugtracker but I can't find it atm. But you'll need windres for it anyway.


Christian
-- 
249 Spiele für nur 1 Preis. Die GMX Spieleflatrate schon ab 9,90 Euro.
Neu: Asterix bei den Olympischen Spielen: http://flat.games.gmx.de


More information about the CMake mailing list