light/modules/engine/CMakeLists.txt

40 lines
814 B
Text
Raw Normal View History

2025-07-05 13:28:41 +03:30
if(NOT WIN32)
add_library_module(engine
core/application.cpp
debug/exceptions.cpp
debug/instrumentor.cpp
layer/layer.cpp
layer/layer_stack.cpp
os/linux/l_window.cpp
2025-07-05 13:28:41 +03:30
time/timer.cpp
utils/serializer.cpp
)
else()
add_library_module(engine
core/application.cpp
debug/exceptions.cpp
debug/instrumentor.cpp
layer/layer.cpp
layer/layer_stack.cpp
os/windows/w_window.cpp
2025-07-05 13:28:41 +03:30
time/timer.cpp
utils/serializer.cpp
)
endif()
target_link_libraries(
engine
PUBLIC renderer
2025-07-05 13:28:41 +03:30
PUBLIC glad
PUBLIC logger
2025-07-05 13:28:41 +03:30
PUBLIC opengl::opengl
PUBLIC glfw
PUBLIC ui
PUBLIC asset_parser
PUBLIC asset_manager
2025-07-05 13:28:41 +03:30
PUBLIC yaml-cpp::yaml-cpp
PUBLIC EnTT::EnTT
PUBLIC lt_debug
2025-07-11 01:16:52 +03:30
PUBLIC ecs
2025-07-05 13:28:41 +03:30
)