[cmake-developers] [PATCH] Added a generator for Sublime Text 2 project files.

Bill Hoffman bill.hoffman at kitware.com
Sat Oct 13 18:21:57 EDT 2012


On 10/13/2012 9:55 AM, Rolf Eike Beer wrote:
>> +#if defined(_WIN32)
>> >+#  define PATH_SEP "\\"
>> >+#else
>> >+#  define PATH_SEP "/"
>> >+#endif
> I bet there is something in kwsys or so that will handle this stuff.
The convention is to work entirely in unix style paths "/".  Then if a 
generator requires it to be specifically windows we call 
cmSystemTools::ConvertToWindowsOutputPath.



-- 
Bill Hoffman
Kitware, Inc.
28 Corporate Drive
Clifton Park, NY 12065
bill.hoffman at kitware.com
http://www.kitware.com
518 881-4905 (Direct)
518 371-3971 x105
Fax (518) 371-4573



More information about the cmake-developers mailing list