tomato/src/CMakeLists.txt

142 lines
2.6 KiB
CMake
Raw Normal View History

2023-07-25 14:35:57 +02:00
cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
2024-02-13 00:15:18 +01:00
add_library(fragment_store
./fragment_store/fragment_store_i.hpp
2024-02-13 12:30:29 +01:00
./fragment_store/types.hpp
./fragment_store/meta_components.hpp
./fragment_store/meta_components_id.inl
./fragment_store/serializer.hpp
./fragment_store/serializer.cpp
2024-02-13 00:15:18 +01:00
./fragment_store/fragment_store.hpp
./fragment_store/fragment_store.cpp
)
target_link_libraries(fragment_store PUBLIC
nlohmann_json::nlohmann_json
EnTT::EnTT
solanaceae_util
)
########################################
add_library(message_fragment_store
./fragment_store/message_fragment_store.hpp
./fragment_store/message_fragment_store.cpp
)
target_compile_features(message_fragment_store PRIVATE cxx_std_20)
target_link_libraries(message_fragment_store PUBLIC
fragment_store
solanaceae_message3
)
########################################
2024-02-13 00:15:18 +01:00
add_executable(fragment_store_test
fragment_store/test_fragstore.cpp
)
target_link_libraries(fragment_store_test PUBLIC
fragment_store
)
########################################
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
./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
./image_loader.cpp
2023-07-30 16:00:55 +02:00
./image_loader_sdl_bmp.hpp
./image_loader_sdl_bmp.cpp
./image_loader_stb.hpp
./image_loader_stb.cpp
2023-08-02 15:06:19 +02:00
./image_loader_webp.hpp
./image_loader_webp.cpp
2024-03-04 13:38:55 +01:00
./image_loader_qoi.hpp
./image_loader_qoi.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
./texture_cache.hpp
./texture_cache.cpp
2023-08-01 13:21:16 +02:00
./tox_avatar_loader.hpp
./tox_avatar_loader.cpp
./message_image_loader.hpp
./message_image_loader.cpp
2023-08-02 19:24:51 +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
./send_image_popup.hpp
./send_image_popup.cpp
./settings_window.hpp
./settings_window.cpp
./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
./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
2024-02-13 12:30:29 +01:00
fragment_store
message_fragment_store
2024-02-13 12:30:29 +01:00
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
stb_image
2023-10-06 13:16:45 +02:00
stb_image_write
2023-08-02 15:06:19 +02:00
webpdemux
libwebpmux # the f why (needed for anim encode)
2024-03-04 13:38:55 +01:00
qoi
2023-07-25 14:56:22 +02:00
)