mirror of
https://github.com/brunodev85/winlator.git
synced 2026-10-20 22:11:47 +03:00
30 lines
768 B
CMake
30 lines
768 B
CMake
cmake_minimum_required(VERSION 3.22.1)
|
|
|
|
Project(Winlator)
|
|
|
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O2 -Wno-unused-function -Wimplicit-function-declaration")
|
|
|
|
add_subdirectory(proot)
|
|
add_subdirectory(virglrenderer)
|
|
add_subdirectory(OpenXR-SDK)
|
|
|
|
add_library(winlator SHARED
|
|
xr/engine.c
|
|
xr/framebuffer.c
|
|
xr/input.c
|
|
xr/main.c
|
|
xr/math.c
|
|
xr/renderer.c
|
|
drawable.c
|
|
gpu_image.c
|
|
sysvshared_memory.c
|
|
xconnector_epoll.c)
|
|
|
|
target_link_libraries(winlator
|
|
log
|
|
android
|
|
jnigraphics
|
|
openxr_loader
|
|
EGL
|
|
GLESv2
|
|
GLESv3) |