[haiku-development] Re: question on planned build system feature -- 'generated' folder naming scheme

Matt Madia <mattmadia@xxxxxxxxx> wrote:
> I'm seriously considering modifying the build system , specifically how 
> the generated folder is handled.
> 
> There are two distinct features planned :
> 
> 1st, I'd like to allow a configure argument to override the default
> location of 'generated/'
> eg  ./configure --generated-dir /somePath/generated-x86-gcc4 ( or maybe 
> just /somePath and use the 2nd idea for determining the actual generated 
> folder name )
> 
> 2nd,  As default,  use the target platform name and gcc version as
> part of the name for generated.
> eg:
>   generated-x86-gcc2
>   generated-x86-gcc4
>   generated-ppc-gcc4
>   generated-m68k-gcc4
> 
> Comments, suggestions?
> If done properly, could this be committed ?

Are you aware of the fact that you can create any folder, cd into that 
folder and invoke the top level configure script from within that folder by 
relative path? And that way you can separate these things and already do 
what you want to achieve. Unless I am missing something, of course.

Best regards,
-Stephan

Other related posts: