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                         
======================================================================

--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to