Prototype buildsystem "Drake"

Nick Sabalausky a at a.a
Tue Jul 19 02:28:37 PDT 2011


"Jacob Carlborg" <doob at me.com> wrote in message 
news:j03fe0$101m$1 at digitalmars.com...
> On 2011-07-19 04:51, Nick Sabalausky wrote:
>> "Jacob Carlborg"<doob at me.com>  wrote in message
>>> Ok. Will the build script change the configuration file?
>>
>> Yes.
>>
>>> Seems kind of strange. Usually the config file is used to control the
>>> build script, not the other way around.
>>>
>>
>> It's not really "the other way around" since the buildscript would still
>> load the configuration file and use the settings in it (I guess I 
>> neglected
>> to mention that part). It's just that creating it isn't done separately 
>> from
>> the buildscript like with the clunky autotools. From a quick browse 
>> through
>> the docs, Waf seems to have the buildscript direct the creation of the
>> configuration file, too.
>
> I start to think that we mean different things when we say "config file". 
> What would you have in the config file?
>

Granted, I've never used this sort of feature from any buildsystem, but I 
thought we were talking about something like the "configure" command in Waf. 
My understanding is that it's like the "./configure" from autotool's 
"./configure && make && make install", (except hopefully without needing to 
check quite so much stuff or needing the user to manually run the configure 
command).

Apperently some projects need to have their buildsystem check for the 
existance of, locations of, and details about certain things on the local 
system before building. So...that stuff.





More information about the Digitalmars-d mailing list