ThrowTheSwitch/Ceedling — pull request #4 by sw17ch (2012-10-01 18:15:05+00:00)
Title: Multiple targets

An implementation allowing multiple targets to be specified. These targets are wholly independent of each other. A specialized project.yml is defined that points out how to build with different targets. Targets are specified by an environment variable.

This is a project.yml that supports targets:

```
---
:targets:
:targets_directory: ./targets
:default_target: clang
```

Inside the `targets` directory, we'll see the following:

```
$ ls targets/
clang.yml gcc.yml
```

Each of these files are complete project.yml files that could be used on their own. Picking a target to use other than the default can be done with an environment variable.

On Windows:

```
set TARGET=gcc
rake release # this will do a release using gcc
```

On Unix-y systems:

```
rake release TARGET=gcc
```

The project.yml can still be a regular project file.