<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    <span class="Apple-style-span" style="border-collapse: separate;
      color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style:
      normal; font-variant: normal; font-weight: normal; letter-spacing:
      normal; line-height: normal; orphans: 2; text-indent: 0px;
      text-transform: none; white-space: normal; widows: 2;
      word-spacing: 0px; font-size: medium;"><span
        class="Apple-style-span" style="color: rgb(51, 51, 51);
        font-family: arial,sans-serif; font-size: 16px;"><span
          class="hps" title="Click for alternate translations">Hi,<br>
          <br>
          I have a path and i try to extract the folder name of this
          one.<br>
          <br>
          example :<br>
          <br>
          For C:/Programs/game/test, i would get test<br>
          <br>
          Do you know a cmake command ? or should i use regular
          expressions ?<br>
          If so, can you give me an example ?<br>
          <br>
          Thanks,<br>
          Julien<br>
          <br>
        </span><span class="hps" title="Click for alternate
          translations"></span><span title="Click for alternate
          translations"></span></span></span>
  </body>
</html>