29 lines
462 B
CMake
29 lines
462 B
CMake
if(NOT WIN32)
|
|
add_library_module(engine
|
|
core/application.cpp
|
|
layer/layer.cpp
|
|
layer/layer_stack.cpp
|
|
)
|
|
else()
|
|
add_library_module(engine
|
|
core/application.cpp
|
|
layer/layer.cpp
|
|
layer/layer_stack.cpp
|
|
)
|
|
endif()
|
|
|
|
target_link_libraries(engine
|
|
PUBLIC
|
|
renderer
|
|
logger
|
|
ui
|
|
asset_parser
|
|
asset_manager
|
|
lt_debug
|
|
ecs
|
|
window
|
|
glad
|
|
time
|
|
opengl::opengl
|
|
EnTT::EnTT
|
|
)
|