summaryrefslogtreecommitdiff
path: root/modules/openxr/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/openxr/config.py')
-rw-r--r--modules/openxr/config.py27
1 files changed, 27 insertions, 0 deletions
diff --git a/modules/openxr/config.py b/modules/openxr/config.py
new file mode 100644
index 0000000000..f91cb1359f
--- /dev/null
+++ b/modules/openxr/config.py
@@ -0,0 +1,27 @@
+def can_build(env, platform):
+ if (
+ platform == "linuxbsd" or platform == "windows"
+ ): # or platform == "android" -- temporarily disabled android support
+ return env["openxr"]
+ else:
+ # not supported on these platforms
+ return False
+
+
+def configure(env):
+ pass
+
+
+def get_doc_classes():
+ return [
+ "OpenXRInterface",
+ "OpenXRAction",
+ "OpenXRActionSet",
+ "OpenXRActionMap",
+ "OpenXRInteractionProfile",
+ "OpenXRIPBinding",
+ ]
+
+
+def get_doc_path():
+ return "doc_classes"