Archived
1
Fork 0
This repository has been archived on 2025-04-12. You can view files and clone it, but cannot push or open issues or pull requests.
trinity/CMakeLists.txt
Joshua Goins a825c8886d Add basic encryption support
Sorry this is a huge commit, this actually includes a ton
of stuff. Text color is now readable, multiple accounts
are supported alongside end-to-end encryption but no
cross-signing yet :-) There's also a whole lot of other
small changes, such as choosing the server you want to
request a room directory from.
2022-03-01 16:20:32 -05:00

41 lines
1 KiB
CMake
Executable file

cmake_minimum_required(VERSION 2.8.12)
project(Trinity LANGUAGES CXX)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
find_package(Qt5 COMPONENTS Core Quick Widgets WebEngine REQUIRED)
add_executable(${PROJECT_NAME}
src/main.cpp
qml.qrc
src/eventmodel.cpp
include/eventmodel.h
src/matrixcore.cpp
include/matrixcore.h
include/network.h
include/requestsender.h
include/room.h
include/roomlistmodel.h
src/roomlistmodel.cpp
include/desktop.h
include/membermodel.h
src/membermodel.cpp
include/community.h
include/communitylistmodel.h
src/communitylistmodel.cpp
src/roomlistsortmodel.cpp
include/roomlistsortmodel.h
include/emotelistmodel.h
src/emotelistmodel.cpp
include/emote.h
include/appcore.h
include/encryption.h
src/encryption.cpp)
find_package(Olm REQUIRED)
target_link_libraries(${PROJECT_NAME} Qt5::Core Qt5::Quick Qt5::Widgets Qt5::WebEngine Olm::Olm cmark)
target_include_directories(${PROJECT_NAME} PRIVATE include)
install(TARGETS ${PROJECT_NAME} DESTINATION bin)