Use faster style generation and better source groups.

This commit is contained in:
John Preston 2019-11-29 11:37:29 +03:00
parent d932271c60
commit 90de0b687f
4 changed files with 8 additions and 3 deletions

View File

@ -91,6 +91,8 @@ endif()
set(telegram_sources
PRIVATE
${style_files}
api/api_common.h
api/api_hash.h
api/api_sending.cpp
@ -941,6 +943,8 @@ PRIVATE
qrc/telegram/sounds.qrc
winrc/Telegram.rc
winrc/Telegram.manifest
langs/lang.strings
numbers.txt
)
nice_target_sources(Telegram ${res_loc} "${telegram_resources}")
@ -986,6 +990,7 @@ elseif (APPLE)
Resources/${lang}.lproj/Localizable.strings
)
target_sources(Telegram PRIVATE ${strings_path})
source_group(TREE ${res_loc} PREFIX Resources FILES ${strings_path})
endforeach()
add_custom_command(TARGET Telegram

@ -1 +1 @@
Subproject commit 4b46cfa2f5f3c8343fa3bf2b9970d2a62f854634
Subproject commit bbb6f6a2a7913cca35685e78de168ae0a3ec0b09

@ -1 +1 @@
Subproject commit 4b25cd30d14e94220f8fe213e85554a84fefbc1e
Subproject commit 1c19e874bbeddded6b729bd37aa6da1c872eb206

2
cmake

@ -1 +1 @@
Subproject commit 9e68adb86662862175f00b8a00c36aa9e1569cc8
Subproject commit 52eaa9cd61e5529e461f1a4d5adc730cd7fb493f