CMakeLists.txt 656 B

12345678910111213141516171819202122232425262728293031
  1. # This file is part of Desktop App Toolkit,
  2. # a set of libraries for developing nice desktop applications.
  3. #
  4. # For license and copyright information please follow this link:
  5. # https://github.com/desktop-app/legal/blob/master/LEGAL
  6. add_library(lib_tl OBJECT)
  7. add_library(desktop-app::lib_tl ALIAS lib_tl)
  8. init_target(lib_tl)
  9. get_filename_component(src_loc . REALPATH)
  10. nice_target_sources(lib_tl ${src_loc}
  11. PRIVATE
  12. tl/tl_basic_types.cpp
  13. tl/tl_basic_types.h
  14. tl/tl_boxed.h
  15. tl/tl_type_owner.h
  16. tl/generate_tl.py
  17. )
  18. target_include_directories(lib_tl
  19. PUBLIC
  20. ${src_loc}
  21. )
  22. target_link_libraries(lib_tl
  23. PUBLIC
  24. desktop-app::lib_base
  25. )