blender/build_files/cmake
Julian Eisel a22573e243 Build System: Add OpenXR-SDK dependency and WITH_XR_OPENXR build option
The OpenXR-SDK contains utilities for using the OpenXR standard
(https://www.khronos.org/openxr/). Namely C-headers and a so called
"loader" to manage runtime linking to OpenXR platforms ("runtimes")
installed on the user's system.

The WITH_XR_OPENXR build option is disabled by default for now, as there
is no code using it yet. On macOS it will remain disabled for now, it's
untested and there's no OpenXR runtime in sight for it.

Some points on the OpenXR-SDK dependency:
* The repository is located at
  https://github.com/KhronosGroup/OpenXR-SDK (Apache 2).
* Notes on updating the dependency:
  https://wiki.blender.org/wiki/Source/OpenXR_SDK_Dependency
* It contains a bunch of generated files, for which the sources are in a
  separate repository
  (https://github.com/KhronosGroup/OpenXR-SDK-Source).
* We could use that other repo by default, but I'd rather go with the
  simpler solution and allow people to opt in if they want advanced dev
  features.
* We currently use the OpenXR loader lib from it and the headers.
* To use the injected OpenXR API-layers from the SDK (e.g. API
  validation layers), the SDK needs to be compiled from this other
  repository.

The extra "XR_" prefix in the build option is to avoid mix-ups of OpenXR
with OpenEXR.

Most of this comes from the 2019 GSoC project, "Core Support of Virtual
Reality Headsets through OpenXR"
(https://wiki.blender.org/wiki/User:Severin/GSoC-2019/).

Differential Revision: https://developer.blender.org/D6188

Reviewed by: Campbell Barton, Sergey Sharybin, Bastien Montagne, Ray
Molenkamp
2020-03-04 16:45:07 +01:00
..
config Build System: Add OpenXR-SDK dependency and WITH_XR_OPENXR build option 2020-03-04 16:45:07 +01:00
example_scripts Cleanup: remove make wrapper 2019-01-24 23:25:18 +11:00
Modules Build System: Add OpenXR-SDK dependency and WITH_XR_OPENXR build option 2020-03-04 16:45:07 +01:00
platform Build System: Add OpenXR-SDK dependency and WITH_XR_OPENXR build option 2020-03-04 16:45:07 +01:00
buildinfo.cmake Use cmake TIMESTAMP for BUILD_DATE+TIME 2019-09-18 23:04:23 +02:00
clang_array_check.py Fix wrong glColor3usv array size check in clang array checker 2020-02-04 17:54:51 +01:00
cmake_consistency_check_config.py CMake: update cmake_consistency_check 2019-10-29 03:46:50 +11:00
cmake_consistency_check.py CMake: update cmake_consistency_check 2019-10-29 03:46:50 +11:00
cmake_netbeans_project.py Spelling fixes in comments and descriptions, patch by luzpaz 2019-07-31 14:27:35 +02:00
cmake_print_build_options.py Cleanup: move 'make help_features' into own file 2018-09-13 16:20:02 +10:00
cmake_qtcreator_project.py Cleanup: remove contributors for Python files 2019-02-05 09:17:00 +11:00
cmake_static_check_clang_array.py Cleanup: remove contributors for Python files 2019-02-05 09:17:00 +11:00
cmake_static_check_cppcheck.py Cleanup: remove contributors for Python files 2019-02-05 09:17:00 +11:00
cmake_static_check_smatch.py Cleanup: remove contributors for Python files 2019-02-05 09:17:00 +11:00
cmake_static_check_sparse.py Cleanup: remove contributors for Python files 2019-02-05 09:17:00 +11:00
cmake_static_check_splint.py Cleanup: remove contributors for Python files 2019-02-05 09:17:00 +11:00
macros.cmake Cleanup: cmake indentation 2020-03-04 11:02:35 +11:00
packaging.cmake Buildbot: Migrate package archive format for Linux from tar.bz2 to tar.xz 2019-11-28 11:41:25 +01:00
project_info.py Cleanup: remove contributors for Python files 2019-02-05 09:17:00 +11:00
project_source_info.py Cleanup: remove contributors for Python files 2019-02-05 09:17:00 +11:00
RpmBuild.cmake Cleanup: use 2 space indentation for CMake 2019-04-17 06:35:54 +02:00