From 920224a535f7858dd4bf39f04e3c90c8276503c3 Mon Sep 17 00:00:00 2001 From: Rhody Lugo Date: Thu, 21 Jun 2018 00:33:25 -0400 Subject: add NoCache wrapper to Command --- methods.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'methods.py') diff --git a/methods.py b/methods.py index 6dca826b2b..227a17d312 100644 --- a/methods.py +++ b/methods.py @@ -1329,3 +1329,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 -- cgit v1.2.3