Refine OpenXR backend formatting

This commit is contained in:
2025-06-29 16:30:23 +03:00
parent 9fdb148c89
commit cc1137c011
5 changed files with 247 additions and 57 deletions

View File

@@ -28,27 +28,28 @@ pkg_check_modules(X11 REQUIRED x11)
pkg_check_modules(wayland REQUIRED wayland-server wayland-protocols)
include_directories(
${wayland_INCLUDE_DIRS}
${X11_INCLUDE_DIRS}
${GLM_INCLUDE_DIRS}
${Wlroots_INCLUDE_DIRS}
${wayland_INCLUDE_DIRS}
${X11_INCLUDE_DIRS}
${GLM_INCLUDE_DIRS}
${Wlroots_INCLUDE_DIRS}
)
set(SOURCES
src/wlr/backend.cpp
src/wlr/output.cpp
src/wlr/backend.cpp
src/wlr/output.cpp
src/wlr/openxr_gl.cpp
src/compositor.cpp
src/main.cpp
src/compositor.cpp
src/main.cpp
)
add_executable(${PROJECT_NAME} ${SOURCES})
target_link_libraries(${PROJECT_NAME}
OpenGL::GL
openxr_loader
${wayland_LIBRARIES}
${X11_LIBRARIES}
${GLM_LIBRARIES}
${Wlroots_LIBRARIES}
OpenGL::GL
openxr_loader
${wayland_LIBRARIES}
${X11_LIBRARIES}
${GLM_LIBRARIES}
${Wlroots_LIBRARIES}
)