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

Andreas Haferburg ahaferburg at scopis.com
Mon Feb 4 07:08:24 EST 2013


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, ---- ---- 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-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
>
>
>
> --
>
> 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: ahaferburg at 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.


More information about the CMake mailing list