mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-28 14:26:33 -05:00
23 lines
692 B
CMake
23 lines
692 B
CMake
set(SRCS
|
|
renderer_base.cpp
|
|
renderer_opengl/gl_shader_util.cpp
|
|
renderer_opengl/gl_state.cpp
|
|
renderer_opengl/renderer_opengl.cpp
|
|
video_core.cpp
|
|
)
|
|
|
|
set(HEADERS
|
|
renderer_base.h
|
|
renderer_opengl/gl_resource_manager.h
|
|
renderer_opengl/gl_shader_util.h
|
|
renderer_opengl/gl_state.h
|
|
renderer_opengl/renderer_opengl.h
|
|
utils.h
|
|
video_core.h
|
|
)
|
|
|
|
create_directory_groups(${SRCS} ${HEADERS})
|
|
|
|
add_library(video_core STATIC ${SRCS} ${HEADERS})
|
|
target_link_libraries(video_core PUBLIC common core)
|
|
target_link_libraries(video_core PRIVATE glad)
|