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

John Drescher drescherjm at gmail.com
Thu Jan 31 15:02:11 EST 2013


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

Properties work for my projects in VisualStudio 2010 for me when using
CMake-2.8.10.2 to generate my projects.

John


More information about the CMake mailing list