|
Boost-Build : |
From: cyberaxizh (alexy_at_[hidden])
Date: 2005-10-27 02:57:54
Good <time-of-day>!
I've read all BJam's documentation, but I can't find the answer to the
very simple question: how can I get the name of the selected toolset
(gcc, vc, cw, etc.) in the 'init' rule of my module?
I need something like this:
===============================
if [ os.name ] = NT
{
suffix_version = "26" ;
suffix_unicode = "u" ;
suffix_vendor = $(vendor_name) ;
suffix_toolset = $toolset ; #But HOW?
suffix_debug = "d" ;
}
===============================
These suffixes are later used to determine create library name.
-- With respect, Alex Besogonov (cyberax_at_[hidden])
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