Commit 0006a8cd authored by Terence Lee's avatar Terence Lee

add host_target/build_target options for CrossBuild'ng native extensions

parent 1001be2e
......@@ -283,6 +283,10 @@ EOS
class CrossBuild < Build
attr_block %w(test_runner)
# cross compiling targets for building native extensions.
# host - arch of where the built binary will run
# build - arch of the machine building the binary
attr_accessor :host_target, :build_target
def initialize(name, build_dir=nil, &block)
@test_runner = Command::CrossTestRunner.new(self)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment