[CMake] Native Pathsupport under Windows
Brandon Van Every
bvanevery at gmail.com
Wed Oct 24 10:06:43 EDT 2007
On 10/24/07, alexander at camek.de <alexander at camek.de> wrote:
>
> That doesn't work. I think it is the same problem why I can't use FILE() at all.
> Because the file i want to append is both, generated before and used as a
> source file.
You'll need to write your own native path function for MinGW generator
as a workaround. STRING(REPLACE "/" "\\" native_path "${cmake_path}")
will probably do it, but maybe there's more to it. It's been awhile
since I messed with these.
Cheers,
Brandon Van Every
More information about the CMake
mailing list