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

2013-02-04 Thread Petr Kmoch
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, Bryn Aspestrand
baspestr...@sugarsync.comwrote:

 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:dresche...@gmail.com]
 Sent: Thursday, January 31, 2013 12:02 PM
 To: Bryn Aspestrand
 Cc: cmake@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

--

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

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

2013-02-04 Thread Andreas Haferburg
The workaround I use is to set the build directory to another drive. I added a batch file to my 
Startup folder which contains only this line:


subst b: G:\dev\build

Regards,
Andreas


On 31.01.2013 21:00, Bryn Aspestrand wrote:

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-boun...@cmake.org [mailto:cmake-boun...@cmake.org] *On Behalf Of 
*Bryn Aspestrand
*Sent:* Thursday, January 31, 2013 11:55 AM
*To:* cmake@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



--

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




--
Scopis GmbH
Blücherstr. 22
10961 Berlin
Germany

E-Mail: ahaferb...@scopis.com
Tel.: +49 (30) 201 69 38 0
Fax.: +49 (30) 201 69 38 20
Internet: www.scopis.com

HRB 128315 Berlin Charlottenburg
USt-IdNr.: DE272721463
Steuernummer: 29/014/02034
Geschäftsführer:  Bartosz Kosmecki

Diese E-mail, einschließlich der Anhänge, ist ausschließlich für den oben genannten Adressaten 
bestimmt und beinhaltet vertrauliche und/oder gesetzlich geschützte Informationen. Jedem anderen 
Empfänger ist die Vervielfältigung, Weitergabe oder Veröffentlichung untersagt. Falls Sie diese 
Mitteilung irrtümlicherweise erhalten haben, bitten wir um sofortige Information an den Absender und 
Vernichtung der E-mail.


This e-mail, including the attachments, is for the exclusive use of the above-named addresses and 
contains confidential information and/or information protected by law. Any other recipient is 
prohibited from duplicating, passing on to third parties, or publishing this information. If by 
error you are the recipient of this communication please inform the sender immediately and 
permanently delete this e-mail.

--

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


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

2013-01-31 Thread Bryn Aspestrand
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
--

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

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

2013-01-31 Thread Bryn Aspestrand
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-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of 
Bryn Aspestrand
Sent: Thursday, January 31, 2013 11:55 AM
To: cmake@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
--

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

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

2013-01-31 Thread John Drescher
 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


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

2013-01-31 Thread Bryn Aspestrand
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:dresche...@gmail.com] 
Sent: Thursday, January 31, 2013 12:02 PM
To: Bryn Aspestrand
Cc: cmake@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