38 lines
725 B
Text
38 lines
725 B
Text
|
add_library_module(renderer
|
||
|
blender.cpp
|
||
|
buffers.cpp
|
||
|
framebuffer.cpp
|
||
|
graphics_context.cpp
|
||
|
render_command.cpp
|
||
|
renderer.cpp
|
||
|
renderer_programs/quad.cpp
|
||
|
renderer_programs/texture.cpp
|
||
|
renderer_programs/tinted_texture.cpp
|
||
|
shader.cpp
|
||
|
texture.cpp
|
||
|
vertex_layout.cpp
|
||
|
gl/blender.cpp
|
||
|
gl/buffers.cpp
|
||
|
gl/framebuffers.cpp
|
||
|
gl/graphics_context.cpp
|
||
|
gl/render_command.cpp
|
||
|
gl/shader.cpp
|
||
|
gl/texture.cpp
|
||
|
gl/vertex_layout.cpp
|
||
|
)
|
||
|
|
||
|
target_link_libraries(
|
||
|
renderer
|
||
|
PUBLIC camera
|
||
|
PUBLIC input
|
||
|
PUBLIC glad
|
||
|
PUBLIC logger
|
||
|
PUBLIC opengl::opengl
|
||
|
PUBLIC glfw
|
||
|
PUBLIC imgui
|
||
|
PUBLIC asset_parser
|
||
|
PUBLIC yaml-cpp::yaml-cpp
|
||
|
PUBLIC EnTT::EnTT
|
||
|
PRIVATE lt_debug
|
||
|
)
|