diff options
author | Julian Eisel <julian@blender.org> | 2020-04-04 03:17:49 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2020-04-04 19:55:24 +0300 |
commit | 505a19ed75b2829a561475ab4acc075b715a8499 (patch) | |
tree | 0890b0ab096ed963c55c9f976f293407f8c565c5 /source/blender/windowmanager/CMakeLists.txt | |
parent | e455536943a862334a765fdef7edfd16b2e9b5b1 (diff) |
Cleanup: Split up Window-Manager VR file (and related changes)
Splits up wm_xr.c into multiple files in their own folder:
source/blender/windowmanager/xr. So this matches how the message bus and
gizmo code have their own folder and files.
This allows better structuring and should make the code scale better.
I rather do this early on than to wait until we end up with a single,
huge file.
Also improves a bit how data is prepared and updated for drawing.
Diffstat (limited to 'source/blender/windowmanager/CMakeLists.txt')
-rw-r--r-- | source/blender/windowmanager/CMakeLists.txt | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/source/blender/windowmanager/CMakeLists.txt b/source/blender/windowmanager/CMakeLists.txt index a1b67216f1a..90ff7bb8f85 100644 --- a/source/blender/windowmanager/CMakeLists.txt +++ b/source/blender/windowmanager/CMakeLists.txt @@ -191,8 +191,18 @@ endif() if(WITH_XR_OPENXR) add_definitions(-DWITH_XR_OPENXR) + + list(APPEND INC + xr + ) + list(APPEND SRC - intern/wm_xr.c + xr/intern/wm_xr.c + xr/intern/wm_xr_draw.c + xr/intern/wm_xr_session.c + + xr/wm_xr.h + xr/intern/wm_xr_intern.h ) endif() |