[CMake] extract a folder name

Julien Dardenne julien.dardenne at technooliq.com
Tue Jul 26 11:31:29 EDT 2011


Hi,

I have a path and i try to extract the folder name of this one.

example :

For C:/Programs/game/test, i would get test

Do you know a cmake command ? or should i use regular expressions ?
If so, can you give me an example ?

Thanks,
Julien

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110726/23060548/attachment.htm>


More information about the CMake mailing list