thrust/thrust — pull request #9 by jaredhoberock (2012-03-27 23:40:59+00:00)
Title: New and improved build system

These revisions make many of the common build-related tasks easier.

Build targets are output to `targets/{host_backend}_host_{device_backend}_device_{mode}` directories.

The command

$ scons host_backend=all device_backend=all run_tests

Builds and executes the unit tests, the trivial tests for the full cross product of backends.

The command

$ scons host_backend=cpp,omp device_backend=cuda run_examples

Builds and executes the examples for the cpp & omp host backends and the cuda device backend.

The command

$ scons doc

Builds the Doxygen output and puts it in `targets/doc/html`

The command

$ scons dist

Builds `thrust-{major}.{minor}.{subminor}.zip` and `examples-{major}.{minor}.zip`