speed up handling of registered side-effect files - #92
This commit is contained in:
1 parent
d0cd0a14a4
commit
b02a7573b9
9 files changed
+102
-33
No files matched your search
@@ -81,7 +81,7 @@ module Rscons
|
||||
end
|
||||
@cache.mkdir_p(File.dirname(@vars["_DEPFILE"]))
|
||||
command = @env.build_command(@command_template, @vars)
|
||||
@env.produces(@target, @vars["_DEPFILE"])
|
||||
self.produces(@vars["_DEPFILE"])
|
||||
if @vars[:direct]
|
||||
message = "#{@short_description}/Linking <source>#{Util.short_format_paths(@sources)}<reset> => <target>#{@target}<reset>"
|
||||
else
|
||||
|
||||
@@ -25,7 +25,7 @@ module Rscons
|
||||
@vars["_SOURCES"] = @sources
|
||||
@vars["_DEPFILE"] = Rscons.set_suffix(target, env.expand_varref("${DEPFILESUFFIX}", vars))
|
||||
command = @env.build_command("${CPP_CMD}", @vars)
|
||||
@env.produces(@target, @vars["_DEPFILE"])
|
||||
self.produces(@vars["_DEPFILE"])
|
||||
standard_command("Preprocessing <source>#{Util.short_format_paths(@sources)}<reset> => <target>#{@target}<reset>", command)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user