2025-07-05 13:28:41 +03:30
|
|
|
if(NOT WIN32)
|
|
|
|
add_library_module(engine
|
|
|
|
core/application.cpp
|
|
|
|
core/uuid.cpp
|
|
|
|
debug/exceptions.cpp
|
|
|
|
debug/instrumentor.cpp
|
|
|
|
layer/layer.cpp
|
|
|
|
layer/layer_stack.cpp
|
2025-07-10 13:29:03 +03:30
|
|
|
os/linux/l_window.cpp
|
2025-07-05 13:28:41 +03:30
|
|
|
scene/entity.cpp
|
|
|
|
scene/scene.cpp
|
|
|
|
time/timer.cpp
|
|
|
|
utils/serializer.cpp
|
|
|
|
utils/stringifier.cpp
|
|
|
|
)
|
|
|
|
else()
|
|
|
|
add_library_module(engine
|
|
|
|
core/application.cpp
|
|
|
|
core/uuid.cpp
|
|
|
|
debug/exceptions.cpp
|
|
|
|
debug/instrumentor.cpp
|
|
|
|
layer/layer.cpp
|
|
|
|
layer/layer_stack.cpp
|
2025-07-10 13:29:03 +03:30
|
|
|
os/windows/w_window.cpp
|
2025-07-05 13:28:41 +03:30
|
|
|
scene/entity.cpp
|
|
|
|
scene/scene.cpp
|
|
|
|
time/timer.cpp
|
|
|
|
utils/serializer.cpp
|
|
|
|
utils/stringifier.cpp
|
|
|
|
)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
target_link_libraries(
|
|
|
|
engine
|
2025-07-10 13:29:03 +03:30
|
|
|
PUBLIC renderer
|
2025-07-05 13:28:41 +03:30
|
|
|
PUBLIC glad
|
2025-07-07 15:54:55 +03:30
|
|
|
PUBLIC logger
|
2025-07-05 13:28:41 +03:30
|
|
|
PUBLIC opengl::opengl
|
|
|
|
PUBLIC glfw
|
2025-07-10 13:29:03 +03:30
|
|
|
PUBLIC ui
|
2025-07-09 15:30:54 +03:30
|
|
|
PUBLIC asset_parser
|
2025-07-10 13:29:03 +03:30
|
|
|
PUBLIC asset_manager
|
2025-07-05 13:28:41 +03:30
|
|
|
PUBLIC yaml-cpp::yaml-cpp
|
|
|
|
PUBLIC EnTT::EnTT
|
2025-07-10 13:29:03 +03:30
|
|
|
PUBLIC lt_debug
|
2025-07-05 13:28:41 +03:30
|
|
|
)
|