Subject: | Off-tree build capability |
It would be nice (though not easy, as I am looking to the source) if Module::Build was able to put all intermediate files (.o and .c from .xs etc.) to a different directory than where the source is located. Especialy when some files with given extension are generated while others are not (eg. you have some .xs and some .c sources, or some .pm and some .pm.PL ones) it's much cleaner if the generated ones are in some other directory.
I am really missing this functionality from MakeMaker (thought autoconf DOES have it (you can build in a directory completely different from source directory and built stuff is placed in a tree mirroring the source one)) and from looking at the Module::Build sources, it is not possible here either. It does not look easy to add this either.