2008/10/14 Nicolas Desprès <[EMAIL PROTECTED]>:
> On Tue, Oct 14, 2008 at 4:48 PM, Andy Lego <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> Look at FILE and STRING commands.
>
> Thanks. That's what I did.
May be
FILE(TO_NATIVE_PATH ${in} ${out})
is easier than string(REPLACE ...
TO_NATIVE_PATH works just like TO_CMAKE_PATH, but will convert from a
cmake style path into the native path style \ for windows and / for
UNIX.
--
Erk
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake