[CMake] Backslash instead of slashes in *.vcxproj files

Brad King brad.king at kitware.com
Wed Jan 8 10:00:06 EST 2014


On 1/7/2014 11:12 AM, NoRulez wrote:
> is there a simple way to replace the slashes (directory delimiter)
> with backslashes for include paths after or during the generation
> of *.vcxproj files?

This is a bug in the VS 10 generator of CMake.  Paths are
correctly converted to use backslashes in VS <= 9 generators.
I just fixed the VS >= 10 generators:

 VS: Convert include path to backslashes for VS >= 10
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=c1311077

Try out the next nightly build that appears (2.8.12.20140108
or later):

 http://www.cmake.org/files/dev/?C=M;O=D

It should include this fix.

-Brad


More information about the CMake mailing list