MantisBT - CMake
View Issue Details
0012998CMakeCMakepublic2012-02-26 07:182016-06-10 14:31
Amine Khaldi 
Kitware Robot 
normalmajoralways
closedmoved 
 
CMake 2.8.12 
0012998: rc-File support for MinGW: <FLAGS> incompatibilities between GCC and windres
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.
No tags attached.
related to 0012444closed Bill Hoffman Starting with CMake 2.8.4 it passes invalid msse flag when compiling with MinGW 
related to 0012371closed Kitware Robot Resource compilation gets wrong parameters on CB+MingW 
Issue History
2012-02-26 07:18Amine KhaldiNew Issue
2012-02-27 08:57Brad KingRelationship addedrelated to 0012444
2012-02-27 08:58Brad KingRelationship addedrelated to 0012371
2012-08-11 21:09David ColeStatusnew => backlog
2012-08-11 21:09David ColeNote Added: 0030367
2012-08-18 14:46Kurtis NusbaumNote Added: 0030696
2012-08-20 11:53David ColeStatusbacklog => new
2012-08-20 11:53David ColeTarget Version => CMake 2.8.10
2012-10-18 11:16David ColeTarget VersionCMake 2.8.10 => CMake 2.8.11
2012-10-18 11:17David ColeNote Added: 0031267
2013-05-17 09:33Robert MaynardTarget VersionCMake 2.8.11 => CMake 2.8.12
2016-06-10 14:28Kitware RobotNote Added: 0041991
2016-06-10 14:28Kitware RobotStatusnew => resolved
2016-06-10 14:28Kitware RobotResolutionopen => moved
2016-06-10 14:28Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0030367)
David Cole   
2012-08-11 21:09   
Sending old, never assigned issues to the backlog.

(The age of the bug, plus the fact that it's never been assigned to anyone means that nobody is actively working on it...)

If an issue you care about is sent to the backlog when you feel it should have been addressed in a different manner, please bring it up on the CMake mailing list for discussion. Sign up for the mailing list here, if you're not already on it: http://www.cmake.org/mailman/listinfo/cmake [^]

It's easy to re-activate a bug here if you can find a CMake developer who has the bandwidth to take it on, and ferry a fix through to our 'next' branch for dashboard testing.
(0030696)
Kurtis Nusbaum   
2012-08-18 14:46   
Just like to note that I'm experiencing pain from the bug and would like to see it fixed.
(0031267)
David Cole   
2012-10-18 11:17   
These bugs were deferred from target version 2.8.10 to 2.8.11 based on the responses to this email thread on the CMake developer's mailing list:

  http://public.kitware.com/pipermail/cmake-developers/2012-October/005434.html [^]
(0041991)
Kitware Robot   
2016-06-10 14:28   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.