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

Morné Chamberlain thefreeman.za at gmail.com
Sun Oct 14 07:49:21 EDT 2012


On 14 October 2012 00:21, Bill Hoffman <bill.hoffman at kitware.com> wrote:
> 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.
>
Thank you, I will remember this in the future.
>
>
> --
> 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
> --
>
> 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://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers



More information about the cmake-developers mailing list