summaryrefslogtreecommitdiff
path: root/modules/gdscript
diff options
context:
space:
mode:
authorAndreas Haas <liu.gam3@gmail.com>2017-12-13 15:45:37 +0100
committerAndreas Haas <liu.gam3@gmail.com>2017-12-13 15:46:35 +0100
commit0e624234daaecbe5dee6bcaa37d7af21896e8bf6 (patch)
tree39292c59bf02eb51ed091643fefce86243c06a32 /modules/gdscript
parente7c1255b0688494033997eb1cf86afb8b7fc988a (diff)
Scons: Build modules in seperate env.
Diffstat (limited to 'modules/gdscript')
-rw-r--r--modules/gdscript/SCsub5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/gdscript/SCsub b/modules/gdscript/SCsub
index 0882406761..13870170a5 100644
--- a/modules/gdscript/SCsub
+++ b/modules/gdscript/SCsub
@@ -1,7 +1,10 @@
#!/usr/bin/env python
Import('env')
+Import('env_modules')
-env.add_source_files(env.modules_sources, "*.cpp")
+env_gdscript = env_modules.Clone()
+
+env_gdscript.add_source_files(env.modules_sources, "*.cpp")
Export('env')