2014-08-24 03:22:05 +02:00
|
|
|
set(SRCS
|
2015-12-07 04:06:12 +01:00
|
|
|
renderer_base.cpp
|
2017-01-05 23:11:23 +01:00
|
|
|
renderer_opengl/gl_shader_util.cpp
|
|
|
|
renderer_opengl/gl_state.cpp
|
|
|
|
renderer_opengl/renderer_opengl.cpp
|
2014-07-26 14:42:46 +02:00
|
|
|
video_core.cpp
|
2014-08-24 03:22:05 +02:00
|
|
|
)
|
2014-04-05 22:04:25 +02:00
|
|
|
|
2014-08-24 03:22:05 +02:00
|
|
|
set(HEADERS
|
2014-04-29 04:40:39 +02:00
|
|
|
renderer_base.h
|
2017-01-05 23:11:23 +01:00
|
|
|
renderer_opengl/gl_resource_manager.h
|
|
|
|
renderer_opengl/gl_shader_util.h
|
|
|
|
renderer_opengl/gl_state.h
|
|
|
|
renderer_opengl/renderer_opengl.h
|
2014-08-24 03:22:05 +02:00
|
|
|
utils.h
|
2014-07-26 14:42:46 +02:00
|
|
|
video_core.h
|
2014-08-24 03:22:05 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
create_directory_groups(${SRCS} ${HEADERS})
|
2014-04-29 04:40:39 +02:00
|
|
|
|
2014-05-20 00:19:36 +02:00
|
|
|
add_library(video_core STATIC ${SRCS} ${HEADERS})
|
2017-05-28 03:26:55 +02:00
|
|
|
target_link_libraries(video_core PUBLIC common core)
|
2018-01-12 04:07:44 +01:00
|
|
|
target_link_libraries(video_core PRIVATE glad)
|