[CMake] multiple files/directory removal using cmake -E remove and cmake -E remove_directory

J.S. van Bethlehem j.s.van.bethlehem at astro.rug.nl
Thu Apr 14 06:47:11 EDT 2011


Dear users,

As a new user CMake I've come across some things I don't fully 
understand yet. Here is such a thing:
when using cmake -E is there a way to pass multiple files at once when 
using 'remove' or 'remove_directory', ie something like:
 cmake -E remove file1 file2 file3
 (well... that syntax is not valid, but is there a way to do the above, 
without having to call cmake -E for every file separately?)

Yours sincerely,
Jakob van Bethlehem






More information about the CMake mailing list