[CMake] Embed an icon into a program

Steven Van Ingelgem steven at vaningelgem.be
Tue May 6 05:34:56 EDT 2008


The problem is that I already do this, but it doesn't show up the
icon, neither it gets compiled...


2008/5/6 Surya Kiran Gullapalli <suryakiran.gullapalli at gmail.com>:
> Create an rc file and add it to sources. CMake automatically writes the
> appropriate rule to project file.
>
> Surya
>
>
>
> On Tue, May 6, 2008 at 1:51 PM, Steven Van Ingelgem <steven at vaningelgem.be>
> wrote:
>
> >
> >
> >
> > 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!
> > _______________________________________________
> > CMake mailing list
> > CMake at cmake.org
> > http://www.cmake.org/mailman/listinfo/cmake
> >
>
>


More information about the CMake mailing list