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

NoRulez norulez at me.com
Tue Jan 7 11:12:28 EST 2014


Hello,

is there a simple way to replace the slashes (directory delimiter) with backslashes for include paths after or during the generation of *.vcxproj files?

The problem which is described here exists in VS2012 and VS2013: http://connect.microsoft.com/VisualStudio/feedback/details/778367/vc-2012-mistakes-include-path-for-compiler-switch-and-runs-a-full-rebuild

I already tried to override the add_library and add_executable functions, but it seems that the generation process is called after the functions.

Thanks in advance

Best regards


More information about the CMake mailing list