joeyates/rake-builder — pull request #12 by bhase (2012-07-15 18:59:27+00:00)
Title: Crosscompile

It is now possible to use rake-builder for cross compilation projects.

I created a new attribute ```cross_compile``` which defaults to the empty string and which is the prefix to compilation commands. For example, if set to ```avr-``` then the sources are compiled with avr-gcc.

Compiled files are into the ```objects_path``` directory to avoid clashes of files with different architectures (this could be made dependent on task_namespace I think).

microsecond\_file and microsecond\_directory do not work for this, I have no idea why (they create a directory tree prefixed with _namespace:_)

The configuration file .rake-builder is now postfixed with namespace and therefore no longer a scoped task but a simple file task.

README is updated with a cross_compile example.