summaryrefslogtreecommitdiff
path: root/modules/multiplayer/SCsub
diff options
context:
space:
mode:
Diffstat (limited to 'modules/multiplayer/SCsub')
-rw-r--r--modules/multiplayer/SCsub14
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/multiplayer/SCsub b/modules/multiplayer/SCsub
new file mode 100644
index 0000000000..ff33655537
--- /dev/null
+++ b/modules/multiplayer/SCsub
@@ -0,0 +1,14 @@
+#!/usr/bin/env python
+
+Import("env")
+Import("env_modules")
+
+env_mp = env_modules.Clone()
+
+module_obj = []
+env_mp.add_source_files(module_obj, "*.cpp")
+
+if env["tools"]:
+ env_mp.add_source_files(module_obj, "editor/*.cpp")
+
+env.modules_sources += module_obj