summaryrefslogtreecommitdiff
path: root/modules/gdnative/pluginscript/SCsub
diff options
context:
space:
mode:
authorEmmanuel Leblond <emmanuel.leblond@gmail.com>2017-10-08 23:47:38 +0200
committerEmmanuel Leblond <emmanuel.leblond@gmail.com>2017-10-17 10:50:13 +0200
commite715be0f0a307e36cd34dbee6ba3dfe83b72fead (patch)
treea6b18e480217efef7e6358957735c0f25d88bbf0 /modules/gdnative/pluginscript/SCsub
parent0d0cb01f3385d512de0f91b0d73706a3380ec063 (diff)
[GDnative] add pluginscript \o/
Diffstat (limited to 'modules/gdnative/pluginscript/SCsub')
-rw-r--r--modules/gdnative/pluginscript/SCsub9
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/gdnative/pluginscript/SCsub b/modules/gdnative/pluginscript/SCsub
new file mode 100644
index 0000000000..2031a4236b
--- /dev/null
+++ b/modules/gdnative/pluginscript/SCsub
@@ -0,0 +1,9 @@
+#!/usr/bin/env python
+
+Import('env')
+Import('env_modules')
+
+env_pluginscript = env_modules.Clone()
+
+env_pluginscript.Append(CPPPATH=['#modules/gdnative/include/'])
+env_pluginscript.add_source_files(env.modules_sources, '*.cpp')