2014-08-23 21:22:05 -04:00
|
|
|
set(SRCS
|
2015-12-06 22:06:12 -05:00
|
|
|
renderer_base.cpp
|
2017-01-05 17:11:23 -05:00
|
|
|
renderer_opengl/gl_shader_util.cpp
|
|
|
|
renderer_opengl/gl_state.cpp
|
|
|
|
renderer_opengl/renderer_opengl.cpp
|
2014-07-26 08:42:46 -04:00
|
|
|
video_core.cpp
|
2014-08-23 21:22:05 -04:00
|
|
|
)
|
2014-04-05 16:04:25 -04:00
|
|
|
|
2014-08-23 21:22:05 -04:00
|
|
|
set(HEADERS
|
2014-04-28 22:40:39 -04:00
|
|
|
renderer_base.h
|
2017-01-05 17:11:23 -05: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-23 21:22:05 -04:00
|
|
|
utils.h
|
2014-07-26 08:42:46 -04:00
|
|
|
video_core.h
|
2014-08-23 21:22:05 -04:00
|
|
|
)
|
|
|
|
|
|
|
|
create_directory_groups(${SRCS} ${HEADERS})
|
2014-04-28 22:40:39 -04:00
|
|
|
|
2014-05-19 18:19:36 -04:00
|
|
|
add_library(video_core STATIC ${SRCS} ${HEADERS})
|
2017-05-27 21:26:55 -04:00
|
|
|
target_link_libraries(video_core PUBLIC common core)
|
2018-01-11 22:07:44 -05:00
|
|
|
target_link_libraries(video_core PRIVATE glad)
|