Boost logo

Boost-Build :

Subject: Re: [Boost-build] Is it possible to remove dependencies?
From: Konstantin Litvinenko (to.darkangel_at_[hidden])
Date: 2010-04-13 10:06:58


Börje Granberg пишет:
> hi,
> The log framework in my project creates a quite big header file
> (Log.h) that is included in every file in the project that uses
> creates logs.
> The tool that creates this header file parses every source file and
> puts its output in log.h. If the log.h gets updated because foo.cc is
> updated I don't want bar.cc to be recompiled.
> The old make based build system uses a macro around the #include line
> so that when makedep created the dependency files, an update of Log.h
> does not create any dependencies at all. Note that all files that
> needs to be rebuild will be rebuild anyway.
> Does anyone know any way so solve this with boost build? Or do you
> have any ideas to improve the creatation of Log.h?

   As I know it is impossible to do...
   Why log.h is big? I have never saw that logging can make any bloat...


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk