Support redirecting standard output using the Command builder - close #28
This commit is contained in:
1 parent
8cbb9fa30e
commit
43df46018c
4 files changed
+34
-5
No files matched your search
@@ -25,7 +25,11 @@ module Rscons
|
||||
})
|
||||
command = env.build_command("${CMD}", vars)
|
||||
cmd_desc = vars["CMD_DESC"] || "Command"
|
||||
standard_threaded_build("#{cmd_desc} #{target}", target, command, sources, env, cache)
|
||||
options = {}
|
||||
if vars["CMD_STDOUT"]
|
||||
options[:stdout] = env.expand_varref("${CMD_STDOUT}", vars)
|
||||
end
|
||||
standard_threaded_build("#{cmd_desc} #{target}", target, command, sources, env, cache, options)
|
||||
end
|
||||
|
||||
# Finalize a build.
|
||||
|
||||
Reference in new issue
Block a user