tdesktop/Telegram/cmake/lib_export.cmake

47 lines
1.4 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
2019-11-08 12:02:15 +00:00
add_library(lib_export OBJECT)
init_target(lib_export)
2019-11-21 14:41:11 +00:00
add_library(tdesktop::lib_export ALIAS lib_export)
2019-11-08 12:02:15 +00:00
2019-12-03 16:11:03 +00:00
target_precompile_headers(lib_export PRIVATE ${src_loc}/export/export_pch.h)
nice_target_sources(lib_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_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
export/output/export_output_text.cpp
export/output/export_output_text.h
)
target_include_directories(lib_export
PUBLIC
${src_loc}
)
target_link_libraries(lib_export
PUBLIC
2019-11-21 14:41:11 +00:00
desktop-app::lib_base
tdesktop::lib_scheme
2019-11-08 12:02:15 +00:00
)