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

Petr Kmoch petr.kmoch at gmail.com
Mon Feb 4 05:24:22 EST 2013


Hi Bryn,

you might want to experiment with the (somewhat erratic) global variable
CMAKE_USE_RELATIVE_PATHS.

Petr

On Thu, Jan 31, 2013 at 9:04 PM, ---- ----
<---->wrote:

> 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
> --
>
> 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://www.cmake.org/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130204/0f323534/attachment-0001.htm>


More information about the CMake mailing list