Created
March 28, 2019 16:18
-
-
Save gubatron/b589dccdf23d1d42e010853efdfe8141 to your computer and use it in GitHub Desktop.
cmake_clean bash script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
function rmfile() { | |
if [ -f $1 ]; then rm -f $1 ; fi | |
} | |
function rmdir() { | |
if [ -d $1 ]; then rm -fr $1; fi | |
} | |
rmfile CTestTestfile.cmake | |
rmfile install_manifest.txt | |
rmfile CMakeCache.txt | |
rmfile cmake_install.cmake | |
rmfile Makefile | |
rmdir CMakeFiles | |
rmdir cmake-build-debug | |
rm -f *.cbp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment