|
|
@ -136,7 +136,7 @@ message(STATUS "Version: ${PROJECT_VERSION}") |
|
|
|
|
|
|
|
|
|
|
|
cmake_host_system_information(RESULT BUILD_HOST QUERY HOSTNAME) |
|
|
|
cmake_host_system_information(RESULT BUILD_HOST QUERY HOSTNAME) |
|
|
|
set(BUILD_USER $ENV{USER}) |
|
|
|
set(BUILD_USER $ENV{USER}) |
|
|
|
configure_file(cmake/version.hpp config/version.hpp) |
|
|
|
configure_file(cmake/version.h config/version.h) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# |
|
|
|
# |
|
|
@ -144,82 +144,82 @@ configure_file(cmake/version.hpp config/version.hpp) |
|
|
|
# |
|
|
|
# |
|
|
|
set(SRC_FILES |
|
|
|
set(SRC_FILES |
|
|
|
# Dialogs |
|
|
|
# Dialogs |
|
|
|
src/dialogs/CreateRoom.cc |
|
|
|
src/dialogs/CreateRoom.cpp |
|
|
|
src/dialogs/ImageOverlay.cc |
|
|
|
src/dialogs/ImageOverlay.cpp |
|
|
|
src/dialogs/PreviewUploadOverlay.cc |
|
|
|
src/dialogs/PreviewUploadOverlay.cpp |
|
|
|
src/dialogs/InviteUsers.cc |
|
|
|
src/dialogs/InviteUsers.cpp |
|
|
|
src/dialogs/JoinRoom.cc |
|
|
|
src/dialogs/JoinRoom.cpp |
|
|
|
src/dialogs/MemberList.cpp |
|
|
|
src/dialogs/MemberList.cpp |
|
|
|
src/dialogs/LeaveRoom.cc |
|
|
|
src/dialogs/LeaveRoom.cpp |
|
|
|
src/dialogs/Logout.cc |
|
|
|
src/dialogs/Logout.cpp |
|
|
|
src/dialogs/ReadReceipts.cc |
|
|
|
src/dialogs/ReadReceipts.cpp |
|
|
|
src/dialogs/ReCaptcha.cpp |
|
|
|
src/dialogs/ReCaptcha.cpp |
|
|
|
src/dialogs/RoomSettings.cpp |
|
|
|
src/dialogs/RoomSettings.cpp |
|
|
|
|
|
|
|
|
|
|
|
# Emoji |
|
|
|
# Emoji |
|
|
|
src/emoji/Category.cc |
|
|
|
src/emoji/Category.cpp |
|
|
|
src/emoji/ItemDelegate.cc |
|
|
|
src/emoji/ItemDelegate.cpp |
|
|
|
src/emoji/Panel.cc |
|
|
|
src/emoji/Panel.cpp |
|
|
|
src/emoji/PickButton.cc |
|
|
|
src/emoji/PickButton.cpp |
|
|
|
src/emoji/Provider.cc |
|
|
|
src/emoji/Provider.cpp |
|
|
|
|
|
|
|
|
|
|
|
# Timeline |
|
|
|
# Timeline |
|
|
|
src/timeline/TimelineViewManager.cc |
|
|
|
src/timeline/TimelineViewManager.cpp |
|
|
|
src/timeline/TimelineItem.cc |
|
|
|
src/timeline/TimelineItem.cpp |
|
|
|
src/timeline/TimelineView.cc |
|
|
|
src/timeline/TimelineView.cpp |
|
|
|
src/timeline/widgets/AudioItem.cc |
|
|
|
src/timeline/widgets/AudioItem.cpp |
|
|
|
src/timeline/widgets/FileItem.cc |
|
|
|
src/timeline/widgets/FileItem.cpp |
|
|
|
src/timeline/widgets/ImageItem.cc |
|
|
|
src/timeline/widgets/ImageItem.cpp |
|
|
|
src/timeline/widgets/VideoItem.cc |
|
|
|
src/timeline/widgets/VideoItem.cpp |
|
|
|
|
|
|
|
|
|
|
|
# UI components |
|
|
|
# UI components |
|
|
|
src/ui/Avatar.cc |
|
|
|
src/ui/Avatar.cpp |
|
|
|
src/ui/Badge.cc |
|
|
|
src/ui/Badge.cpp |
|
|
|
src/ui/LoadingIndicator.cc |
|
|
|
src/ui/LoadingIndicator.cpp |
|
|
|
src/ui/InfoMessage.cpp |
|
|
|
src/ui/InfoMessage.cpp |
|
|
|
src/ui/FlatButton.cc |
|
|
|
src/ui/FlatButton.cpp |
|
|
|
src/ui/FloatingButton.cc |
|
|
|
src/ui/FloatingButton.cpp |
|
|
|
src/ui/Label.cc |
|
|
|
src/ui/Label.cpp |
|
|
|
src/ui/OverlayModal.cc |
|
|
|
src/ui/OverlayModal.cpp |
|
|
|
src/ui/ScrollBar.cc |
|
|
|
src/ui/ScrollBar.cpp |
|
|
|
src/ui/SnackBar.cc |
|
|
|
src/ui/SnackBar.cpp |
|
|
|
src/ui/RaisedButton.cc |
|
|
|
src/ui/RaisedButton.cpp |
|
|
|
src/ui/Ripple.cc |
|
|
|
src/ui/Ripple.cpp |
|
|
|
src/ui/RippleOverlay.cc |
|
|
|
src/ui/RippleOverlay.cpp |
|
|
|
src/ui/OverlayWidget.cc |
|
|
|
src/ui/OverlayWidget.cpp |
|
|
|
src/ui/TextField.cc |
|
|
|
src/ui/TextField.cpp |
|
|
|
src/ui/ToggleButton.cc |
|
|
|
src/ui/ToggleButton.cpp |
|
|
|
src/ui/Theme.cc |
|
|
|
src/ui/Theme.cpp |
|
|
|
src/ui/ThemeManager.cc |
|
|
|
src/ui/ThemeManager.cpp |
|
|
|
|
|
|
|
|
|
|
|
src/AvatarProvider.cc |
|
|
|
src/AvatarProvider.cpp |
|
|
|
src/Cache.cc |
|
|
|
src/Cache.cpp |
|
|
|
src/ChatPage.cc |
|
|
|
src/ChatPage.cpp |
|
|
|
src/CommunitiesListItem.cc |
|
|
|
src/CommunitiesListItem.cpp |
|
|
|
src/CommunitiesList.cc |
|
|
|
src/CommunitiesList.cpp |
|
|
|
src/InviteeItem.cc |
|
|
|
src/InviteeItem.cpp |
|
|
|
src/LoginPage.cc |
|
|
|
src/LoginPage.cpp |
|
|
|
src/Logging.cpp |
|
|
|
src/Logging.cpp |
|
|
|
src/MainWindow.cc |
|
|
|
src/MainWindow.cpp |
|
|
|
src/MatrixClient.cc |
|
|
|
src/MatrixClient.cpp |
|
|
|
src/QuickSwitcher.cc |
|
|
|
src/QuickSwitcher.cpp |
|
|
|
src/Olm.cpp |
|
|
|
src/Olm.cpp |
|
|
|
src/RegisterPage.cc |
|
|
|
src/RegisterPage.cpp |
|
|
|
src/RoomInfoListItem.cc |
|
|
|
src/RoomInfoListItem.cpp |
|
|
|
src/RoomList.cc |
|
|
|
src/RoomList.cpp |
|
|
|
src/RunGuard.cc |
|
|
|
src/RunGuard.cpp |
|
|
|
src/SideBarActions.cc |
|
|
|
src/SideBarActions.cpp |
|
|
|
src/Splitter.cc |
|
|
|
src/Splitter.cpp |
|
|
|
src/SuggestionsPopup.cpp |
|
|
|
src/SuggestionsPopup.cpp |
|
|
|
src/TextInputWidget.cc |
|
|
|
src/TextInputWidget.cpp |
|
|
|
src/TopRoomBar.cc |
|
|
|
src/TopRoomBar.cpp |
|
|
|
src/TrayIcon.cc |
|
|
|
src/TrayIcon.cpp |
|
|
|
src/TypingDisplay.cc |
|
|
|
src/TypingDisplay.cpp |
|
|
|
src/Utils.cc |
|
|
|
src/Utils.cpp |
|
|
|
src/UserInfoWidget.cc |
|
|
|
src/UserInfoWidget.cpp |
|
|
|
src/UserSettingsPage.cc |
|
|
|
src/UserSettingsPage.cpp |
|
|
|
src/WelcomePage.cc |
|
|
|
src/WelcomePage.cpp |
|
|
|
src/main.cc |
|
|
|
src/main.cpp |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
# ExternalProject dependencies |
|
|
|
# ExternalProject dependencies |
|
|
@ -252,82 +252,81 @@ if(NOT TWEENY_INCLUDE_DIR) |
|
|
|
endif() |
|
|
|
endif() |
|
|
|
include_directories(SYSTEM ${TWEENY_INCLUDE_DIR}) |
|
|
|
include_directories(SYSTEM ${TWEENY_INCLUDE_DIR}) |
|
|
|
|
|
|
|
|
|
|
|
include_directories(include) |
|
|
|
include_directories(${CMAKE_SOURCE_DIR}/src) |
|
|
|
include_directories(include/ui) |
|
|
|
|
|
|
|
include_directories(${CMAKE_CURRENT_BINARY_DIR}/config) |
|
|
|
include_directories(${CMAKE_CURRENT_BINARY_DIR}/config) |
|
|
|
|
|
|
|
|
|
|
|
qt5_wrap_cpp(MOC_HEADERS |
|
|
|
qt5_wrap_cpp(MOC_HEADERS |
|
|
|
# Dialogs |
|
|
|
# Dialogs |
|
|
|
include/dialogs/CreateRoom.h |
|
|
|
src/dialogs/CreateRoom.h |
|
|
|
include/dialogs/ImageOverlay.h |
|
|
|
src/dialogs/ImageOverlay.h |
|
|
|
include/dialogs/PreviewUploadOverlay.h |
|
|
|
src/dialogs/PreviewUploadOverlay.h |
|
|
|
include/dialogs/InviteUsers.h |
|
|
|
src/dialogs/InviteUsers.h |
|
|
|
include/dialogs/JoinRoom.h |
|
|
|
src/dialogs/JoinRoom.h |
|
|
|
include/dialogs/MemberList.hpp |
|
|
|
src/dialogs/MemberList.h |
|
|
|
include/dialogs/LeaveRoom.h |
|
|
|
src/dialogs/LeaveRoom.h |
|
|
|
include/dialogs/Logout.h |
|
|
|
src/dialogs/Logout.h |
|
|
|
include/dialogs/ReadReceipts.h |
|
|
|
src/dialogs/ReadReceipts.h |
|
|
|
include/dialogs/ReCaptcha.hpp |
|
|
|
src/dialogs/ReCaptcha.h |
|
|
|
include/dialogs/RoomSettings.hpp |
|
|
|
src/dialogs/RoomSettings.h |
|
|
|
|
|
|
|
|
|
|
|
# Emoji |
|
|
|
# Emoji |
|
|
|
include/emoji/Category.h |
|
|
|
src/emoji/Category.h |
|
|
|
include/emoji/ItemDelegate.h |
|
|
|
src/emoji/ItemDelegate.h |
|
|
|
include/emoji/Panel.h |
|
|
|
src/emoji/Panel.h |
|
|
|
include/emoji/PickButton.h |
|
|
|
src/emoji/PickButton.h |
|
|
|
|
|
|
|
|
|
|
|
# Timeline |
|
|
|
# Timeline |
|
|
|
include/timeline/TimelineItem.h |
|
|
|
src/timeline/TimelineItem.h |
|
|
|
include/timeline/TimelineView.h |
|
|
|
src/timeline/TimelineView.h |
|
|
|
include/timeline/TimelineViewManager.h |
|
|
|
src/timeline/TimelineViewManager.h |
|
|
|
include/timeline/widgets/AudioItem.h |
|
|
|
src/timeline/widgets/AudioItem.h |
|
|
|
include/timeline/widgets/FileItem.h |
|
|
|
src/timeline/widgets/FileItem.h |
|
|
|
include/timeline/widgets/ImageItem.h |
|
|
|
src/timeline/widgets/ImageItem.h |
|
|
|
include/timeline/widgets/VideoItem.h |
|
|
|
src/timeline/widgets/VideoItem.h |
|
|
|
|
|
|
|
|
|
|
|
# UI components |
|
|
|
# UI components |
|
|
|
include/ui/Avatar.h |
|
|
|
src/ui/Avatar.h |
|
|
|
include/ui/Badge.h |
|
|
|
src/ui/Badge.h |
|
|
|
include/ui/LoadingIndicator.h |
|
|
|
src/ui/LoadingIndicator.h |
|
|
|
include/ui/InfoMessage.hpp |
|
|
|
src/ui/InfoMessage.h |
|
|
|
include/ui/FlatButton.h |
|
|
|
src/ui/FlatButton.h |
|
|
|
include/ui/Label.h |
|
|
|
src/ui/Label.h |
|
|
|
include/ui/FloatingButton.h |
|
|
|
src/ui/FloatingButton.h |
|
|
|
include/ui/OverlayWidget.h |
|
|
|
src/ui/OverlayWidget.h |
|
|
|
include/ui/ScrollBar.h |
|
|
|
src/ui/ScrollBar.h |
|
|
|
include/ui/SnackBar.h |
|
|
|
src/ui/SnackBar.h |
|
|
|
include/ui/RaisedButton.h |
|
|
|
src/ui/RaisedButton.h |
|
|
|
include/ui/Ripple.h |
|
|
|
src/ui/Ripple.h |
|
|
|
include/ui/RippleOverlay.h |
|
|
|
src/ui/RippleOverlay.h |
|
|
|
include/ui/TextField.h |
|
|
|
src/ui/TextField.h |
|
|
|
include/ui/ToggleButton.h |
|
|
|
src/ui/ToggleButton.h |
|
|
|
include/ui/Theme.h |
|
|
|
src/ui/Theme.h |
|
|
|
include/ui/ThemeManager.h |
|
|
|
src/ui/ThemeManager.h |
|
|
|
|
|
|
|
|
|
|
|
include/notifications/Manager.h |
|
|
|
src/notifications/Manager.h |
|
|
|
|
|
|
|
|
|
|
|
include/AvatarProvider.h |
|
|
|
src/AvatarProvider.h |
|
|
|
include/Cache.h |
|
|
|
src/Cache.h |
|
|
|
include/ChatPage.h |
|
|
|
src/ChatPage.h |
|
|
|
include/CommunitiesListItem.h |
|
|
|
src/CommunitiesListItem.h |
|
|
|
include/CommunitiesList.h |
|
|
|
src/CommunitiesList.h |
|
|
|
include/LoginPage.h |
|
|
|
src/LoginPage.h |
|
|
|
include/MainWindow.h |
|
|
|
src/MainWindow.h |
|
|
|
include/InviteeItem.h |
|
|
|
src/InviteeItem.h |
|
|
|
include/QuickSwitcher.h |
|
|
|
src/QuickSwitcher.h |
|
|
|
include/RegisterPage.h |
|
|
|
src/RegisterPage.h |
|
|
|
include/RoomInfoListItem.h |
|
|
|
src/RoomInfoListItem.h |
|
|
|
include/RoomList.h |
|
|
|
src/RoomList.h |
|
|
|
include/SideBarActions.h |
|
|
|
src/SideBarActions.h |
|
|
|
include/Splitter.h |
|
|
|
src/Splitter.h |
|
|
|
include/SuggestionsPopup.hpp |
|
|
|
src/SuggestionsPopup.h |
|
|
|
include/TextInputWidget.h |
|
|
|
src/TextInputWidget.h |
|
|
|
include/TopRoomBar.h |
|
|
|
src/TopRoomBar.h |
|
|
|
include/TrayIcon.h |
|
|
|
src/TrayIcon.h |
|
|
|
include/TypingDisplay.h |
|
|
|
src/TypingDisplay.h |
|
|
|
include/UserInfoWidget.h |
|
|
|
src/UserInfoWidget.h |
|
|
|
include/UserSettingsPage.h |
|
|
|
src/UserSettingsPage.h |
|
|
|
include/WelcomePage.h |
|
|
|
src/WelcomePage.h |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
# |
|
|
|
# |
|
|
|