Re: [CMake] cmake -E remove xx*, wildcards win32?

2011-08-17 Thread Johan Björk
If you are doing this at cmake time, simply use glob() to find the files, then remove them using file(REMOVE). 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 /Johan On Thu,

[CMake] cmake -E remove xx*, wildcards win32?

2011-08-17 Thread Arne Pagel
Hello, I am trying to use cmake for a cross platform project. I want to delete some files using cmake -E remove file* This works on an linux system, but on an windows system wildcards are not working, I just can delete files using their explicit name. In my case the file names are not known, si