[cmake-developers] [CMake 0011459]: VS2010 Generator inserts object files as headers

Mantis Bug Tracker mantis at public.kitware.com
Sun Nov 14 08:03:33 EST 2010


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=11459 
====================================================================== 
Reported By:                Robert Lenhardt
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   11459
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2010-11-14 08:03 EST
Last Modified:              2010-11-14 08:03 EST
====================================================================== 
Summary:                    VS2010 Generator inserts object files as headers
Description: 
If you add an object file as source to a target, it gets inserted twice, as obj
and as header. This confuses VS and it refuses to load the project. The culprit
is WriteCLSources, it needs to check if the source file is an object file. I
added a patch against the master file.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-11-14 08:03 Robert LenhardtNew Issue                                    
2010-11-14 08:03 Robert LenhardtFile Added: no_objects_as_headers.patch         
          
======================================================================




More information about the cmake-developers mailing list