On 14 October 2012 00:21, Bill Hoffman <bill.hoff...@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.hoff...@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 --
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