[Cmake] rc file under cygwin

William A. Hoffman billlist at nycap . rr . com
Wed, 12 Nov 2003 09:19:49 -0500


Can you add this as a feature request in the bug tracker?

At 04:49 AM 11/12/2003, Mathieu Malaterre wrote:
>Hi all,
>
>        I have a project that use a 'rc' file, cmake is able to pass this file to VC++6 very smoothly. But not under CYGWIN.
>
>        I understand I can use a CUSTOM_COMMAND, but shouldn't it be part of CMake source ? Typical Makefile (from wxWindows) are:
>
>RESCOMP     = windres
>RESFLAGS    = --include-dir $(top_srcdir)/include --include-dir
>$(top_srcdir)/$(program_dir) --define __WIN32__ --define __WIN95__
>--define __GNUWIN32__
>
>.rc_resources.o:
>$(RESCOMP) -i $< -o $@ $(RESFLAGS)
>
>e.g.
>windres -i project.rc -o project_resources.o
>--include-dir myinclude --include-dir .
>--define __WIN32__ --define __WIN95__ --define __GNUWIN32__
>
>HTH
>mathieu
>
>_______________________________________________
>Cmake mailing list
>Cmake at www . cmake . org
>http://www . cmake . org/mailman/listinfo/cmake