summaryrefslogtreecommitdiff
path: root/modules/gdnative/nativescript/SCsub
diff options
context:
space:
mode:
authorKarroffel <therzog@mail.de>2017-09-03 12:40:41 +0200
committerKarroffel <therzog@mail.de>2017-09-03 15:28:43 +0200
commit7878329e6fc828dc7ca0a8300ebdbaa0674a769c (patch)
treed999d27bc21468571be421d307caae562a3201a6 /modules/gdnative/nativescript/SCsub
parent6a08f8288ee53456820817fea70598fa846cea3e (diff)
merged gdnative and nativescript module
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')