CMakeLists.txt 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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_rpl INTERFACE)
  7. add_library(desktop-app::lib_rpl ALIAS lib_rpl)
  8. get_filename_component(src_loc "." REALPATH)
  9. nice_target_sources(lib_rpl ${src_loc}
  10. INTERFACE
  11. rpl/details/callable.h
  12. rpl/details/superset_type.h
  13. rpl/details/type_list.h
  14. rpl/after_next.h
  15. rpl/before_next.h
  16. rpl/combine.h
  17. rpl/combine_previous.h
  18. rpl/complete.h
  19. rpl/conditional.h
  20. rpl/consumer.h
  21. rpl/deferred.h
  22. rpl/distinct_until_changed.h
  23. rpl/event_stream.h
  24. rpl/fail.h
  25. rpl/filter.h
  26. rpl/flatten_latest.h
  27. rpl/lifetime.h
  28. rpl/map.h
  29. rpl/mappers.h
  30. rpl/merge.h
  31. rpl/never.h
  32. rpl/producer.h
  33. rpl/range.h
  34. rpl/rpl.h
  35. rpl/skip.h
  36. rpl/take.h
  37. rpl/then.h
  38. rpl/type_erased.h
  39. rpl/variable.h
  40. )
  41. target_include_directories(lib_rpl
  42. INTERFACE
  43. ${src_loc}
  44. )
  45. target_link_libraries(lib_rpl
  46. INTERFACE
  47. desktop-app::external_gsl
  48. )