Skip to content

Instantly share code, notes, and snippets.

@kapillamba4
Created March 30, 2018 18:10
Show Gist options
  • Save kapillamba4/fc4929037309c00f4591c5619bdd0e7f to your computer and use it in GitHub Desktop.
Save kapillamba4/fc4929037309c00f4591c5619bdd0e7f to your computer and use it in GitHub Desktop.
#!/bin/bash
for fld in $(find -name "CMakeLists.txt" -printf '%h ')
do
for cmakefile in CMakeCache.txt cmake_install.cmake CTestTestfile.cmake CMakeFiles Makefile
do
rm -rfv $fld/$cmakefile
done
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment