2022-05-03 18:53:24 +02:00
|
|
|
cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
|
2020-09-29 13:47:50 +02:00
|
|
|
|
|
|
|
project(imgui_lib CXX)
|
|
|
|
|
|
|
|
################## imgui_service
|
|
|
|
|
|
|
|
add_library(imgui_service
|
|
|
|
./src/mm/services/imgui_s.hpp
|
|
|
|
./src/mm/services/imgui_s.cpp
|
2021-01-11 16:02:05 +01:00
|
|
|
|
|
|
|
# sneak
|
|
|
|
./src/mm/services/imgui_menu_bar.hpp
|
|
|
|
./src/mm/services/imgui_menu_bar.cpp
|
2020-09-29 13:47:50 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
target_include_directories(imgui_service PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/src")
|
|
|
|
target_link_libraries(imgui_service
|
|
|
|
engine
|
|
|
|
imgui_render_task
|
|
|
|
)
|
2021-06-09 22:16:05 +02:00
|
|
|
|
2020-09-29 13:47:50 +02:00
|
|
|
################## imgui_widgets
|
|
|
|
|
|
|
|
add_library(imgui_widgets
|
2021-03-19 16:44:43 +01:00
|
|
|
./src/mm/imgui/widgets/scalar_range.hpp
|
2020-09-29 13:47:50 +02:00
|
|
|
./src/mm/imgui/widgets/knob.hpp
|
|
|
|
./src/mm/imgui/widgets/plot_radar.hpp
|
|
|
|
./src/mm/imgui/widgets/camera.hpp
|
|
|
|
./src/mm/imgui/widgets/entity.hpp
|
|
|
|
./src/mm/imgui/widgets/filesystem.hpp
|
|
|
|
./src/mm/imgui/widgets/spritesheet.hpp
|
|
|
|
./src/mm/imgui/widgets/texture.hpp
|
|
|
|
./src/mm/imgui/widgets/texture_resource_manager.hpp
|
2021-06-09 22:16:05 +02:00
|
|
|
./src/mm/imgui/widgets/imgui_json_editor.hpp
|
2020-09-29 13:47:50 +02:00
|
|
|
|
|
|
|
./src/mm/imgui/widgets/auto_wrap.hpp
|
|
|
|
|
|
|
|
./src/mm/imgui/widgets/components/name.hpp
|
2022-01-04 22:33:59 +01:00
|
|
|
./src/mm/imgui/widgets/components/position2d.hpp
|
|
|
|
./src/mm/imgui/widgets/components/position2d_zoffset.hpp
|
|
|
|
./src/mm/imgui/widgets/components/position3d.hpp
|
|
|
|
./src/mm/imgui/widgets/components/rotation2d.hpp
|
|
|
|
./src/mm/imgui/widgets/components/scale2d.hpp
|
|
|
|
./src/mm/imgui/widgets/components/velocity2d_position.hpp
|
|
|
|
./src/mm/imgui/widgets/components/velocity2d_rotation.hpp
|
2020-09-29 13:47:50 +02:00
|
|
|
./src/mm/imgui/widgets/components/view_dir2d.hpp
|
|
|
|
./src/mm/imgui/widgets/components/view_dir3d.hpp
|
|
|
|
./src/mm/imgui/widgets/components/color.hpp
|
|
|
|
./src/mm/imgui/widgets/components/texture.hpp
|
|
|
|
|
|
|
|
############
|
|
|
|
|
2021-03-19 16:44:43 +01:00
|
|
|
./src/mm/imgui/widgets/scalar_range.cpp
|
2020-09-29 13:47:50 +02:00
|
|
|
./src/mm/imgui/widgets/knob.cpp
|
|
|
|
./src/mm/imgui/widgets/plot_radar.cpp
|
|
|
|
./src/mm/imgui/widgets/camera.cpp
|
|
|
|
./src/mm/imgui/widgets/entity.cpp
|
|
|
|
./src/mm/imgui/widgets/filesystem.cpp
|
|
|
|
./src/mm/imgui/widgets/spritesheet.cpp
|
|
|
|
./src/mm/imgui/widgets/texture.cpp
|
|
|
|
./src/mm/imgui/widgets/texture_resource_manager.cpp
|
|
|
|
|
|
|
|
./src/mm/imgui/widgets/components/name.cpp
|
2022-01-04 22:33:59 +01:00
|
|
|
./src/mm/imgui/widgets/components/position2d.cpp
|
|
|
|
./src/mm/imgui/widgets/components/position2d_zoffset.cpp
|
|
|
|
./src/mm/imgui/widgets/components/position3d.cpp
|
|
|
|
./src/mm/imgui/widgets/components/rotation2d.cpp
|
|
|
|
./src/mm/imgui/widgets/components/scale2d.cpp
|
|
|
|
./src/mm/imgui/widgets/components/velocity2d_position.cpp
|
|
|
|
./src/mm/imgui/widgets/components/velocity2d_rotation.cpp
|
2020-09-29 13:47:50 +02:00
|
|
|
./src/mm/imgui/widgets/components/view_dir2d.cpp
|
|
|
|
./src/mm/imgui/widgets/components/view_dir3d.cpp
|
|
|
|
./src/mm/imgui/widgets/components/color.cpp
|
|
|
|
./src/mm/imgui/widgets/components/texture.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
target_include_directories(imgui_widgets PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/src")
|
|
|
|
target_link_libraries(imgui_widgets
|
|
|
|
opengl_renderer_s
|
|
|
|
imgui_render_task
|
|
|
|
engine
|
|
|
|
|
|
|
|
common_components
|
2021-03-19 16:44:43 +01:00
|
|
|
std_utils
|
2020-09-29 13:47:50 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
################## imgui_tools
|
|
|
|
|
|
|
|
add_library(imgui_tools
|
|
|
|
./src/mm/imgui/imgui_entt_entity_editor.hpp
|
|
|
|
./src/mm/imgui/fps_overlay.hpp
|
|
|
|
./src/mm/imgui/file_text_editor.hpp
|
|
|
|
./src/mm/imgui/file_shader_editor.hpp
|
|
|
|
|
|
|
|
./src/mm/imgui/fps_overlay.cpp
|
|
|
|
./src/mm/imgui/file_text_editor.cpp
|
|
|
|
./src/mm/imgui/file_shader_editor.cpp
|
|
|
|
|
|
|
|
./src/mm/services/scene_tools.hpp
|
|
|
|
./src/mm/services/scene_tools.cpp
|
2021-01-11 17:45:51 +01:00
|
|
|
|
|
|
|
./src/mm/services/engine_tools.hpp
|
|
|
|
./src/mm/services/engine_tools.cpp
|
2021-05-29 18:22:08 +02:00
|
|
|
|
|
|
|
./src/mm/services/screen_director_tools.hpp
|
|
|
|
./src/mm/services/screen_director_tools.cpp
|
2020-09-29 13:47:50 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
target_include_directories(imgui_tools PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/src")
|
|
|
|
target_link_libraries(imgui_tools
|
|
|
|
imgui_render_task
|
|
|
|
imgui_widgets
|
|
|
|
imgui_color_text_edit
|
2021-05-29 18:22:08 +02:00
|
|
|
|
|
|
|
screen_director
|
2020-09-29 13:47:50 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
################## imgui_sound
|
|
|
|
|
|
|
|
add_library(imgui_sound
|
2021-01-11 19:33:20 +01:00
|
|
|
./src/mm/services/sound_tools.hpp
|
|
|
|
./src/mm/services/sound_tools.cpp
|
|
|
|
|
2020-09-29 13:47:50 +02:00
|
|
|
./src/mm/imgui/sound_info.hpp
|
|
|
|
./src/mm/imgui/sound_pref.hpp
|
|
|
|
|
|
|
|
./src/mm/imgui/widgets/soloud.hpp
|
|
|
|
|
|
|
|
./src/mm/imgui/sound_info.cpp
|
|
|
|
./src/mm/imgui/sound_pref.cpp
|
|
|
|
|
|
|
|
# soloud.hpp imps:
|
|
|
|
./src/mm/imgui/widgets/soloud_sfxr.cpp
|
|
|
|
./src/mm/imgui/widgets/soloud_filter.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
target_include_directories(imgui_sound PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/src")
|
|
|
|
target_link_libraries(imgui_sound
|
|
|
|
imgui_render_task
|
|
|
|
imgui_widgets
|
|
|
|
sound_service
|
|
|
|
)
|
|
|
|
|
|
|
|
################## imgui_tilemap
|
|
|
|
|
|
|
|
add_library(imgui_tilemap
|
|
|
|
./src/mm/imgui/widgets/components/tilemap_renderable.hpp
|
|
|
|
|
|
|
|
./src/mm/imgui/widgets/components/tilemap_renderable.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
target_include_directories(imgui_tilemap PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/src")
|
|
|
|
target_link_libraries(imgui_tilemap
|
|
|
|
imgui_render_task
|
|
|
|
imgui_widgets
|
|
|
|
tilemap
|
|
|
|
)
|
|
|
|
|
|
|
|
if (BUILD_TESTING)
|
|
|
|
add_subdirectory(test)
|
|
|
|
endif()
|
|
|
|
|