Wayne Stambaugh <[email protected]>
writes:

> I am having issues again with CMake path parsing.  Using the CMake
> file() command this does not work:
>
> file( READ /mingw64/include/wx-3.0/wx/version.h _var)
>
> but this does:
>
> file( READ c:/msys64/mingw64/include/wx-3.0/wx/version.h _var)
>
> I'm running CMake with the -G "MSYS Makefiles" so msys style paths
> should work. Msys style paths work fine on MSYS1/MinGW32 using the
> native build of both CMake 3.0.2 and 2.8.12 so something is not quite
> right with the way msys2 is handling paths.  Any ideas?

Native CMake does not understand MSYS{2} pathnames. The `file' command
is executed by CMake and is independent of the selected generator. If
something like

file( READ /mingw/blah var )

ever worked for you, it is because you had mingw installed on c:/mingw
and the current drive was C:.


------------------------------------------------------------------------------
Slashdot TV.  Videos for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
Msys2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/msys2-users

Reply via email to