summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-06-22 09:44:45 +0200
committerGitHub <noreply@github.com>2018-06-22 09:44:45 +0200
commit8bf5b502223d48ee1b7b88ab8613be7bacbb63d2 (patch)
tree23dd684ad6876711a618bc73078d7fdbcc5abc62 /modules
parent2365fe472b0999100e76078d7b9f5e8f7fe2f9d5 (diff)
parent920224a535f7858dd4bf39f04e3c90c8276503c3 (diff)
Merge pull request #19695 from rraallvv/nocache_gen_master
Add NoCache wrapper to Command (master)
Diffstat (limited to 'modules')
-rw-r--r--modules/gdnative/SCsub4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gdnative/SCsub b/modules/gdnative/SCsub
index 92fb41adf8..a3434995aa 100644
--- a/modules/gdnative/SCsub
+++ b/modules/gdnative/SCsub
@@ -196,7 +196,7 @@ def build_gdnative_api_struct(target, source, env):
with open(source.path, 'w') as fd:
fd.write(_build_gdnative_api_struct_source(api))
-_, gensource = gdn_env.Command(['include/gdnative_api_struct.gen.h', 'gdnative_api_struct.gen.cpp'],
+_, gensource = gdn_env.CommandNoCache(['include/gdnative_api_struct.gen.h', 'gdnative_api_struct.gen.cpp'],
'gdnative_api.json', build_gdnative_api_struct)
gdn_env.add_source_files(env.modules_sources, [gensource])
@@ -277,7 +277,7 @@ def build_gdnative_wrapper_code(target, source, env):
if ARGUMENTS.get('gdnative_wrapper', False):
#build wrapper code
- gensource, = gdn_env.Command('gdnative_wrapper_code.gen.cpp', 'gdnative_api.json', build_gdnative_wrapper_code)
+ gensource, = gdn_env.CommandNoCache('gdnative_wrapper_code.gen.cpp', 'gdnative_api.json', build_gdnative_wrapper_code)
gd_wrapper_env = env.Clone()
gd_wrapper_env.Append(CPPPATH=['#modules/gdnative/include/'])