It would be nice to have a --prefix option to keep source directories clean. For example,
project/
project/src
project/build
project/tmp
Many people will:
cd build
../configure
make
Developers will add a "formatsource" target. It would be nice to be able to add a --prefix in cases like this:
astyle --prefix=$(BUILD_DIR)/backup $(SOURCE_DIR)/*.cpp $(SOURCE_DIR)/*.h.
2011-12-13 08:44:58 PST in Artistic Style