[Clam-devel] IMPORTANT: more changes to build system

Xavier Amatriain xavier at create.ucsb.edu
Thu May 24 08:02:28 PDT 2007


I think you understood it the other way around: what Eclipse can't do is 
call scons without arguments.
Calling configure from outside does not help because every time scons is 
called with arguments configure
is called again.

What I would need is for scons without arguments to be called 
automatically after the configure step
(if this is going to be enforced).

David García Garzón wrote:
> On Thursday 24 May 2007 12:02:08 Pau Arumi wrote:
>   
>> Xavier Amatriain wrote:
>>     
>>> On Wed, 2007-05-23 at 09:14 +0200, Pau Arumi wrote:
>>>       
>>>> this issue probably shows up now just because now on every "scons
>>>> option=value" invocaton, the configure step is automatically
>>>> called (which, btw, i a *very* convenient change).
>>>>         
>>> Unfortunately I just realized that this harmless change just broke
>>> compatibility of CLAM with Eclipse (just when I was starting to get the
>>> hang of it :-( ). Turns out that there is no way to call scons from the
>>> Eclipse plugin without the platform and configuration options. Therefore
>>> no matter what you do you are always invoking the configure step and
>>> nothing else.
>>>
>>> Isn't there a way that, while keeping the call to configure if
>>> necessary, also forces the call to "scons" immediately afterwords?
>>>       
>> possible is everything ;)
>> but... the "call to configure only if necessary" is the hard part
>> to implement since it involves comparing the given and cached
>> options.
>>
>> i'd rather change the eclipse/scons workflow, if possible.
>> wouldn't it be as simple as editing the options.cache by hand and
>> then call "scons" without args from the ide?
>>     
>
> In fact you should call externally 'scons configure' as it also generates the 
> pkg-config files and the flags.conf file. Is weird that eclipse can not 
> configure a 'configuration' step.
>
>
>
> _______________________________________________
> Clam-devel mailing list
> Clam-devel at llistes.projectes.lafarga.org
> https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/clam-devel
>   





More information about the clam-devel mailing list