Boost logo

Boost-Build :

From: John Dillan (demised_at_[hidden])
Date: 2008-08-26 01:45:35

Hey guys,

I've been trying to setup a system for running pc-lint on my source files,
but I'm having a hard time figuring out the right way to setup a rule to
do so.

Basically, I want a rule that depends on the input *.lnt file along with
all the source files, so that if any of those changes, it runs it again.
My main 'exe' rule will also have the 'lint' rule as a dependency so that
if pc-lint fails it won't even bother compiling the application. Can
someone just point me in the right direction to get this working? I
thought using the 'notfile' rule as a basis would make sense since it
doesn't actually output any files, but is that not the right approach?

Thanks so much!


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at