Boost logo

Boost-Build :

Subject: [Boost-build] Is it possible to remove dependencies?
From: Börje Granberg (borje.granberg_at_[hidden])
Date: 2010-04-12 03:10:46


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?

//Börje


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