MegaGlest / megaglest-source

MegaGlest real-time strategy game engine (cross-platform, 3-d)
http://megaglest.org/
355 stars 90 forks source link

Script removes files generated by build process #57

Closed goetzk closed 9 years ago

goetzk commented 9 years ago

Having a script to remove all these files means no matter how I build I can still get rid of the mess. I don't know if its going to be considered generally useful and worth having in the source tree but I certainly find it useful.

filux commented 9 years ago

In general for that purpose you should use "out of source" build. It is common way to handle mess after the build. Basic steps for this if you are in mk/macosx:

mkdir build
cd build
cmake ../../..

and for remove:

cd ..
rm -r build