Source not regenerated after new kconfig_compiler executable

Matt Rogers mattr at kde.org
Tue May 22 22:03:10 CEST 2007


On May 22, 2007, at 2:13 PM, Christian Ehrlicher wrote:

> David Faure schrieb:
>> On Tuesday 22 May 2007, Christian Ehrlicher wrote:
>>> Hi,
>>>
>>> Don't know if it's intended or a bug in the dependency chain. The  
>>> output from kconfig_compiler is not regenerated after I installed  
>>> a new kconfig_compiler executable. Therefore I still got warnings  
>>> about kstaticdeleter until I delete the sources by myself :)
>> Yeah but would you really want to see all kconfig_compiler- 
>> generated files
>> re-created every time kdelibs is reinstalled - even though in 99%  
>> of the cases
>>> from now on, the logic inside kconfig_compiler won't have changed?
>> (but it will have been relinked because kdecore changed).
> Don't know - but it's maybe a more generic question. Should a  
> generated file get regenerated when the generator is updated.

I'd say the answer to that question is "no". Otherwise, you'll be  
regenerating all your generated files for every build.

>> Maybe we need to install a cmake file with the version number of  
>> kconfig_compiler,
>> in order to trigger a recompilation only when the version of  
>> kconfig_compiler is newer than the version that was used to  
>> generate the current generated files...
> I think a 'rm -fr build-dir' is easier :)
>
> Christian

Agreed. :)
Matt




More information about the Kde-buildsystem mailing list