CMakeLists_Headers.txt 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. cmake_minimum_required(VERSION 3.6)
  2. set(SRC_HEADERS
  3. src/compress/rpc_compress.h
  4. src/compress/rpc_compress_gzip.h
  5. src/message/rpc_message.h
  6. src/message/rpc_message_srpc.h
  7. src/message/rpc_message_thrift.h
  8. src/message/rpc_message_brpc.h
  9. src/message/rpc_message_trpc.h
  10. src/thrift/rpc_thrift_buffer.h
  11. src/thrift/rpc_thrift_enum.h
  12. src/thrift/rpc_thrift_idl.h
  13. src/thrift/rpc_thrift_idl.inl
  14. src/var/ckms_quantiles.h
  15. src/var/time_window_quantiles.h
  16. src/var/rpc_var.h
  17. src/module/rpc_module.h
  18. src/module/rpc_trace_module.h
  19. src/module/rpc_metrics_module.h
  20. src/module/rpc_filter.h
  21. src/module/rpc_trace_filter.h
  22. src/module/rpc_metrics_filter.h
  23. src/rpc_basic.h
  24. src/rpc_buffer.h
  25. src/rpc_client.h
  26. src/rpc_context.h
  27. src/rpc_context.inl
  28. src/rpc_global.h
  29. src/rpc_options.h
  30. src/rpc_server.h
  31. src/rpc_service.h
  32. src/rpc_task.inl
  33. src/rpc_types.h
  34. src/rpc_zero_copy_stream.h
  35. src/rpc_define.h
  36. )
  37. if (NOT WIN32)
  38. set(SRC_HEADERS
  39. ${SRC_HEADERS}
  40. src/http/http_task.h
  41. src/http/http_module.h
  42. src/http/http_client.h
  43. src/http/http_server.h
  44. )
  45. endif ()
  46. if (NOT SNAPPY_INSTALLED)
  47. set(SNAPPY_HEADERS
  48. third_party/snappy/snappy.h
  49. third_party/snappy/snappy-c.h
  50. third_party/snappy/snappy-sinksource.h
  51. third_party/snappy/snappy-stubs-public.h
  52. )
  53. endif ()
  54. if (NOT LZ4_INSTALLED)
  55. set(LZ4_HEADERS
  56. third_party/lz4/lib/lz4.h
  57. third_party/lz4/lib/lz4frame.h
  58. )
  59. endif ()
  60. if (WITH_VCPKG_TOOLCHAIN)
  61. set(INCLUDE_HEADERS ${SRC_HEADERS})
  62. else()
  63. set(INCLUDE_HEADERS ${SRC_HEADERS} ${SNAPPY_HEADERS} ${LZ4_HEADERS})
  64. endif()