<div>If you are doing this at cmake time, simply use glob() to find the files, then remove them using file(REMOVE).</div><div>If you are doing it as part of a target, try and create a new .cmake file (configure_file or file(WRITE) that does glob+remove and execute it using cmake -P script.cmake</div>
<div><br></div><div>/Johan</div><div><br></div><div><br><div class="gmail_quote">On Thu, Aug 18, 2011 at 7:31 AM, Arne Pagel <span dir="ltr"><<a href="mailto:arne@pagelnet.de">arne@pagelnet.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hello,<br>
I am trying to use cmake for a cross platform project.<br>
<br>
I want to delete some files using cmake -E remove file*<br>
<br>
This works on an linux system, but on an windows system wildcards are not working,<br>
I just can delete files using their explicit name. In my case the file names are not known, since they have a date coded into it.<br>
<br>
Any Idea?<br>
<br>
regards<br>
Arne<br>
______________________________<u></u>_________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/<u></u>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/<u></u>CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/<u></u>listinfo/cmake</a><br>
</blockquote></div><br></div>