summaryrefslogtreecommitdiffstats
path: root/modules/gdnative/SCsub
diff options
context:
space:
mode:
authorBastiaanOlij <mux213@gmail.com>2017-10-08 00:51:17 +1100
committerBastiaanOlij <mux213@gmail.com>2017-10-14 09:10:18 +1100
commitcc37d43f861b2fd4c3c5d5fbaf7186bf5c30d35f (patch)
tree98fefbcb57a800a0a7b84ae28ab06cdba38a34c6 /modules/gdnative/SCsub
parent4585239a4bcb5350fadc1fbe5a6db1c2e67ab06a (diff)
downloadredot-engine-cc37d43f861b2fd4c3c5d5fbaf7186bf5c30d35f.tar.gz
Redoing the ARVR GDNative interface as module and tighter implementation
Diffstat (limited to 'modules/gdnative/SCsub')
-rw-r--r--modules/gdnative/SCsub3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/gdnative/SCsub b/modules/gdnative/SCsub
index 6592d0ae1d..ba4163aab7 100644
--- a/modules/gdnative/SCsub
+++ b/modules/gdnative/SCsub
@@ -12,6 +12,8 @@ gdn_env.add_source_files(env.modules_sources, "nativescript/*.cpp")
gdn_env.Append(CPPPATH=['#modules/gdnative/include/'])
+SConscript("nativearvr/SCsub")
+
def _spaced(e):
return e if e[-1] == '*' else e + ' '
@@ -22,6 +24,7 @@ def _build_gdnative_api_struct_header(api):
'#define GODOT_GDNATIVE_API_STRUCT_H',
'',
'#include <gdnative/gdnative.h>',
+ '#include <nativearvr/godot_nativearvr.h>',
'#include <nativescript/godot_nativescript.h>',
'',
'#define GDNATIVE_API_INIT(options) do { extern const godot_gdnative_api_struct *_gdnative_wrapper_api_struct; _gdnative_wrapper_api_struct = options->api_struct; } while (0)',