mirror of https://github.com/procxx/kepka.git
More sources to a single source directory target for PCH
This commit is contained in:
parent
5b703d2373
commit
5e31fcb240
|
@ -154,7 +154,7 @@ endforeach()
|
|||
## Main app
|
||||
##======================
|
||||
|
||||
add_subdirectory(SourceFiles/boxes)
|
||||
#add_subdirectory(SourceFiles/boxes) - see comment in that dir
|
||||
|
||||
set(APP_SRC
|
||||
${CMAKE_CURRENT_BINARY_DIR}/styles/palette.cpp
|
||||
|
@ -171,6 +171,38 @@ set(APP_SRC
|
|||
SourceFiles/base/task_queue.cpp
|
||||
SourceFiles/base/timer.cpp
|
||||
|
||||
SourceFiles/boxes/about_box.cpp
|
||||
SourceFiles/boxes/abstract_box.cpp
|
||||
SourceFiles/boxes/add_contact_box.cpp
|
||||
SourceFiles/boxes/autolock_box.cpp
|
||||
SourceFiles/boxes/background_box.cpp
|
||||
SourceFiles/boxes/calendar_box.cpp
|
||||
SourceFiles/boxes/change_phone_box.cpp
|
||||
SourceFiles/boxes/confirm_box.cpp
|
||||
SourceFiles/boxes/confirm_phone_box.cpp
|
||||
SourceFiles/boxes/connection_box.cpp
|
||||
SourceFiles/boxes/download_path_box.cpp
|
||||
SourceFiles/boxes/edit_color_box.cpp
|
||||
SourceFiles/boxes/edit_participant_box.cpp
|
||||
SourceFiles/boxes/edit_privacy_box.cpp
|
||||
SourceFiles/boxes/language_box.cpp
|
||||
SourceFiles/boxes/local_storage_box.cpp
|
||||
SourceFiles/boxes/mute_settings_box.cpp
|
||||
SourceFiles/boxes/notifications_box.cpp
|
||||
SourceFiles/boxes/passcode_box.cpp
|
||||
SourceFiles/boxes/peer_list_box.cpp
|
||||
SourceFiles/boxes/peer_list_controllers.cpp
|
||||
SourceFiles/boxes/photo_crop_box.cpp
|
||||
SourceFiles/boxes/rate_call_box.cpp
|
||||
SourceFiles/boxes/report_box.cpp
|
||||
SourceFiles/boxes/self_destruction_box.cpp
|
||||
SourceFiles/boxes/send_files_box.cpp
|
||||
SourceFiles/boxes/sessions_box.cpp
|
||||
SourceFiles/boxes/share_box.cpp
|
||||
SourceFiles/boxes/sticker_set_box.cpp
|
||||
SourceFiles/boxes/stickers_box.cpp
|
||||
SourceFiles/boxes/username_box.cpp
|
||||
|
||||
SourceFiles/chat_helpers/bot_keyboard.cpp
|
||||
SourceFiles/chat_helpers/emoji_list_widget.cpp
|
||||
SourceFiles/chat_helpers/field_autocomplete.cpp
|
||||
|
@ -475,6 +507,8 @@ target_link_libraries(Telegram Qt5::Core Qt5::Widgets) # crashpad::crashpad_clie
|
|||
target_link_libraries(Telegram ${LIBLZMA_LIBRARIES} ${OPENSSL_LIBRARIES} ${ZLIB_LIBRARIES} ${OPENAL_LIBRARY})
|
||||
qt5_use_modules(Telegram Core Widgets)
|
||||
|
||||
add_dependencies(Telegram boxes_styles_output)
|
||||
|
||||
set_target_properties(Telegram
|
||||
PROPERTIES
|
||||
COTIRE_CXX_PREFIX_HEADER_INIT SourceFiles/stdafx.h
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# Unused: cotire PCH needs more rigid structure.
|
||||
# To do: get rid of the PCH requirement for more flexible build structure.
|
||||
add_library(tg_boxes STATIC
|
||||
about_box.cpp
|
||||
abstract_box.cpp
|
||||
|
|
Loading…
Reference in New Issue