light/modules/renderer/CMakeLists.txt
light7734 2b96a85b62
Some checks reported errors
continuous-integration/drone/push Build was killed
feat: systems
feat: surface system

This commit puts the project in major jeopardy as it overhauls the
architecture such as removing the layer stack completely, etc.

I am filled with determination.
2025-07-26 18:01:27 +03:30

50 lines
895 B
CMake

add_library_module(renderer
system.cpp
blender.cpp
buffers.cpp
framebuffer.cpp
graphics_context.cpp
render_command.cpp
renderer.cpp
shader.cpp
texture.cpp
vertex_layout.cpp
programs/quad.cpp
programs/texture.cpp
programs/tinted_texture.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
vk/instance.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
PRIVATE window
PUBLIC vulkan
)
add_test_module(renderer
system.test.cpp
)
target_link_libraries(
renderer_tests
PRIVATE lt_debug
PRIVATE window
)