[cmake-developers] [CMake 0012998]: rc-File support for MinGW: <FLAGS> incompatibilities between GCC and windres

Mantis Bug Tracker mantis at public.kitware.com
Sun Feb 26 07:18:22 EST 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=12998 
====================================================================== 
Reported By:                Amine Khaldi
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   12998
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-02-26 07:18 EST
Last Modified:              2012-02-26 07:18 EST
====================================================================== 
Summary:                    rc-File support for MinGW: <FLAGS> incompatibilities
between GCC and windres
Description: 
Hi,

For ReactOS when we use basically the default CMAKE_RC_COMPILE_OBJECT in GCC
builds, the <FLAGS> variable expands into the includes + C/CXX compiler flags. 

This makes windres error out on some targets, for example vga has "-mrtd" among
them, which windres doesn't accept.

I guess a solution would be separating includes from compiler flags, so that we
can set our own rule, keeping the includes and omitting the flags, but you guys
may have a better solution.

Thanks.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-02-26 07:18 Amine Khaldi   New Issue                                    
======================================================================




More information about the cmake-developers mailing list