[CMake] unable to view file properties using CMAKE 2.8.7 in VS2010

---- ---- ----
Thu Jan 31 15:00:52 EST 2013


Ah, this seems to be an issue with the generated files clashing with a bug in VS2010

https://connect.microsoft.com/VisualStudio/feedback/details/635294/using-absolute-path-in-clcompile-item-prevents-property-pages-from-showing

Is there a workaround for this in 2.8.7? I'm stuck using that version due to issues I'm experiencing with newer CMAKE versions

Thanks!

BA



From: cmake-bounces at cmake.org [mailto:cmake-bounces at cmake.org] On Behalf Of ---- ----
Sent: Thursday, January 31, 2013 11:55 AM
To: cmake at cmake.org
Subject: [CMake] unable to view file properties using CMAKE 2.8.7 in VS2010

Hey there. I created a bare minimum cmake project

ADD_LIBRARY (foo foo.c)

When I open that solution in VS2010 and right click on foo.c and select properties, the properties dialog comes up but when I try to view each property (C/C++ > General, Optimization, Preprocessor, etc...), nothing displays. The view is literally blank. No fields, just white. If I make the same project using the visual studio 2010 wizard instead of cmake, I am able to see properties.

Is there something I need to enable in CMAKE to see these properties or is this a bug?

Thanks in advance!

BA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130131/3ebfd27a/attachment.htm>


More information about the CMake mailing list