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

Steven Kurylo sk at infinitepigeons.org
Fri Mar 2 16:34:39 PST 2007


> - 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


More information about the Discuss mailing list