allow overriding Command builder short description with CMD_DESC variable -- close #22
This commit is contained in:
1 parent
897d31ebe0
commit
02aff35222
3 files changed
+10
-5
No files matched your search
@@ -25,7 +25,8 @@ module Rscons
|
||||
"_SOURCES" => sources,
|
||||
})
|
||||
command = env.build_command("${CMD}", vars)
|
||||
standard_build("CMD #{target}", target, command, sources, env, cache)
|
||||
cmd_desc = vars["CMD_DESC"] || "cmd_desc"
|
||||
standard_build("#{cmd_desc} #{target}", target, command, sources, env, cache)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user