[CMake] Get the drive from a path

2008-02-21 Thread Neal Meyer
On windows I need a way to get a drive letter from a path. Does anybody have any tricks for doing this? -Neal ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Get the drive from a path

2008-02-21 Thread Brandon Van Every
On Thu, Feb 21, 2008 at 6:51 PM, Neal Meyer <[EMAIL PROTECTED]> wrote: > On windows I need a way to get a drive letter from a path. Does > anybody have any tricks for doing this? Not a trick: string(REGEX MATCH ...) Cheers, Brandon Van Every ___ CMak