config.py 652 B

123456789101112131415161718192021222324252627282930
  1. def can_build(env, platform):
  2. if platform in ("linuxbsd", "windows", "android", "macos"):
  3. return env["openxr"] and not env["disable_3d"]
  4. else:
  5. # not supported on these platforms
  6. return False
  7. def configure(env):
  8. pass
  9. def get_doc_classes():
  10. return [
  11. "OpenXRInterface",
  12. "OpenXRAction",
  13. "OpenXRActionSet",
  14. "OpenXRActionMap",
  15. "OpenXRAPIExtension",
  16. "OpenXRExtensionWrapperExtension",
  17. "OpenXRInteractionProfile",
  18. "OpenXRInteractionProfileMetadata",
  19. "OpenXRIPBinding",
  20. "OpenXRHand",
  21. ]
  22. def get_doc_path():
  23. return "doc_classes"