[CMake] Get the drive from a path

Brandon Van Every bvanevery at gmail.com
Thu Feb 21 21:37:52 EST 2008


On Thu, Feb 21, 2008 at 6:51 PM, Neal Meyer <nmeyer at dottedzebra.com> 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


More information about the CMake mailing list