How do I force bjam in boost to build cleanly and consistently?

Christopher Dorian picture Christopher Dorian · Apr 18, 2011 · Viewed 14.3k times · Source

Is there any way to get bjam to build cleanly and consistently? It seems fairly random when it decides to rebuild my libraries and when it decides to simply copy them over from somewhere.

I've tried bjam --clean-all and bjam --clean, but it still seems to find the files it needs and instead of recompiling it simply copies them to my stage/lib folder.

Answer

usta picture usta · May 5, 2011

To rebuild unconditionally, pass -a flag to bjam.