Class: Rscons::Builders::Disassemble
- Inherits:
-
Rscons::Builder
- Object
- Rscons::Builder
- Rscons::Builders::Disassemble
- Defined in:
- lib/rscons/builders/disassemble.rb
Overview
The Disassemble builder produces a disassembly listing of a source file.
Instance Attribute Summary
Attributes inherited from Rscons::Builder
#build_step, #cache, #env, #preferred_ld, #side_effects, #sources, #target, #vars
Instance Method Summary collapse
-
#run(options) ⇒ Object
Run the builder to produce a build target.
Methods inherited from Rscons::Builder
#depends, extra_path, #finalize_command, #initialize, name, #name, #nop?, #print_run_message, #produces, #register_command, #standard_command, #wait_for
Constructor Details
This class inherits a constructor from Rscons::Builder
Instance Method Details
#run(options) ⇒ Object
Run the builder to produce a build target.
7 8 9 10 11 12 13 14 15 |
# File 'lib/rscons/builders/disassemble.rb', line 7 def run() if @command finalize_command else @vars["_SOURCES"] = @sources command = @env.build_command("${DISASM_CMD}", @vars) standard_command("Disassembling <source>#{Util.short_format_paths(@sources)}<reset> => <target>#{target}<reset>", command, stdout: @target) end end |