From: Renaud Lepere (renaud.lepere_at_[hidden])
Date: 2006-01-24 10:59:41
> > In makefile world, svnrev can be used using a line
> > svnrev.h : main.cpp gui.cpp gui.h storage.cpp storage.h
> > svnrev $?
> > How can i do something similar in bbv2 ?
> The simplest way, I believe, is this:
> make svnrev.h : main.cpp gui.cpp gui.h storage.cpp storage.h
> : svnrev ;
> actions svnrev
> svnrev -o$(<) $(>)
It's impressive and really simple ! Thanks a lot.
I just still have a little problem : svnrev.h is generated
in the bin/... directory and if i include it in one of my file
it can not be found at compile it. What should i do ?
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