1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

add NoCache wrapper to Command

(cherry picked from commit 920224a535)
This commit is contained in:
Rhody Lugo
2018-06-21 00:33:25 -04:00
committed by Rémi Verschelde
parent d04cc2855a
commit 2f3e4c1a7a
6 changed files with 16 additions and 10 deletions

View File

@@ -1784,3 +1784,8 @@ def add_program(env, name, sources, **args):
program = env.Program(name, sources, **args)
env.NoCache(program)
return program
def CommandNoCache(env, target, sources, command, **args):
result = env.Command(target, sources, command, **args)
env.NoCache(result)
return result