tdesktop/Telegram/cmake/td_export.cmake

48 lines
1.4 KiB
CMake
Raw Normal View History

2019-11-21 12:56:17 +01:00
# 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_export OBJECT)
init_non_host_target(td_export)
add_library(tdesktop::td_export ALIAS td_export)
2019-11-08 13:02:15 +01:00
target_precompile_headers(td_export PRIVATE ${src_loc}/export/export_pch.h)
nice_target_sources(td_export ${src_loc}
2019-11-08 13:02:15 +01:00
PRIVATE
export/export_api_wrap.cpp
export/export_api_wrap.h
export/export_controller.cpp
export/export_controller.h
export/export_pch.h
2019-11-08 13:02:15 +01:00
export/export_settings.cpp
export/export_settings.h
export/data/export_data_types.cpp
export/data/export_data_types.h
export/output/export_output_abstract.cpp
export/output/export_output_abstract.h
export/output/export_output_file.cpp
export/output/export_output_file.h
export/output/export_output_html.cpp
export/output/export_output_html.h
export/output/export_output_json.cpp
export/output/export_output_json.h
2022-02-12 23:23:09 +01:00
export/output/export_output_both.cpp
export/output/export_output_both.h
2019-11-08 13:02:15 +01:00
export/output/export_output_result.h
export/output/export_output_stats.cpp
export/output/export_output_stats.h
)
target_include_directories(td_export
2019-11-08 13:02:15 +01:00
PUBLIC
${src_loc}
)
target_link_libraries(td_export
2019-11-08 13:02:15 +01:00
PUBLIC
2019-11-21 15:41:11 +01:00
desktop-app::lib_base
tdesktop::td_scheme
2019-11-08 13:02:15 +01:00
)