summaryrefslogtreecommitdiff
path: root/modules/gdnative/nativescript/SCsub
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gdnative/nativescript/SCsub')
-rw-r--r--modules/gdnative/nativescript/SCsub10
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/gdnative/nativescript/SCsub b/modules/gdnative/nativescript/SCsub
new file mode 100644
index 0000000000..e980e40e8e
--- /dev/null
+++ b/modules/gdnative/nativescript/SCsub
@@ -0,0 +1,10 @@
+#!/usr/bin/env python
+
+Import('env')
+
+mod_env = env.Clone()
+mod_env.add_source_files(env.modules_sources, "*.cpp")
+mod_env.Append(CPPPATH='#modules/gdnative')
+mod_env.Append(CPPFLAGS=['-DGDAPI_BUILT_IN'])
+
+Export('mod_env')