[Discuss] A question for the gurus and a CMake followup

Steven Kurylo sk at infinitepigeons.org
Fri Mar 2 16:36:29 PST 2007


Missed a dollar sign in the original:

DIR=/path/to/src
FILES='CMakeCache.txt CMakeFiles Makefile cmake_install.cmake'
for FILE in $FILES;do
  find $DIR -name "$FILE" -exec echo {} \;
done;



On 3/2/07, Steven Kurylo <sk at infinitepigeons.org> wrote:
> > - a file called CMakeCache.txt
> > - a directory called CMakeFiles
> > - a Makefile
> > - a file called cmake_install.cmake
>
> DIR=/path/to/src
> FILES='CMakeCache.txt CMakeFiles Makefile cmake_install.cmake'
> for FILE in FILES;do
>   find $DIR -name "$FILE" -exec echo {} \;
> done;
>
> If that script looks like its echoing the files you want deleted,
> changed the "echo" to a "rm".
>
> --
> Steven Kurylo
>


-- 
Steven Kurylo


More information about the Discuss mailing list