Update to Emoji v13 (2020) (#1555)

This commit is contained in:
pajlada
2021-02-13 19:17:22 +01:00
committed by GitHub
parent 648757529d
commit 6b0ce396d6
15 changed files with 154 additions and 1947 deletions
+14 -3
View File
@@ -21,6 +21,17 @@ set(chatterino_SOURCES
src/common/UsernameSet.cpp
src/controllers/highlights/HighlightPhrase.cpp
src/providers/emoji/Emojis.cpp
src/messages/Emote.cpp
src/messages/Image.cpp
src/messages/ImageSet.cpp
src/util/RapidjsonHelpers.cpp
${CMAKE_CURRENT_LIST_DIR}/resources/resources.qrc
${CMAKE_CURRENT_LIST_DIR}/resources/resources_autogenerated.qrc
)
find_package(Qt5 5.9.0 REQUIRED COMPONENTS
@@ -28,8 +39,7 @@ find_package(Qt5 5.9.0 REQUIRED COMPONENTS
)
set(CMAKE_AUTOMOC ON)
# set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
if (BUILD_TESTS)
set(BUILD_TESTS OFF)
@@ -41,12 +51,13 @@ if (BUILD_TESTS)
${chatterino_SOURCES}
tests/src/main.cpp
tests/src/Emojis.cpp
tests/src/NetworkRequest.cpp
tests/src/UsernameSet.cpp
tests/src/HighlightPhrase.cpp
)
target_compile_definitions(chatterino-test PRIVATE CHATTERINO_GIT_HASH="test" AB_CUSTOM_SETTINGS)
target_compile_definitions(chatterino-test PRIVATE CHATTERINO_GIT_HASH="test" AB_CUSTOM_SETTINGS CHATTERINO_TEST)
target_link_libraries(chatterino-test Qt5::Core Qt5::Widgets Qt5::Network Qt5::Concurrent)