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

---- ---- ----
Thu Jan 31 15:04:07 EST 2013


Yeah, CMAKE changed to relative pathing in VS2010 projects which fixes the issue with a bug in VS but I unfortunately can't use the newest CMAKE. I'm stuck with 2.8.7 for now


-----Original Message-----
From: John Drescher [mailto:drescherjm at gmail.com] 
Sent: Thursday, January 31, 2013 12:02 PM
To: ---- ----
Cc: cmake at cmake.org
Subject: Re: [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?
>

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