diff options
author | marynate <mary.w.nate@gmail.com> | 2014-05-14 10:47:17 +0800 |
---|---|---|
committer | marynate <mary.w.nate@gmail.com> | 2014-05-14 10:52:08 +0800 |
commit | d2770ac8a669f567cf34b73c35734c4e9175647b (patch) | |
tree | e0e8386015e629d7aa7a57cc4ce199c93553deca /tools/editor/SCsub | |
parent | f5421cdaf342ba15840a4041b4a9d9efb44fa4f0 (diff) |
Add sCons dependency for editor_icons.cpp, so it's only re-generated when there're icon changes
Diffstat (limited to 'tools/editor/SCsub')
-rw-r--r-- | tools/editor/SCsub | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/editor/SCsub b/tools/editor/SCsub index 281f560acb..73ec530177 100644 --- a/tools/editor/SCsub +++ b/tools/editor/SCsub @@ -48,11 +48,11 @@ if (env["tools"]=="yes"): env.Command("#tools/editor/doc_data_compressed.h","#doc/base/classes.xml",make_doc_header) #make_doc_header(env.File("#tools/editor/doc_data_raw.h").srcnode().abspath,env.File("#doc/base/classes.xml").srcnode().abspath,env) - - SConscript('icons/SCsub'); + env.add_source_files(env.tool_sources,"*.cpp") - + Export('env') + SConscript('icons/SCsub'); SConscript('plugins/SCsub'); SConscript('fileserver/SCsub'); SConscript('io_plugins/SCsub'); |