Files
winlator/app/src/main/cpp/CMakeLists.txt
T
2024-04-04 17:14:24 -03:00

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)