aboutsummaryrefslogtreecommitdiff
path: root/script/SCsub
diff options
context:
space:
mode:
authorJuan Linietsky2014-02-09 22:10:30 -0300
committerJuan Linietsky2014-02-09 22:10:30 -0300
commit0b806ee0fc9097fa7bda7ac0109191c9c5e0a1ac (patch)
tree276c4d099e178eb67fbd14f61d77b05e3808e9e3 /script/SCsub
parent0e49da1687bc8192ed210947da52c9e5c5f301bb (diff)
downloadgodot-0b806ee.tar.gz
godot-0b806ee.tar.zst
godot-0b806ee.zip
GODOT IS OPEN SOURCE
Diffstat (limited to '')
-rw-r--r--script/SCsub16
1 files changed, 16 insertions, 0 deletions
diff --git a/script/SCsub b/script/SCsub
new file mode 100644
index 000000000..05c08ee8e
--- /dev/null
+++ b/script/SCsub
@@ -0,0 +1,16 @@
+Import('env')
+
+env.script_sources=[]
+env.add_source_files(env.script_sources,"*.cpp")
+
+Export('env')
+
+if (env["gdscript"]=="yes"):
+ SConscript('gdscript/SCsub');
+SConscript('multiscript/SCsub');
+
+lib = env.Library("script",env.script_sources)
+
+env.Prepend(LIBS=[lib])
+
+