config.py 526 B

1234567891011121314151617181920212223242526
  1. def can_build(env, platform):
  2. if platform in ("linuxbsd", "windows", "android"):
  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. "OpenXRInteractionProfile",
  16. "OpenXRIPBinding",
  17. "OpenXRHand",
  18. ]
  19. def get_doc_path():
  20. return "doc_classes"