Support redirecting standard output using the Command builder - close #28

This commit is contained in:
josh committed 2017-05-29 12:50:34 -04:00
1 parent 8cbb9fa30e
commit 43df46018c
4 files changed
+34 -5

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
Rscons::Environment.new do |env|
env.Object("simple.o", "simple.c")
env.Command("simple.txt",
"simple.o",
"CMD" => %w[objdump --disassemble --source ${_SOURCES}],
"CMD_STDOUT" => "${_TARGET}",
"CMD_DESC" => "My Disassemble")
end