[CMake] cmake -E remove /path/*.txt

Alexandre Gramfort alexandre.gramfort at inria.fr
Fri Mar 12 07:29:21 EST 2010


Hi,

is there a way to have cmake do something like :

cmake -E remove /path/*.txt

I need to clear tests outputs before running new tests. I have a
solution with a GLOB but the list of files is set during cmake
configure
so it does not work if I run "make test" twice without reconfiguring.

Thanks
Alexandre


More information about the CMake mailing list