52 lines
960 B
CMake
52 lines
960 B
CMake
add_library(lib_scenes STATIC
|
|
assets_loader.c
|
|
player_ent.c
|
|
items_ent.c
|
|
water_flow.c
|
|
editor_scene.c
|
|
menu_scene.c
|
|
level_select_scene.c
|
|
game_scene.c
|
|
game_systems.c
|
|
scene_systems.c
|
|
camera_systems.c
|
|
engine_impl.c
|
|
)
|
|
target_include_directories(lib_scenes
|
|
PUBLIC
|
|
${CMAKE_CURRENT_LIST_DIR}
|
|
)
|
|
target_link_libraries(lib_scenes
|
|
PUBLIC
|
|
lib_engine
|
|
)
|
|
|
|
add_library(lib_scenes_trace STATIC
|
|
assets_loader.c
|
|
player_ent.c
|
|
items_ent.c
|
|
water_flow.c
|
|
editor_scene.c
|
|
menu_scene.c
|
|
level_select_scene.c
|
|
game_scene.c
|
|
game_systems.c
|
|
scene_systems.c
|
|
camera_systems.c
|
|
engine_impl.c
|
|
)
|
|
target_compile_definitions(lib_scenes_trace
|
|
PUBLIC
|
|
TRACY_ENABLE
|
|
TRACY_ON_DEMAND
|
|
)
|
|
target_include_directories(lib_scenes_trace
|
|
PUBLIC
|
|
${CMAKE_CURRENT_LIST_DIR}
|
|
${CMAKE_CURRENT_LIST_DIR}/../tracy/public/
|
|
)
|
|
target_link_libraries(lib_scenes_trace
|
|
PUBLIC
|
|
lib_engine
|
|
)
|