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.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

Reply via email to