config.py 478 B

12345678910111213141516171819202122232425
  1. def can_build(env, platform):
  2. if platform in ("linuxbsd", "windows", "android"):
  3. return env["openxr"]
  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. ]
  18. def get_doc_path():
  19. return "doc_classes"