Boost logo

Boost-Build :

From: Kevin Wheatley (hxpro_at_[hidden])
Date: 2006-11-22 05:23:41


Kostas Kostiadis wrote:
> #ifdef _WIN32
> using msvc ;
> #else
> using gcc ;

Something like this should work:

import os ;
if [ os.name ] = LINUX
{
     using gcc;
}
else
{
     using msvc ;
}

-- 
| Kevin Wheatley, Cinesite (Europe) Ltd | Nobody thinks this      |
| Senior Technology                     | My employer for certain |
| And Network Systems Architect         | Not even myself         |

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