[cmake-developers] [CMake 0012371]: Resource compilation gets wrong parameters on CB+MingW

Mantis Bug Tracker mantis at public.kitware.com
Fri Jul 29 04:42:46 EDT 2011


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=12371 
====================================================================== 
Reported By:                Michael Broutin
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   12371
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2011-07-29 04:42 EDT
Last Modified:              2011-07-29 04:42 EDT
====================================================================== 
Summary:                    Resource compilation gets wrong parameters on
CB+MingW
Description: 
Hi,
First, please see this thread on the Ogre Forum :
http://www.ogre3d.org/forums/viewtopic.php?f=2&t=63559

It appears that from CMake 2.8.4 (tested : not fixed in CMake 2.8.5), there's a
problem with resource compiling with mingw : windres.exe is called with what
should be a compiler-only option (something like -msse), so compilation fails...

Right now, the only recommendation is : don't use CMake version above 2.8.3 ...

Is there a better workaround? 
Or can it be fixed within CMake itself?

Steps to Reproduce: 
Get the Ogre source.
Try to compile it with Code::Blocks/MingW (Visual Studio doesn't have this
problem)

Additional Information: 
Attached : CMakeLists.txt from OgreMain
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-07-29 04:42 Michael BroutinNew Issue                                    
2011-07-29 04:42 Michael BroutinFile Added: CMakeLists.txt                    
======================================================================




More information about the cmake-developers mailing list