###  | # Boost.Build ## metrowerks toolset

## Introduction

Boost.Build's metrowerks toolset supports the Metrowerks CodeWarrior C/C++ compiler hosted on, and targeting Windows.

## Configuration Variables

The metrowerks toolset responds to the following variables which can be set in the environment or configured on the jam command-line using `-sVARIABLE_NAME=`value:

Variable Name | Semantics | Default | Notes
--- | --- | --- | ---
`METROWERKS_ROOT` | Path to installation of compiler tools. | (none) | If not set tools must be available in the executable path. This location is used as a base to the `cwenv.bat` script which is run before each command, if this variable is set.
`CWFOLDER` | Path to installation of compiler support. | (none) | This is a compatability variable to specify where to find the compiler support files, i.e. includes. If you don't set `METROWERKS_ROOT`, but instead set up the environment, for example by executing `cwenv.bat` as a default, this will be used and therefore get the value as indicated in your setup.
`BOOST_CODEWARRIOR_6` | Flag indicating wether to use version 6.x layout of support files, or not. | (none) | The epmty default value indicates to use a version 7.x layout. To use the version 6 layout set it to a non empty value, like `true`.

Revised 14 May, 2002

© Copyright Dave Abrahams 2002. All Rights Reserved.