Some checks failed
Docker. / Ubuntu (push) Has been cancelled
User-agent updater. / User-agent (push) Failing after 15s
Lock Threads / lock (push) Failing after 10s
Waiting for answer. / waiting-for-answer (push) Failing after 22s
Close stale issues and PRs / stale (push) Successful in 13s
Needs user action. / needs-user-action (push) Failing after 8s
Can't reproduce. / cant-reproduce (push) Failing after 8s
45 lines
956 B
CMake
45 lines
956 B
CMake
# This file is part of Telegram Desktop,
|
|
# the official desktop application for the Telegram messaging service.
|
|
#
|
|
# For license and copyright information please follow this link:
|
|
# https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|
|
|
add_library(td_iv OBJECT)
|
|
init_non_host_target(td_iv)
|
|
add_library(tdesktop::td_iv ALIAS td_iv)
|
|
|
|
target_precompile_headers(td_iv PRIVATE ${src_loc}/iv/iv_pch.h)
|
|
nice_target_sources(td_iv ${src_loc}
|
|
PRIVATE
|
|
iv/iv_controller.cpp
|
|
iv/iv_controller.h
|
|
iv/iv_data.cpp
|
|
iv/iv_data.h
|
|
iv/iv_delegate.h
|
|
iv/iv_pch.h
|
|
iv/iv_prepare.cpp
|
|
iv/iv_prepare.h
|
|
)
|
|
|
|
nice_target_sources(td_iv ${res_loc}
|
|
PRIVATE
|
|
iv_html/page.css
|
|
iv_html/page.js
|
|
)
|
|
|
|
target_include_directories(td_iv
|
|
PUBLIC
|
|
${src_loc}
|
|
)
|
|
|
|
target_link_libraries(td_iv
|
|
PUBLIC
|
|
desktop-app::lib_ui
|
|
tdesktop::td_scheme
|
|
PRIVATE
|
|
desktop-app::lib_webview
|
|
desktop-app::external_ada
|
|
tdesktop::td_lang
|
|
tdesktop::td_ui
|
|
)
|