summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorRhody Lugo <rhodylugo@gmail.com>2018-06-21 00:33:25 -0400
committerRhody Lugo <rhodylugo@gmail.com>2018-06-21 03:00:33 -0400
commit920224a535f7858dd4bf39f04e3c90c8276503c3 (patch)
treed1f1a52a960146cbd8de2076819fa09e45f7bdba /editor
parenta9acdd84b7a6fd074f21d500a64976326f6cbb67 (diff)
add NoCache wrapper to Command
Diffstat (limited to 'editor')
-rw-r--r--editor/SCsub8
1 files changed, 4 insertions, 4 deletions
diff --git a/editor/SCsub b/editor/SCsub
index c29da8dd8a..a9343f7f36 100644
--- a/editor/SCsub
+++ b/editor/SCsub
@@ -192,10 +192,10 @@ if env['tools']:
docs = sorted(docs)
env.Depends("#editor/doc_data_compressed.gen.h", docs)
- env.Command("#editor/doc_data_compressed.gen.h", docs, make_doc_header)
+ env.CommandNoCache("#editor/doc_data_compressed.gen.h", docs, make_doc_header)
# Certificates
env.Depends("#editor/certs_compressed.gen.h", "#thirdparty/certs/ca-certificates.crt")
- env.Command("#editor/certs_compressed.gen.h", "#thirdparty/certs/ca-certificates.crt", make_certs_header)
+ env.CommandNoCache("#editor/certs_compressed.gen.h", "#thirdparty/certs/ca-certificates.crt", make_certs_header)
import glob
path = env.Dir('.').abspath
@@ -203,13 +203,13 @@ if env['tools']:
# Translations
tlist = glob.glob(path + "/translations/*.po")
env.Depends('#editor/translations.gen.h', tlist)
- env.Command('#editor/translations.gen.h', tlist, make_translations_header)
+ env.CommandNoCache('#editor/translations.gen.h', tlist, make_translations_header)
# Fonts
flist = glob.glob(path + "/../thirdparty/fonts/*.ttf")
flist.append(glob.glob(path + "/../thirdparty/fonts/*.otf"))
env.Depends('#editor/builtin_fonts.gen.h', flist)
- env.Command('#editor/builtin_fonts.gen.h', flist, make_fonts_header)
+ env.CommandNoCache('#editor/builtin_fonts.gen.h', flist, make_fonts_header)
env.add_source_files(env.editor_sources, "*.cpp")
env.add_source_files(env.editor_sources, ["#thirdparty/misc/clipper.cpp"])