mursu wrote:Has anyone figured out an easy way to build DCSS in a directory other than source directory? I would like to keep around simultaneously different builds (regular console, debug, tiles) of the same sources without having to recompile the whole thing over and over again. This would be only for running locally from the source directory, no need to 'make install'.
The obvious solution of keeping separate copies of the source tree for different builds does not sound very good for development work, as that would require copying the local changes to multiple places for testing.
What I do is just rename the executable after I build, using
a script. So I have crawl-master-tiles, crawl-master-web, crawl-diag-tiles, crawl-prof-ascii, etc. I still have to do a checkout to play a different version, though, since (for example) 0.15 .des files don't work with 0.14 because of added monsters/items (and vice versa because of removed ones).