Boost logo

Boost-Build :

Subject: Re: [Boost-build] Building Boost with multiple python versions
From: aaron_at_[hidden]
Date: 2017-02-15 16:18:19

The "using" rule is a convenience rule:
using MODULE_NAME : field1 : field 2 : ... : field9 ;
The above essentially does this:
import MODULE_NAME ;
MODULE_NAME.init field1 : field2 : ... : field9 ;
So, if you look at the gcc.jam module, you'll notice that its init() rule's signature is this:
rule init ( version ? : command * : options * )
Thus, the using rule would be used like this:
using gcc : $(valid-gcc-module-version-string) : $(optional-command-to-gcc-exe) : $(options) ;
Where $(options) can be something like <root>root/directory or <flavor>mingw.
You can find the using() rule's definition in the toolset module.
Hope that helps,

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