td_export.cmake 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. # This file is part of Telegram Desktop,
  2. # the official desktop application for the Telegram messaging service.
  3. #
  4. # For license and copyright information please follow this link:
  5. # https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
  6. add_library(td_export OBJECT)
  7. init_non_host_target(td_export)
  8. add_library(tdesktop::td_export ALIAS td_export)
  9. target_precompile_headers(td_export PRIVATE ${src_loc}/export/export_pch.h)
  10. nice_target_sources(td_export ${src_loc}
  11. PRIVATE
  12. export/export_api_wrap.cpp
  13. export/export_api_wrap.h
  14. export/export_controller.cpp
  15. export/export_controller.h
  16. export/export_pch.h
  17. export/export_settings.cpp
  18. export/export_settings.h
  19. export/data/export_data_types.cpp
  20. export/data/export_data_types.h
  21. export/output/export_output_abstract.cpp
  22. export/output/export_output_abstract.h
  23. export/output/export_output_file.cpp
  24. export/output/export_output_file.h
  25. export/output/export_output_html.cpp
  26. export/output/export_output_html.h
  27. export/output/export_output_html_and_json.cpp
  28. export/output/export_output_html_and_json.h
  29. export/output/export_output_json.cpp
  30. export/output/export_output_json.h
  31. export/output/export_output_result.h
  32. export/output/export_output_stats.cpp
  33. export/output/export_output_stats.h
  34. )
  35. target_include_directories(td_export
  36. PUBLIC
  37. ${src_loc}
  38. )
  39. target_link_libraries(td_export
  40. PUBLIC
  41. desktop-app::lib_base
  42. tdesktop::td_scheme
  43. )