[cmake-developers] [CMake 0012931]: MSVC 2010 project generation filters out known compile flags

Mantis Bug Tracker mantis at public.kitware.com
Fri Feb 3 10:26:44 EST 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=12931 
====================================================================== 
Reported By:                Thierry
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   12931
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-02-03 10:26 EST
Last Modified:              2012-02-03 10:26 EST
====================================================================== 
Summary:                    MSVC 2010 project generation filters out known
compile flags
Description: 
I'm trying to have a library with only one file compiled with clr support.
The Makefile generator adds my flags correctly.

But the visual studio 10 generator filters out the known flags (/clr /FU...)

Steps to Reproduce: 
get my 2 files,
cmake -G "Visual Studio 10"

you can edit the vcxproj and see that some flags are filtered

cmake -G "NMake Makefiles"

that works fine.

Additional Information: 
My colleague still uses MSVC2008 and that generator seems to work.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-02-03 10:26 Thierry        New Issue                                    
2012-02-03 10:26 Thierry        File Added: temp.zip                         
======================================================================




More information about the cmake-developers mailing list