[CMake] FILE(TO_NATIVE_PATH ) problem ?

Mathieu Malaterre mathieu.malaterre at gmail.com
Tue Nov 4 18:41:19 EST 2008


On Wed, Nov 5, 2008 at 12:25 AM, Alexander Neundorf
<a.neundorf-work at gmx.net> wrote:
> Hi,
>
> shouldn't FILE(TO_NATIVE_PATH ) on UNIX replave the ";" used by cmake as
> separators with ":" used for most environment variables as separators ?
> Currently it doesn't and I wonder how I should transform a cmake list into an
> environment variable path separated usign ":" ?
> (will do it manually for now...)

That would be a really cool feature. I am using it all over the place
to convert cmake internal list to PYTHONPATH type (I read the VTK
installation path and convert it to runtime PYTHONPATH for test
execution).



-- 
Mathieu


More information about the CMake mailing list