[CMake] Execute_process with wildcard characters

Ajay Divekar ajay.divekar at guardiantechintl.com
Tue Jul 31 11:50:30 EDT 2007


I want to execute the following command using EXECUTE_PROCESS.

EXECUTE_PROCESS( COMMAND rm -vf  */*.*~ RESULT_VARIABLE ret_var)

I have some abc.txt~ files.

The result variable shows 0 as its value, signifying that the command has been 
executed properly. The above mentioned files still exists.

Thanks for your advice in advance.

Regards,

Ajay Divekar


More information about the CMake mailing list