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