tdesktop/Telegram/cmake/td_export.cmake

46 lines
1.3 KiB
CMake
Raw Normal View History

2019-11-21 11:56:17 +00: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 12:02:15 +00:00
target_precompile_headers(td_export PRIVATE ${src_loc}/export/export_pch.h)
nice_target_sources(td_export ${src_loc}
2019-11-08 12:02:15 +00: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 12:02:15 +00: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
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 12:02:15 +00:00
PUBLIC
${src_loc}
)
target_link_libraries(td_export
2019-11-08 12:02:15 +00:00
PUBLIC
2019-11-21 14:41:11 +00:00
desktop-app::lib_base
tdesktop::td_scheme
2019-11-08 12:02:15 +00:00
)