Boost logo

Boost-Build :

From: Deane Yang (deane_yang_at_[hidden])
Date: 2005-11-16 15:21:57


Answer to my own question:

import os ;

and use os.name and/or os.platform

Deane Yang wrote:
> I'd like to install binaries in a directory whose name is based on the
> OS (e.g., Windows, Linux, Solaris). I'm not terribly picky about the
> actual name, as long as I can distinguish between the OS's. Is there an
> easy for bjam to do this without me having to code in everything manually?


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