Skip Menu |

This queue is for tickets about the Module-Build CPAN distribution.

Report information
The Basics
Id: 6265
Status: open
Priority: 0/
Queue: Module-Build

People
Owner: Nobody in particular
Requestors: bulb [...] ucw.cz
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



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.
From: Ken Williams <ken [...] mathforum.org>
Subject: Re: [cpan #6265] Off-tree build capability
Date: Wed, 12 May 2004 23:51:27 -0500
To: bug-Module-Build [...] rt.cpan.org
RT-Send-Cc:
I agree, this would be nice. I don't think it's impossible, though as you say it would take some work. I'll keep it on the back burner. -Ken