2023-07-25 14:35:57 +02:00
|
|
|
cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
|
|
|
|
|
2023-07-25 14:56:22 +02:00
|
|
|
add_executable(tomato
|
2023-07-30 16:00:55 +02:00
|
|
|
./main.cpp
|
|
|
|
./icon.rc
|
2023-07-26 12:24:18 +02:00
|
|
|
|
2023-07-30 16:00:55 +02:00
|
|
|
./screen.hpp
|
|
|
|
./start_screen.hpp
|
|
|
|
./start_screen.cpp
|
|
|
|
./main_screen.hpp
|
|
|
|
./main_screen.cpp
|
2023-07-26 12:55:50 +02:00
|
|
|
|
2023-07-29 20:39:31 +02:00
|
|
|
./tox_client.hpp
|
|
|
|
./tox_client.cpp
|
|
|
|
./auto_dirty.hpp
|
|
|
|
./auto_dirty.cpp
|
2023-07-26 20:09:57 +02:00
|
|
|
|
2023-08-02 19:24:51 +02:00
|
|
|
./theme.hpp
|
|
|
|
|
2023-07-30 16:00:55 +02:00
|
|
|
./image_loader.hpp
|
2023-10-09 21:17:00 +02:00
|
|
|
./image_loader.cpp
|
2023-07-30 16:00:55 +02:00
|
|
|
./image_loader_sdl_bmp.hpp
|
|
|
|
./image_loader_sdl_bmp.cpp
|
2023-08-01 20:17:38 +02:00
|
|
|
./image_loader_stb.hpp
|
|
|
|
./image_loader_stb.cpp
|
2023-08-02 15:06:19 +02:00
|
|
|
./image_loader_webp.hpp
|
|
|
|
./image_loader_webp.cpp
|
2023-07-30 16:00:55 +02:00
|
|
|
|
|
|
|
./texture_uploader.hpp
|
2023-07-26 20:09:57 +02:00
|
|
|
./sdlrenderer_texture_uploader.hpp
|
|
|
|
./sdlrenderer_texture_uploader.cpp
|
2023-08-02 19:24:51 +02:00
|
|
|
|
2023-07-31 20:47:22 +02:00
|
|
|
./texture_cache.hpp
|
|
|
|
./texture_cache.cpp
|
2023-08-01 13:21:16 +02:00
|
|
|
./tox_avatar_loader.hpp
|
|
|
|
./tox_avatar_loader.cpp
|
2023-08-02 16:36:34 +02:00
|
|
|
./message_image_loader.hpp
|
|
|
|
./message_image_loader.cpp
|
2023-08-02 19:24:51 +02:00
|
|
|
|
2023-10-14 15:59:32 +02:00
|
|
|
./tox_avatar_manager.hpp
|
|
|
|
./tox_avatar_manager.cpp
|
|
|
|
|
2023-08-02 19:24:51 +02:00
|
|
|
./media_meta_info_loader.hpp
|
|
|
|
./media_meta_info_loader.cpp
|
|
|
|
|
2023-07-30 15:10:26 +02:00
|
|
|
./sdl_clipboard_utils.hpp
|
|
|
|
./sdl_clipboard_utils.cpp
|
2023-08-02 19:24:51 +02:00
|
|
|
|
2023-07-27 19:34:47 +02:00
|
|
|
./file_selector.hpp
|
|
|
|
./file_selector.cpp
|
2023-07-28 18:03:45 +02:00
|
|
|
|
2023-10-04 02:11:06 +02:00
|
|
|
./send_image_popup.hpp
|
|
|
|
./send_image_popup.cpp
|
|
|
|
|
2023-10-19 17:21:45 +02:00
|
|
|
./settings_window.hpp
|
|
|
|
./settings_window.cpp
|
|
|
|
|
2023-10-20 21:40:45 +02:00
|
|
|
./tox_ui_utils.hpp
|
|
|
|
./tox_ui_utils.cpp
|
|
|
|
|
2023-11-13 16:23:49 +01:00
|
|
|
./tox_dht_cap_histo.hpp
|
|
|
|
./tox_dht_cap_histo.cpp
|
|
|
|
|
2024-02-02 20:26:50 +01:00
|
|
|
./tox_friend_faux_offline_messaging.hpp
|
|
|
|
./tox_friend_faux_offline_messaging.cpp
|
|
|
|
|
2023-07-28 18:03:45 +02:00
|
|
|
./chat_gui4.hpp
|
|
|
|
./chat_gui4.cpp
|
2023-07-25 14:56:22 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
target_compile_features(tomato PUBLIC cxx_std_17)
|
|
|
|
target_link_libraries(tomato PUBLIC
|
|
|
|
solanaceae_util
|
|
|
|
solanaceae_contact
|
|
|
|
solanaceae_message3
|
|
|
|
|
2023-07-26 12:55:50 +02:00
|
|
|
solanaceae_plugin
|
2023-07-25 14:56:22 +02:00
|
|
|
|
|
|
|
solanaceae_toxcore
|
|
|
|
solanaceae_tox_contacts
|
|
|
|
solanaceae_tox_messages
|
|
|
|
|
2023-07-25 22:47:22 +02:00
|
|
|
SDL3::SDL3
|
|
|
|
|
2023-07-26 01:11:17 +02:00
|
|
|
imgui
|
|
|
|
imgui_backend_sdl3
|
|
|
|
imgui_backend_sdlrenderer3
|
2023-08-01 20:17:38 +02:00
|
|
|
|
|
|
|
stb_image
|
2023-10-06 13:16:45 +02:00
|
|
|
stb_image_write
|
2023-08-02 15:06:19 +02:00
|
|
|
webpdemux
|
2023-10-04 20:17:53 +02:00
|
|
|
libwebpmux # the f why (needed for anim encode)
|
2023-07-25 14:56:22 +02:00
|
|
|
)
|
|
|
|
|