-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
Quix0r opened the ticket and wrote:
I would love to see support for ccache in OpenTTD which is results with recent updated trunk (r19114) in non-working confgure and build steps. For example Speed-Dreams or UFO:AI, FlightGear and many other projects with the GNU make system work perfectly (Debian Unstable) with it.
ccache can be found here:
http://ccache.samba.orgAs it claims for itself, it speeds up re-compiling nicely which is definedly true when you need to do a "make clean" to cleanup all objects (for what every strange linker/precompiler reasons).
To enable this feature, do the following before compiling (you need to "./configure --your-foo-params && make clean" for better testing):
export CC="ccache gcc"
export CXX="ccache g++"If you want to make this permanently - wisely if you need to recompile often - add these two lines into your $HOME/.bashrc file and re-login.
Reported version: trunk
Operating system: Linux