When Visual Studio 10 vcxproj files are generated by CMake 2.8.5 or 2.8.6, it is typically impossible to view the C/C++ properties of a single source file. CMake 2.8.0 to 2.8.4 do not seem to have this issue. It looks like the issue is caused by the fact that CMake 2.8.5 started storing the absolute path names of the source files (even when CMAKE_USE_RELATIVE_PATHS is ON).

Is that a known issue?

Visual Studio 10 does not allow viewing the C/C++ properties of source files that are listed by their absolute path names. See VS10 bug report 635294, "Using absolute path in ClCompile item prevents property pages from showing", by Niels M Hansen, 1/9/2011: https://connect.microsoft.com/VisualStudio/feedback/details/635294/using-absolute-path-in-clcompile-item-prevents-property-pages-from-showing

However, it seems like Visual Studio 10 *does* correctly support absolute path names *without* drive letter! Would it be possible for CMake to write the source file names *without* the drive letter, when it generates Visual Studio 10 vcxproj files? (Especially when the generated vcxproj files are located at the same drive as the source files.)

Kind regards,

  Niels
--
Niels Dekker
http://www.xs4all.nl/~nd/dekkerware
Scientific programmer at LKEB, Leiden University Medical Center
--

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

Reply via email to