[Cmake] rc file under cygwin

Mathieu Malaterre Mathieu . Malaterre at creatis . insa-lyon . fr
Wed, 12 Nov 2003 15:26:39 +0100


Done,
I added it under 'OS:Window' as there is no CYGWIN entry.

/mat

William A. Hoffman wrote:
> 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
> 
> 


-- 
Mathieu Malaterre
CREATIS
28 Avenue du Doyen LEPINE
B.P. Lyon-Montchat
69394 Lyon Cedex 03
http://www . creatis . insa-lyon . fr/~malaterre/