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

add NoCache wrapper to Command

This commit is contained in:
Rhody Lugo
2018-06-21 00:33:25 -04:00
parent 43f62a2c2a
commit 57ae75876f
4 changed files with 12 additions and 6 deletions

View File

@@ -1680,3 +1680,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