Re: [CMake] Execute_process with wildcard characters

2007-08-01 Thread Philippe Fremy
Bill Hoffman wrote: FILE(GLOB_RECURSE variable [RELATIVE path]) FILE(REMOVE [file1 ...]) While we are on this topic, I found something missing from the FILE command: the ability to rename a file or a directory. I need just this for one of my programs and it's missing. I tried to add it as a

[CMake] Execute_process with wildcard characters

2007-07-31 Thread Ajay Divekar
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.

Re: [CMake] Execute_process with wildcard characters

2007-07-31 Thread Bill Hoffman
Ajay Divekar wrote: 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