Boost logo

Boost-Build :

Subject: [Boost-build] Manipulating requirements based on a program's return value
From: Edward Diener (eldiener_at_[hidden])
Date: 2016-05-24 16:59:56

I am looking for a way in Boost Build that I can create a conditional
requirement based on whether a particular program I run returns a
particular value. In other words, instead of a conditional requirement like:


I could have a conditional requirement like:


Of course I am making up syntax that has nothing to do with Boost build
but the gist of my desire is to be able to set a conditional requirement
based on a program's return value when passed some specific input

It seems as if this sort of thing should be possible in Boost Build but
I have not figured out how to achieve it given my knowledge of Boost
Build. Are there any facilities for doing such a thing in Boost Build ?
If there are, any pointers would be helpful.

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