couchbase 4.2.8-dev.1 → 4.2.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (317) hide show
  1. package/CMakeLists.txt +1 -1
  2. package/deps/couchbase-cxx-cache/mozilla-ca-bundle.crt +139 -56
  3. package/deps/couchbase-cxx-cache/mozilla-ca-bundle.sha256 +1 -1
  4. package/deps/couchbase-cxx-client/CMakeLists.txt +397 -424
  5. package/deps/couchbase-cxx-client/core/agent_config.hxx +1 -1
  6. package/deps/couchbase-cxx-client/core/agent_group.cxx +0 -1
  7. package/deps/couchbase-cxx-client/core/agent_group.hxx +9 -0
  8. package/deps/couchbase-cxx-client/core/agent_group_config.hxx +1 -1
  9. package/deps/couchbase-cxx-client/core/bucket.cxx +22 -8
  10. package/deps/couchbase-cxx-client/core/bucket.hxx +3 -1
  11. package/deps/couchbase-cxx-client/core/cluster.cxx +1453 -108
  12. package/deps/couchbase-cxx-client/core/cluster.hxx +183 -473
  13. package/deps/couchbase-cxx-client/core/cluster_agent_config.hxx +1 -1
  14. package/deps/couchbase-cxx-client/core/cluster_options.cxx +12 -2
  15. package/deps/couchbase-cxx-client/core/cluster_options.hxx +9 -8
  16. package/deps/couchbase-cxx-client/core/config_profiles.cxx +2 -2
  17. package/deps/couchbase-cxx-client/core/config_profiles.hxx +1 -1
  18. package/deps/couchbase-cxx-client/core/core_sdk_shim.cxx +1 -2
  19. package/deps/couchbase-cxx-client/core/core_sdk_shim.hxx +3 -2
  20. package/deps/couchbase-cxx-client/core/diagnostics.hxx +0 -1
  21. package/deps/couchbase-cxx-client/core/dispatcher.cxx +2 -2
  22. package/deps/couchbase-cxx-client/core/impl/analytics.cxx +38 -76
  23. package/deps/couchbase-cxx-client/core/impl/analytics.hxx +40 -0
  24. package/deps/couchbase-cxx-client/core/impl/analytics_index_manager.cxx +820 -0
  25. package/deps/couchbase-cxx-client/core/impl/binary_collection.cxx +403 -0
  26. package/deps/couchbase-cxx-client/core/impl/bucket.cxx +78 -0
  27. package/deps/couchbase-cxx-client/core/impl/bucket_manager.cxx +433 -0
  28. package/deps/couchbase-cxx-client/core/impl/cluster.cxx +226 -44
  29. package/deps/couchbase-cxx-client/core/impl/collection.cxx +1384 -0
  30. package/deps/couchbase-cxx-client/core/impl/collection_manager.cxx +306 -0
  31. package/deps/couchbase-cxx-client/core/impl/configuration_profiles_registry.cxx +3 -1
  32. package/deps/couchbase-cxx-client/core/impl/dns_srv_tracker.cxx +2 -0
  33. package/deps/couchbase-cxx-client/core/{operations/mcbp_noop.cxx → impl/doc_id_query.cxx} +19 -15
  34. package/deps/couchbase-cxx-client/core/impl/key_value_error_category.cxx +4 -2
  35. package/deps/couchbase-cxx-client/core/impl/lookup_in_all_replicas.hxx +0 -10
  36. package/deps/couchbase-cxx-client/core/impl/lookup_in_any_replica.hxx +0 -10
  37. package/deps/couchbase-cxx-client/core/impl/observe_poll.cxx +24 -17
  38. package/deps/couchbase-cxx-client/core/impl/observe_poll.hxx +1 -1
  39. package/deps/couchbase-cxx-client/core/impl/query.cxx +45 -68
  40. package/deps/couchbase-cxx-client/core/impl/query.hxx +34 -0
  41. package/deps/couchbase-cxx-client/core/impl/query_index_manager.cxx +628 -0
  42. package/deps/couchbase-cxx-client/core/impl/scope.cxx +172 -0
  43. package/deps/couchbase-cxx-client/core/impl/search.cxx +12 -61
  44. package/deps/couchbase-cxx-client/core/impl/search.hxx +37 -0
  45. package/deps/couchbase-cxx-client/core/impl/search_index_manager.cxx +469 -0
  46. package/deps/couchbase-cxx-client/core/impl/search_row_location.cxx +12 -0
  47. package/deps/couchbase-cxx-client/core/impl/search_sort_geo_distance.cxx +87 -0
  48. package/deps/couchbase-cxx-client/core/impl/with_legacy_durability.hxx +23 -25
  49. package/deps/couchbase-cxx-client/core/io/dns_config.cxx +28 -0
  50. package/deps/couchbase-cxx-client/core/io/dns_config.hxx +6 -25
  51. package/deps/couchbase-cxx-client/core/io/http_session_manager.hxx +9 -1
  52. package/deps/couchbase-cxx-client/core/io/mcbp_command.hxx +1 -1
  53. package/deps/couchbase-cxx-client/core/io/mcbp_message.hxx +3 -2
  54. package/deps/couchbase-cxx-client/core/io/mcbp_session.cxx +51 -21
  55. package/deps/couchbase-cxx-client/core/io/mcbp_session.hxx +2 -1
  56. package/deps/couchbase-cxx-client/core/logger/logger.hxx +4 -4
  57. package/deps/couchbase-cxx-client/core/management/bucket_settings.hxx +1 -1
  58. package/deps/couchbase-cxx-client/core/mcbp/packet.cxx +1 -1
  59. package/deps/couchbase-cxx-client/core/mcbp/queue_callback.hxx +1 -1
  60. package/deps/couchbase-cxx-client/core/meta/features.hxx +28 -0
  61. package/deps/couchbase-cxx-client/core/operations/document_query.cxx +17 -1
  62. package/deps/couchbase-cxx-client/core/operations/document_query.hxx +1 -1
  63. package/deps/couchbase-cxx-client/core/operations/management/analytics_dataset_create.cxx +2 -0
  64. package/deps/couchbase-cxx-client/core/operations/management/analytics_dataset_drop.cxx +2 -0
  65. package/deps/couchbase-cxx-client/core/operations/management/analytics_dataverse_create.cxx +2 -0
  66. package/deps/couchbase-cxx-client/core/operations/management/analytics_dataverse_drop.cxx +2 -0
  67. package/deps/couchbase-cxx-client/core/operations/management/analytics_get_pending_mutations.cxx +2 -0
  68. package/deps/couchbase-cxx-client/core/operations/management/analytics_index_drop.cxx +2 -0
  69. package/deps/couchbase-cxx-client/core/operations/management/analytics_link_connect.cxx +2 -0
  70. package/deps/couchbase-cxx-client/core/operations/management/analytics_link_disconnect.cxx +2 -0
  71. package/deps/couchbase-cxx-client/core/operations/management/analytics_link_drop.cxx +2 -0
  72. package/deps/couchbase-cxx-client/core/operations/management/analytics_link_get_all.cxx +2 -0
  73. package/deps/couchbase-cxx-client/core/operations/management/bucket_create.cxx +1 -1
  74. package/deps/couchbase-cxx-client/core/operations/management/bucket_describe.cxx +2 -0
  75. package/deps/couchbase-cxx-client/core/operations/management/bucket_drop.cxx +2 -0
  76. package/deps/couchbase-cxx-client/core/operations/management/bucket_flush.cxx +2 -0
  77. package/deps/couchbase-cxx-client/core/operations/management/bucket_get.cxx +2 -0
  78. package/deps/couchbase-cxx-client/core/operations/management/change_password.cxx +3 -1
  79. package/deps/couchbase-cxx-client/core/operations/management/collection_create.cxx +2 -0
  80. package/deps/couchbase-cxx-client/core/operations/management/collection_drop.cxx +2 -0
  81. package/deps/couchbase-cxx-client/core/operations/management/collection_update.cxx +2 -0
  82. package/deps/couchbase-cxx-client/core/operations/management/error_utils.cxx +6 -5
  83. package/deps/couchbase-cxx-client/core/operations/management/eventing_deploy_function.cxx +2 -0
  84. package/deps/couchbase-cxx-client/core/operations/management/eventing_drop_function.cxx +2 -0
  85. package/deps/couchbase-cxx-client/core/operations/management/eventing_get_function.cxx +2 -0
  86. package/deps/couchbase-cxx-client/core/operations/management/eventing_pause_function.cxx +2 -0
  87. package/deps/couchbase-cxx-client/core/operations/management/eventing_resume_function.cxx +2 -0
  88. package/deps/couchbase-cxx-client/core/operations/management/eventing_undeploy_function.cxx +2 -0
  89. package/deps/couchbase-cxx-client/core/operations/management/eventing_upsert_function.cxx +2 -0
  90. package/deps/couchbase-cxx-client/core/operations/management/group_drop.cxx +2 -0
  91. package/deps/couchbase-cxx-client/core/operations/management/group_get.cxx +2 -0
  92. package/deps/couchbase-cxx-client/core/operations/management/group_get_all.cxx +1 -1
  93. package/deps/couchbase-cxx-client/core/operations/management/query_index_build_deferred.hxx +2 -2
  94. package/deps/couchbase-cxx-client/core/operations/management/query_index_create.cxx +4 -1
  95. package/deps/couchbase-cxx-client/core/operations/management/query_index_drop.cxx +4 -1
  96. package/deps/couchbase-cxx-client/core/operations/management/query_index_get_all.cxx +1 -1
  97. package/deps/couchbase-cxx-client/core/operations/management/query_index_get_all.hxx +1 -1
  98. package/deps/couchbase-cxx-client/core/operations/management/scope_create.cxx +2 -0
  99. package/deps/couchbase-cxx-client/core/operations/management/scope_drop.cxx +2 -0
  100. package/deps/couchbase-cxx-client/core/operations/management/scope_get_all.cxx +2 -0
  101. package/deps/couchbase-cxx-client/core/operations/management/search_get_stats.cxx +4 -4
  102. package/deps/couchbase-cxx-client/core/operations/management/search_get_stats.hxx +4 -4
  103. package/deps/couchbase-cxx-client/core/operations/management/search_index_analyze_document.cxx +2 -0
  104. package/deps/couchbase-cxx-client/core/operations/management/search_index_control_ingest.cxx +2 -0
  105. package/deps/couchbase-cxx-client/core/operations/management/search_index_control_plan_freeze.cxx +2 -0
  106. package/deps/couchbase-cxx-client/core/operations/management/search_index_control_query.cxx +2 -0
  107. package/deps/couchbase-cxx-client/core/operations/management/search_index_drop.cxx +2 -0
  108. package/deps/couchbase-cxx-client/core/operations/management/search_index_get.cxx +2 -0
  109. package/deps/couchbase-cxx-client/core/operations/management/search_index_get_all.cxx +1 -1
  110. package/deps/couchbase-cxx-client/core/operations/management/search_index_get_documents_count.cxx +2 -0
  111. package/deps/couchbase-cxx-client/core/operations/management/search_index_get_stats.cxx +2 -0
  112. package/deps/couchbase-cxx-client/core/operations/management/search_index_upsert.cxx +2 -0
  113. package/deps/couchbase-cxx-client/core/operations/management/view_index_drop.cxx +2 -0
  114. package/deps/couchbase-cxx-client/core/operations/management/view_index_get.cxx +2 -0
  115. package/deps/couchbase-cxx-client/core/operations/management/view_index_get_all.cxx +2 -0
  116. package/deps/couchbase-cxx-client/core/operations/management/view_index_upsert.cxx +2 -0
  117. package/deps/couchbase-cxx-client/core/operations.hxx +0 -1
  118. package/deps/couchbase-cxx-client/core/operations_fwd.hxx +260 -0
  119. package/deps/couchbase-cxx-client/core/origin.cxx +146 -5
  120. package/deps/couchbase-cxx-client/core/origin.hxx +30 -140
  121. package/deps/couchbase-cxx-client/core/protocol/cmd_cluster_map_change_notification.hxx +3 -3
  122. package/deps/couchbase-cxx-client/core/protocol/cmd_hello.hxx +5 -0
  123. package/deps/couchbase-cxx-client/core/protocol/cmd_observe_seqno.hxx +4 -4
  124. package/deps/couchbase-cxx-client/core/protocol/hello_feature.hxx +6 -0
  125. package/deps/couchbase-cxx-client/core/protocol/hello_feature_fmt.hxx +3 -0
  126. package/deps/couchbase-cxx-client/core/protocol/status.cxx +6 -0
  127. package/deps/couchbase-cxx-client/core/protocol/status.hxx +1 -0
  128. package/deps/couchbase-cxx-client/core/query_context.hxx +11 -7
  129. package/deps/couchbase-cxx-client/core/range_scan_orchestrator.cxx +1 -1
  130. package/deps/couchbase-cxx-client/core/topology/configuration.cxx +23 -0
  131. package/deps/couchbase-cxx-client/core/topology/configuration.hxx +8 -12
  132. package/deps/couchbase-cxx-client/core/topology/configuration_fmt.hxx +3 -3
  133. package/deps/couchbase-cxx-client/core/topology/configuration_json.hxx +2 -0
  134. package/deps/couchbase-cxx-client/core/topology/error_map.hxx +2 -2
  135. package/deps/couchbase-cxx-client/core/topology/error_map_json.hxx +4 -0
  136. package/deps/couchbase-cxx-client/core/transactions/active_transaction_record.cxx +58 -0
  137. package/deps/couchbase-cxx-client/core/transactions/active_transaction_record.hxx +5 -40
  138. package/deps/couchbase-cxx-client/core/transactions/async_attempt_context.cxx +30 -0
  139. package/deps/couchbase-cxx-client/core/transactions/atr_cleanup_entry.cxx +18 -18
  140. package/deps/couchbase-cxx-client/core/transactions/attempt_context.cxx +36 -0
  141. package/deps/couchbase-cxx-client/core/transactions/attempt_context_impl.cxx +39 -41
  142. package/deps/couchbase-cxx-client/core/transactions/attempt_context_impl.hxx +2 -2
  143. package/deps/couchbase-cxx-client/core/transactions/internal/atr_cleanup_entry.hxx +3 -1
  144. package/deps/couchbase-cxx-client/core/transactions/internal/atr_entry.hxx +2 -0
  145. package/deps/couchbase-cxx-client/core/transactions/internal/doc_record.cxx +32 -0
  146. package/deps/couchbase-cxx-client/core/transactions/internal/doc_record.hxx +4 -30
  147. package/deps/couchbase-cxx-client/core/transactions/internal/doc_record_fmt.hxx +41 -0
  148. package/deps/couchbase-cxx-client/core/transactions/internal/logging.hxx +17 -15
  149. package/deps/couchbase-cxx-client/core/transactions/internal/transaction_context.hxx +1 -1
  150. package/deps/couchbase-cxx-client/core/transactions/internal/transactions_cleanup.hxx +4 -4
  151. package/deps/couchbase-cxx-client/core/transactions/internal/utils.hxx +1 -13
  152. package/deps/couchbase-cxx-client/core/transactions/result.hxx +0 -26
  153. package/deps/couchbase-cxx-client/core/transactions/result_fmt.hxx +46 -0
  154. package/deps/couchbase-cxx-client/core/transactions/staged_mutation.cxx +16 -14
  155. package/deps/couchbase-cxx-client/core/transactions/transaction_context.cxx +6 -6
  156. package/deps/couchbase-cxx-client/core/transactions/transaction_keyspace.cxx +48 -0
  157. package/deps/couchbase-cxx-client/core/transactions/transaction_links.hxx +1 -0
  158. package/deps/couchbase-cxx-client/core/transactions/transaction_options.cxx +61 -4
  159. package/deps/couchbase-cxx-client/core/transactions/transactions.cxx +9 -8
  160. package/deps/couchbase-cxx-client/core/transactions/transactions_cleanup.cxx +9 -16
  161. package/deps/couchbase-cxx-client/core/transactions/transactions_config.cxx +7 -6
  162. package/deps/couchbase-cxx-client/core/transactions.hxx +6 -5
  163. package/deps/couchbase-cxx-client/core/utils/join_strings.hxx +4 -3
  164. package/deps/couchbase-cxx-client/core/utils/keyspace.hxx +4 -4
  165. package/deps/couchbase-cxx-client/couchbase/allow_querying_search_index_options.hxx +44 -0
  166. package/deps/couchbase-cxx-client/couchbase/analytics_index_manager.hxx +463 -0
  167. package/deps/couchbase-cxx-client/couchbase/analyze_document_options.hxx +44 -0
  168. package/deps/couchbase-cxx-client/couchbase/append_options.hxx +0 -24
  169. package/deps/couchbase-cxx-client/couchbase/behavior_options.hxx +1 -1
  170. package/deps/couchbase-cxx-client/couchbase/binary_collection.hxx +19 -115
  171. package/deps/couchbase-cxx-client/couchbase/bucket.hxx +13 -30
  172. package/deps/couchbase-cxx-client/couchbase/bucket_manager.hxx +8 -7
  173. package/deps/couchbase-cxx-client/couchbase/build_query_index_options.hxx +0 -1
  174. package/deps/couchbase-cxx-client/couchbase/cluster.hxx +41 -73
  175. package/deps/couchbase-cxx-client/couchbase/cluster_options.hxx +1 -27
  176. package/deps/couchbase-cxx-client/couchbase/collection.hxx +176 -386
  177. package/deps/couchbase-cxx-client/couchbase/collection_manager.hxx +8 -9
  178. package/deps/couchbase-cxx-client/couchbase/collection_query_index_manager.hxx +21 -24
  179. package/deps/couchbase-cxx-client/couchbase/connect_link_analytics_options.hxx +116 -0
  180. package/deps/couchbase-cxx-client/couchbase/create_bucket_options.hxx +3 -3
  181. package/deps/couchbase-cxx-client/couchbase/create_collection_options.hxx +3 -2
  182. package/deps/couchbase-cxx-client/couchbase/create_dataset_analytics_options.hxx +120 -0
  183. package/deps/couchbase-cxx-client/couchbase/create_dataverse_analytics_options.hxx +85 -0
  184. package/deps/couchbase-cxx-client/couchbase/create_index_analytics_options.hxx +103 -0
  185. package/deps/couchbase-cxx-client/couchbase/create_link_analytics_options.hxx +63 -0
  186. package/deps/couchbase-cxx-client/couchbase/decrement_options.hxx +0 -23
  187. package/deps/couchbase-cxx-client/couchbase/disallow_querying_search_index_options.hxx +43 -0
  188. package/deps/couchbase-cxx-client/couchbase/disconnect_link_analytics_options.hxx +105 -0
  189. package/deps/couchbase-cxx-client/couchbase/drop_dataset_analytics_options.hxx +103 -0
  190. package/deps/couchbase-cxx-client/couchbase/drop_dataverse_analytics_options.hxx +84 -0
  191. package/deps/couchbase-cxx-client/couchbase/drop_index_analytics_options.hxx +103 -0
  192. package/deps/couchbase-cxx-client/couchbase/drop_link_analytics_options.hxx +63 -0
  193. package/deps/couchbase-cxx-client/couchbase/drop_search_index_options.hxx +43 -0
  194. package/deps/couchbase-cxx-client/couchbase/error_codes.hxx +22 -1
  195. package/deps/couchbase-cxx-client/couchbase/exists_options.hxx +0 -23
  196. package/deps/couchbase-cxx-client/couchbase/fmt/key_value_error_map_attribute.hxx +6 -0
  197. package/deps/couchbase-cxx-client/couchbase/fmt/key_value_status_code.hxx +3 -0
  198. package/deps/couchbase-cxx-client/couchbase/fmt/transaction_keyspace.hxx +37 -0
  199. package/deps/couchbase-cxx-client/couchbase/freeze_plan_search_index_options.hxx +43 -0
  200. package/deps/couchbase-cxx-client/couchbase/get_all_datasets_analytics_options.hxx +66 -0
  201. package/deps/couchbase-cxx-client/couchbase/get_all_indexes_analytics_options.hxx +65 -0
  202. package/deps/couchbase-cxx-client/couchbase/get_all_query_indexes_options.hxx +1 -4
  203. package/deps/couchbase-cxx-client/couchbase/get_all_replicas_options.hxx +0 -23
  204. package/deps/couchbase-cxx-client/couchbase/get_all_search_indexes_options.hxx +45 -0
  205. package/deps/couchbase-cxx-client/couchbase/get_and_lock_options.hxx +0 -24
  206. package/deps/couchbase-cxx-client/couchbase/get_and_touch_options.hxx +0 -24
  207. package/deps/couchbase-cxx-client/couchbase/get_any_replica_options.hxx +0 -23
  208. package/deps/couchbase-cxx-client/couchbase/get_indexed_search_index_options.hxx +43 -0
  209. package/deps/couchbase-cxx-client/couchbase/get_links_analytics_options.hxx +121 -0
  210. package/deps/couchbase-cxx-client/couchbase/get_options.hxx +0 -23
  211. package/deps/couchbase-cxx-client/couchbase/get_pending_mutations_analytics_options.hxx +67 -0
  212. package/deps/couchbase-cxx-client/couchbase/get_search_index_options.hxx +44 -0
  213. package/deps/couchbase-cxx-client/couchbase/increment_options.hxx +0 -23
  214. package/deps/couchbase-cxx-client/couchbase/insert_options.hxx +0 -24
  215. package/deps/couchbase-cxx-client/couchbase/key_value_error_map_attribute.hxx +12 -0
  216. package/deps/couchbase-cxx-client/couchbase/key_value_status_code.hxx +1 -0
  217. package/deps/couchbase-cxx-client/couchbase/lookup_in_options.hxx +0 -24
  218. package/deps/couchbase-cxx-client/couchbase/management/analytics_dataset.hxx +48 -0
  219. package/deps/couchbase-cxx-client/couchbase/management/analytics_index.hxx +48 -0
  220. package/deps/couchbase-cxx-client/couchbase/management/analytics_link.hxx +239 -0
  221. package/deps/couchbase-cxx-client/couchbase/management/query_index.hxx +3 -3
  222. package/deps/couchbase-cxx-client/couchbase/management/search_index.hxx +40 -0
  223. package/deps/couchbase-cxx-client/couchbase/manager_error_context.hxx +0 -1
  224. package/deps/couchbase-cxx-client/couchbase/mutate_in_options.hxx +0 -24
  225. package/deps/couchbase-cxx-client/couchbase/network_options.hxx +1 -1
  226. package/deps/couchbase-cxx-client/couchbase/pause_ingest_search_index_options.hxx +43 -0
  227. package/deps/couchbase-cxx-client/couchbase/phrase_query.hxx +19 -0
  228. package/deps/couchbase-cxx-client/couchbase/prepend_options.hxx +0 -24
  229. package/deps/couchbase-cxx-client/couchbase/query_index_manager.hxx +99 -20
  230. package/deps/couchbase-cxx-client/couchbase/query_options.hxx +0 -21
  231. package/deps/couchbase-cxx-client/couchbase/remove_options.hxx +0 -23
  232. package/deps/couchbase-cxx-client/couchbase/replace_link_analytics_options.hxx +63 -0
  233. package/deps/couchbase-cxx-client/couchbase/replace_options.hxx +0 -24
  234. package/deps/couchbase-cxx-client/couchbase/resume_ingest_search_index_options.hxx +43 -0
  235. package/deps/couchbase-cxx-client/couchbase/scope.hxx +13 -45
  236. package/deps/couchbase-cxx-client/couchbase/search_facet_result.hxx +1 -7
  237. package/deps/couchbase-cxx-client/couchbase/search_geo_distance_units.hxx +26 -0
  238. package/deps/couchbase-cxx-client/couchbase/search_index_manager.hxx +292 -0
  239. package/deps/couchbase-cxx-client/couchbase/search_row_location.hxx +10 -0
  240. package/deps/couchbase-cxx-client/couchbase/search_sort_geo_distance.hxx +84 -0
  241. package/deps/couchbase-cxx-client/couchbase/security_options.hxx +1 -1
  242. package/deps/couchbase-cxx-client/couchbase/touch_options.hxx +0 -24
  243. package/deps/couchbase-cxx-client/couchbase/tracing/request_tracer.hxx +1 -1
  244. package/deps/couchbase-cxx-client/couchbase/transactions/async_attempt_context.hxx +10 -7
  245. package/deps/couchbase-cxx-client/couchbase/transactions/attempt_context.hxx +10 -10
  246. package/deps/couchbase-cxx-client/couchbase/transactions/transaction_keyspace.hxx +8 -58
  247. package/deps/couchbase-cxx-client/couchbase/transactions/transaction_options.hxx +28 -70
  248. package/deps/couchbase-cxx-client/couchbase/transactions/transaction_query_options.hxx +7 -2
  249. package/deps/couchbase-cxx-client/couchbase/transactions/transactions_cleanup_config.hxx +2 -1
  250. package/deps/couchbase-cxx-client/couchbase/transactions/transactions_config.hxx +11 -38
  251. package/deps/couchbase-cxx-client/couchbase/unfreeze_plan_search_index_options.hxx +43 -0
  252. package/deps/couchbase-cxx-client/couchbase/unlock_options.hxx +0 -24
  253. package/deps/couchbase-cxx-client/couchbase/upsert_options.hxx +0 -24
  254. package/deps/couchbase-cxx-client/couchbase/upsert_search_index_options.hxx +41 -0
  255. package/dist/binding.d.ts +7 -9
  256. package/dist/bindingutilities.js +2 -0
  257. package/dist/collection.js +3 -3
  258. package/dist/errors.d.ts +9 -0
  259. package/dist/errors.js +14 -2
  260. package/dist/transactions.d.ts +2 -0
  261. package/dist/transactions.js +2 -3
  262. package/dist/usermanager.js +1 -1
  263. package/package.json +7 -7
  264. package/src/binding.cpp +1 -0
  265. package/src/connection.cpp +12 -9
  266. package/src/connection.hpp +3 -3
  267. package/src/connection_autogen.cpp +7 -5
  268. package/src/constants.cpp +3 -0
  269. package/src/instance.cpp +2 -2
  270. package/src/instance.hpp +1 -1
  271. package/src/jstocbpp_autogen.hpp +21 -38
  272. package/src/jstocbpp_basic.hpp +2 -0
  273. package/src/jstocbpp_errors.hpp +1 -0
  274. package/src/jstocbpp_transactions.hpp +6 -22
  275. package/src/mutationtoken.hpp +1 -0
  276. package/tools/gen-bindings-json.py +39 -16
  277. package/deps/couchbase-cxx-cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/example/CMakeLists.txt +0 -23
  278. package/deps/couchbase-cxx-cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/example/example.cpp +0 -398
  279. package/deps/couchbase-cxx-client/core/impl/append.cxx +0 -87
  280. package/deps/couchbase-cxx-client/core/impl/build_deferred_query_indexes.cxx +0 -157
  281. package/deps/couchbase-cxx-client/core/impl/create_bucket.cxx +0 -158
  282. package/deps/couchbase-cxx-client/core/impl/create_collection.cxx +0 -83
  283. package/deps/couchbase-cxx-client/core/impl/create_query_index.cxx +0 -232
  284. package/deps/couchbase-cxx-client/core/impl/create_scope.cxx +0 -69
  285. package/deps/couchbase-cxx-client/core/impl/decrement.cxx +0 -96
  286. package/deps/couchbase-cxx-client/core/impl/drop_bucket.cxx +0 -66
  287. package/deps/couchbase-cxx-client/core/impl/drop_collection.cxx +0 -76
  288. package/deps/couchbase-cxx-client/core/impl/drop_query_index.cxx +0 -187
  289. package/deps/couchbase-cxx-client/core/impl/drop_scope.cxx +0 -68
  290. package/deps/couchbase-cxx-client/core/impl/exists.cxx +0 -47
  291. package/deps/couchbase-cxx-client/core/impl/flush_bucket.cxx +0 -66
  292. package/deps/couchbase-cxx-client/core/impl/get.cxx +0 -68
  293. package/deps/couchbase-cxx-client/core/impl/get_all_buckets.cxx +0 -178
  294. package/deps/couchbase-cxx-client/core/impl/get_all_query_indexes.cxx +0 -106
  295. package/deps/couchbase-cxx-client/core/impl/get_all_replicas.cxx +0 -145
  296. package/deps/couchbase-cxx-client/core/impl/get_all_scopes.cxx +0 -94
  297. package/deps/couchbase-cxx-client/core/impl/get_and_lock.cxx +0 -49
  298. package/deps/couchbase-cxx-client/core/impl/get_and_touch.cxx +0 -49
  299. package/deps/couchbase-cxx-client/core/impl/get_any_replica.cxx +0 -134
  300. package/deps/couchbase-cxx-client/core/impl/get_bucket.cxx +0 -168
  301. package/deps/couchbase-cxx-client/core/impl/increment.cxx +0 -96
  302. package/deps/couchbase-cxx-client/core/impl/insert.cxx +0 -90
  303. package/deps/couchbase-cxx-client/core/impl/lookup_in.cxx +0 -69
  304. package/deps/couchbase-cxx-client/core/impl/lookup_in_all_replicas.cxx +0 -178
  305. package/deps/couchbase-cxx-client/core/impl/lookup_in_any_replica.cxx +0 -169
  306. package/deps/couchbase-cxx-client/core/impl/mutate_in.cxx +0 -125
  307. package/deps/couchbase-cxx-client/core/impl/prepend.cxx +0 -87
  308. package/deps/couchbase-cxx-client/core/impl/remove.cxx +0 -86
  309. package/deps/couchbase-cxx-client/core/impl/replace.cxx +0 -102
  310. package/deps/couchbase-cxx-client/core/impl/touch.cxx +0 -49
  311. package/deps/couchbase-cxx-client/core/impl/unlock.cxx +0 -47
  312. package/deps/couchbase-cxx-client/core/impl/update_bucket.cxx +0 -133
  313. package/deps/couchbase-cxx-client/core/impl/update_collection.cxx +0 -83
  314. package/deps/couchbase-cxx-client/core/impl/upsert.cxx +0 -100
  315. package/deps/couchbase-cxx-client/core/impl/watch_query_indexes.cxx +0 -196
  316. package/deps/couchbase-cxx-client/core/operations/mcbp_noop.hxx +0 -49
  317. /package/deps/couchbase-cxx-client/core/impl/{streaming_json_lexter_error_category.cxx → streaming_json_lexer_error_category.cxx} +0 -0
@@ -1,29 +1,28 @@
1
- cmake_minimum_required(VERSION 3.17)
2
- # node.js uses cmake 3.17
1
+ cmake_minimum_required(VERSION 3.19)
3
2
  message(STATUS "CMake version ${CMAKE_VERSION}")
4
3
 
5
4
  set(couchbase_cxx_client_BUILD_NUMBER 0)
6
- if (DEFINED ENV{BUILD_NUMBER})
7
- set(couchbase_cxx_client_BUILD_NUMBER $ENV{BUILD_NUMBER})
8
- endif ()
9
-
10
- if (NOT DEFINED COUCHBASE_CXX_CLIENT_MASTER_PROJECT)
11
- if (CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR)
12
- set(COUCHBASE_CXX_CLIENT_MASTER_PROJECT ON)
13
- else ()
14
- set(COUCHBASE_CXX_CLIENT_MASTER_PROJECT OFF)
15
- endif ()
16
- endif ()
5
+ if(DEFINED ENV{BUILD_NUMBER})
6
+ set(couchbase_cxx_client_BUILD_NUMBER $ENV{BUILD_NUMBER})
7
+ endif()
8
+
9
+ if(NOT DEFINED COUCHBASE_CXX_CLIENT_MASTER_PROJECT)
10
+ if(CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR)
11
+ set(COUCHBASE_CXX_CLIENT_MASTER_PROJECT ON)
12
+ else()
13
+ set(COUCHBASE_CXX_CLIENT_MASTER_PROJECT OFF)
14
+ endif()
15
+ endif()
17
16
 
18
17
  project(
19
- couchbase_cxx_client
20
- VERSION "1.0.0.${couchbase_cxx_client_BUILD_NUMBER}"
21
- LANGUAGES CXX C)
18
+ couchbase_cxx_client
19
+ VERSION "1.0.0.${couchbase_cxx_client_BUILD_NUMBER}"
20
+ LANGUAGES CXX C)
22
21
  message(STATUS "Couchbase C++ client ${couchbase_cxx_client_VERSION}, master: ${COUCHBASE_CXX_CLIENT_MASTER_PROJECT}")
23
22
  message(STATUS "System: ${CMAKE_SYSTEM_NAME}, ${CMAKE_SYSTEM_VERSION}, ${CMAKE_SYSTEM_PROCESSOR}")
24
- if (WIN32)
25
- message(STATUS "Windows SDK: ${CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION}")
26
- endif ()
23
+ if(WIN32)
24
+ message(STATUS "Windows SDK: ${CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION}")
25
+ endif()
27
26
 
28
27
  include(cmake/PreventInSourceBuilds.cmake)
29
28
  include(cmake/StandardProjectSettings.cmake)
@@ -52,24 +51,24 @@ include(cmake/StaticAnalyzers.cmake)
52
51
  include(cmake/Backtrace.cmake)
53
52
  enable_sanitizers(project_options)
54
53
 
55
- if (COUCHBASE_CXX_CLIENT_MASTER_PROJECT)
56
- set_project_warnings(project_warnings)
57
- if (WIN32)
58
- add_definitions(-D_WIN32_WINNT=0x0601)
59
- endif ()
60
- endif ()
54
+ if(COUCHBASE_CXX_CLIENT_MASTER_PROJECT)
55
+ set_project_warnings(project_warnings)
56
+ if(WIN32)
57
+ add_definitions(-D_WIN32_WINNT=0x0601)
58
+ endif()
59
+ endif()
61
60
 
62
61
  find_package(Threads REQUIRED)
63
62
 
64
63
  include(cmake/ThirdPartyDependencies.cmake)
65
64
 
66
65
  option(COUCHBASE_CXX_CLIENT_STATIC_STDLIB "Statically link C++ standard library" FALSE)
67
- if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
68
- if (COUCHBASE_CXX_CLIENT_STATIC_STDLIB)
69
- target_compile_options(project_options INTERFACE -static-libgcc -static-libstdc++)
70
- target_link_libraries(project_options INTERFACE -static-libgcc -static-libstdc++)
71
- endif ()
72
- endif ()
66
+ if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
67
+ if(COUCHBASE_CXX_CLIENT_STATIC_STDLIB)
68
+ target_compile_options(project_options INTERFACE -static-libgcc -static-libstdc++)
69
+ target_link_libraries(project_options INTERFACE -static-libgcc -static-libstdc++)
70
+ endif()
71
+ endif()
73
72
 
74
73
  include(cmake/OpenSSL.cmake)
75
74
 
@@ -84,371 +83,345 @@ add_subdirectory(core/tracing)
84
83
  add_subdirectory(core/metrics)
85
84
 
86
85
  set(couchbase_cxx_client_FILES
87
- ${CMAKE_CURRENT_BINARY_DIR}/generated/mozilla_ca_bundle.cxx
88
- core/agent.cxx
89
- core/agent_config.cxx
90
- core/agent_group.cxx
91
- core/agent_group_config.cxx
92
- core/analytics_query_options.cxx
93
- core/bucket.cxx
94
- core/cluster.cxx
95
- core/cluster_agent.cxx
96
- core/cluster_agent_config.cxx
97
- core/cluster_options.cxx
98
- core/collections_component.cxx
99
- core/config_profiles.cxx
100
- core/core_sdk_shim.cxx
101
- core/crud_component.cxx
102
- core/dispatcher.cxx
103
- core/document_id.cxx
104
- core/free_form_http_request.cxx
105
- core/key_value_config.cxx
106
- core/n1ql_query_options.cxx
107
- core/origin.cxx
108
- core/range_scan_options.cxx
109
- core/range_scan_orchestrator.cxx
110
- core/retry_orchestrator.cxx
111
- core/scan_result.cxx
112
- core/search_query_options.cxx
113
- core/seed_config.cxx
114
- core/view_query_options.cxx
115
- core/error_context/key_value.cxx
116
- core/management/analytics_link_azure_blob_external.cxx
117
- core/management/analytics_link_couchbase_remote.cxx
118
- core/management/analytics_link_s3_external.cxx
119
- core/mcbp/big_endian.cxx
120
- core/mcbp/buffer_writer.cxx
121
- core/mcbp/codec.cxx
122
- core/mcbp/command_code.cxx
123
- core/mcbp/operation_consumer.cxx
124
- core/mcbp/operation_queue.cxx
125
- core/mcbp/packet.cxx
126
- core/mcbp/queue_request.cxx
127
- core/mcbp/server_duration.cxx
128
- core/operations/document_analytics.cxx
129
- core/operations/document_append.cxx
130
- core/operations/document_decrement.cxx
131
- core/operations/document_exists.cxx
132
- core/operations/document_get.cxx
133
- core/operations/document_get_and_lock.cxx
134
- core/operations/document_get_and_touch.cxx
135
- core/operations/document_get_projected.cxx
136
- core/operations/document_increment.cxx
137
- core/operations/document_insert.cxx
138
- core/operations/document_lookup_in.cxx
139
- core/operations/document_mutate_in.cxx
140
- core/operations/document_prepend.cxx
141
- core/operations/document_query.cxx
142
- core/operations/document_remove.cxx
143
- core/operations/document_replace.cxx
144
- core/operations/document_search.cxx
145
- core/operations/document_touch.cxx
146
- core/operations/document_unlock.cxx
147
- core/operations/document_upsert.cxx
148
- core/operations/document_view.cxx
149
- core/operations/http_noop.cxx
150
- core/operations/management/analytics_dataset_create.cxx
151
- core/operations/management/analytics_dataset_drop.cxx
152
- core/operations/management/analytics_dataset_get_all.cxx
153
- core/operations/management/analytics_dataverse_create.cxx
154
- core/operations/management/analytics_dataverse_drop.cxx
155
- core/operations/management/analytics_get_pending_mutations.cxx
156
- core/operations/management/analytics_index_create.cxx
157
- core/operations/management/analytics_index_drop.cxx
158
- core/operations/management/analytics_index_get_all.cxx
159
- core/operations/management/analytics_link_connect.cxx
160
- core/operations/management/analytics_link_create.cxx
161
- core/operations/management/analytics_link_disconnect.cxx
162
- core/operations/management/analytics_link_drop.cxx
163
- core/operations/management/analytics_link_get_all.cxx
164
- core/operations/management/analytics_link_replace.cxx
165
- core/operations/management/bucket_create.cxx
166
- core/operations/management/bucket_describe.cxx
167
- core/operations/management/bucket_drop.cxx
168
- core/operations/management/bucket_flush.cxx
169
- core/operations/management/bucket_get.cxx
170
- core/operations/management/bucket_get_all.cxx
171
- core/operations/management/bucket_update.cxx
172
- core/operations/management/change_password.cxx
173
- core/operations/management/cluster_describe.cxx
174
- core/operations/management/cluster_developer_preview_enable.cxx
175
- core/operations/management/collection_create.cxx
176
- core/operations/management/collection_drop.cxx
177
- core/operations/management/collection_update.cxx
178
- core/operations/management/collections_manifest_get.cxx
179
- core/operations/management/error_utils.cxx
180
- core/operations/management/eventing_deploy_function.cxx
181
- core/operations/management/eventing_drop_function.cxx
182
- core/operations/management/eventing_get_all_functions.cxx
183
- core/operations/management/eventing_get_function.cxx
184
- core/operations/management/eventing_get_status.cxx
185
- core/operations/management/eventing_pause_function.cxx
186
- core/operations/management/eventing_resume_function.cxx
187
- core/operations/management/eventing_undeploy_function.cxx
188
- core/operations/management/eventing_upsert_function.cxx
189
- core/operations/management/freeform.cxx
190
- core/operations/management/group_drop.cxx
191
- core/operations/management/group_get.cxx
192
- core/operations/management/group_get_all.cxx
193
- core/operations/management/group_upsert.cxx
194
- core/operations/management/query_index_build.cxx
195
- core/operations/management/query_index_create.cxx
196
- core/operations/management/query_index_drop.cxx
197
- core/operations/management/query_index_get_all.cxx
198
- core/operations/management/query_index_get_all_deferred.cxx
199
- core/operations/management/role_get_all.cxx
200
- core/operations/management/scope_create.cxx
201
- core/operations/management/scope_drop.cxx
202
- core/operations/management/scope_get_all.cxx
203
- core/operations/management/search_get_stats.cxx
204
- core/operations/management/search_index_analyze_document.cxx
205
- core/operations/management/search_index_control_ingest.cxx
206
- core/operations/management/search_index_control_plan_freeze.cxx
207
- core/operations/management/search_index_control_query.cxx
208
- core/operations/management/search_index_drop.cxx
209
- core/operations/management/search_index_get.cxx
210
- core/operations/management/search_index_get_all.cxx
211
- core/operations/management/search_index_get_documents_count.cxx
212
- core/operations/management/search_index_get_stats.cxx
213
- core/operations/management/search_index_upsert.cxx
214
- core/operations/management/user_drop.cxx
215
- core/operations/management/user_get.cxx
216
- core/operations/management/user_get_all.cxx
217
- core/operations/management/user_upsert.cxx
218
- core/operations/management/view_index_drop.cxx
219
- core/operations/management/view_index_get.cxx
220
- core/operations/management/view_index_get_all.cxx
221
- core/operations/management/view_index_upsert.cxx
222
- core/operations/mcbp_noop.cxx
223
- core/protocol/client_request.cxx
224
- core/protocol/client_response.cxx
225
- core/protocol/cmd_append.cxx
226
- core/protocol/cmd_cluster_map_change_notification.cxx
227
- core/protocol/cmd_decrement.cxx
228
- core/protocol/cmd_get.cxx
229
- core/protocol/cmd_get_and_lock.cxx
230
- core/protocol/cmd_get_and_touch.cxx
231
- core/protocol/cmd_get_cluster_config.cxx
232
- core/protocol/cmd_get_collection_id.cxx
233
- core/protocol/cmd_get_collections_manifest.cxx
234
- core/protocol/cmd_get_error_map.cxx
235
- core/protocol/cmd_get_meta.cxx
236
- core/protocol/cmd_get_replica.cxx
237
- core/protocol/cmd_hello.cxx
238
- core/protocol/cmd_increment.cxx
239
- core/protocol/cmd_insert.cxx
240
- core/protocol/cmd_lookup_in.cxx
241
- core/protocol/cmd_lookup_in_replica.cxx
242
- core/protocol/cmd_mutate_in.cxx
243
- core/protocol/cmd_noop.cxx
244
- core/protocol/cmd_observe_seqno.cxx
245
- core/protocol/cmd_prepend.cxx
246
- core/protocol/cmd_remove.cxx
247
- core/protocol/cmd_replace.cxx
248
- core/protocol/cmd_sasl_auth.cxx
249
- core/protocol/cmd_sasl_list_mechs.cxx
250
- core/protocol/cmd_sasl_step.cxx
251
- core/protocol/cmd_select_bucket.cxx
252
- core/protocol/cmd_touch.cxx
253
- core/protocol/cmd_unlock.cxx
254
- core/protocol/cmd_upsert.cxx
255
- core/protocol/frame_info_utils.cxx
256
- core/protocol/status.cxx
257
- core/topology/configuration.cxx
258
- core/utils/binary.cxx
259
- core/utils/connection_string.cxx
260
- core/utils/duration_parser.cxx
261
- core/utils/json.cxx
262
- core/utils/json_streaming_lexer.cxx
263
- core/utils/mutation_token.cxx
264
- core/utils/split_string.cxx
265
- core/utils/url_codec.cxx
266
- core/impl/analytics.cxx
267
- core/impl/search.cxx
268
- core/impl/analytics_error_category.cxx
269
- core/impl/append.cxx
270
- core/impl/best_effort_retry_strategy.cxx
271
- core/impl/boolean_field_query.cxx
272
- core/impl/boolean_query.cxx
273
- core/impl/build_deferred_query_indexes.cxx
274
- core/impl/cluster.cxx
275
- core/impl/common_error_category.cxx
276
- core/impl/configuration_profiles_registry.cxx
277
- core/impl/conjunction_query.cxx
278
- core/impl/create_bucket.cxx
279
- core/impl/create_collection.cxx
280
- core/impl/create_query_index.cxx
281
- core/impl/create_scope.cxx
282
- core/impl/date_range.cxx
283
- core/impl/date_range_facet.cxx
284
- core/impl/date_range_facet_result.cxx
285
- core/impl/date_range_query.cxx
286
- core/impl/decrement.cxx
287
- core/impl/disjunction_query.cxx
288
- core/impl/dns_srv_tracker.cxx
289
- core/impl/drop_bucket.cxx
290
- core/impl/drop_collection.cxx
291
- core/impl/drop_query_index.cxx
292
- core/impl/drop_scope.cxx
293
- core/impl/exists.cxx
294
- core/impl/expiry.cxx
295
- core/impl/fail_fast_retry_strategy.cxx
296
- core/impl/field_level_encryption_error_category.cxx
297
- core/impl/flush_bucket.cxx
298
- core/impl/geo_bounding_box_query.cxx
299
- core/impl/geo_distance_query.cxx
300
- core/impl/geo_polygon_query.cxx
301
- core/impl/get.cxx
302
- core/impl/get_all_buckets.cxx
303
- core/impl/get_all_query_indexes.cxx
304
- core/impl/get_all_replicas.cxx
305
- core/impl/get_all_scopes.cxx
306
- core/impl/get_and_lock.cxx
307
- core/impl/get_and_touch.cxx
308
- core/impl/get_any_replica.cxx
309
- core/impl/get_bucket.cxx
310
- core/impl/get_replica.cxx
311
- core/impl/increment.cxx
312
- core/impl/insert.cxx
313
- core/impl/internal_date_range_facet_result.cxx
314
- core/impl/internal_manager_error_context.cxx
315
- core/impl/internal_numeric_range_facet_result.cxx
316
- core/impl/internal_search_error_context.cxx
317
- core/impl/internal_search_meta_data.cxx
318
- core/impl/internal_search_result.cxx
319
- core/impl/internal_search_row.cxx
320
- core/impl/internal_search_row_locations.cxx
321
- core/impl/internal_term_facet_result.cxx
322
- core/impl/key_value_error_category.cxx
323
- core/impl/key_value_error_context.cxx
324
- core/impl/lookup_in.cxx
325
- core/impl/lookup_in_replica.cxx
326
- core/impl/lookup_in_all_replicas.cxx
327
- core/impl/lookup_in_any_replica.cxx
328
- core/impl/management_error_category.cxx
329
- core/impl/manager_error_context.cxx
330
- core/impl/match_all_query.cxx
331
- core/impl/match_none_query.cxx
332
- core/impl/match_phrase_query.cxx
333
- core/impl/match_query.cxx
334
- core/impl/mutate_in.cxx
335
- core/impl/network_error_category.cxx
336
- core/impl/numeric_range.cxx
337
- core/impl/numeric_range_facet.cxx
338
- core/impl/numeric_range_facet_result.cxx
339
- core/impl/numeric_range_query.cxx
340
- core/impl/observe_poll.cxx
341
- core/impl/observe_seqno.cxx
342
- core/impl/phrase_query.cxx
343
- core/impl/prefix_query.cxx
344
- core/impl/prepend.cxx
345
- core/impl/query.cxx
346
- core/impl/query_error_category.cxx
347
- core/impl/query_error_context.cxx
348
- core/impl/query_string_query.cxx
349
- core/impl/regexp_query.cxx
350
- core/impl/remove.cxx
351
- core/impl/replace.cxx
352
- core/impl/retry_action.cxx
353
- core/impl/retry_reason.cxx
354
- core/impl/search_error_category.cxx
355
- core/impl/streaming_json_lexter_error_category.cxx
356
- core/impl/subdoc/array_add_unique.cxx
357
- core/impl/subdoc/array_append.cxx
358
- core/impl/subdoc/array_insert.cxx
359
- core/impl/subdoc/array_prepend.cxx
360
- core/impl/subdoc/count.cxx
361
- core/impl/subdoc/counter.cxx
362
- core/impl/subdoc/exists.cxx
363
- core/impl/subdoc/get.cxx
364
- core/impl/subdoc/insert.cxx
365
- core/impl/subdoc/join_values.cxx
366
- core/impl/subdoc/lookup_in_macro.cxx
367
- core/impl/subdoc/lookup_in_specs.cxx
368
- core/impl/subdoc/mutate_in_macro.cxx
369
- core/impl/subdoc/mutate_in_specs.cxx
370
- core/impl/subdoc/remove.cxx
371
- core/impl/subdoc/replace.cxx
372
- core/impl/subdoc/upsert.cxx
373
- core/impl/search.cxx
374
- core/impl/search_error_context.cxx
375
- core/impl/search_meta_data.cxx
376
- core/impl/search_result.cxx
377
- core/impl/search_row.cxx
378
- core/impl/search_row_location.cxx
379
- core/impl/search_row_locations.cxx
380
- core/impl/search_sort_field.cxx
381
- core/impl/search_sort_id.cxx
382
- core/impl/search_sort_score.cxx
383
- core/impl/term_facet.cxx
384
- core/impl/term_facet_result.cxx
385
- core/impl/term_query.cxx
386
- core/impl/term_range_query.cxx
387
- core/impl/touch.cxx
388
- core/impl/transaction_error_category.cxx
389
- core/impl/transaction_get_result.cxx
390
- core/impl/transaction_op_error_category.cxx
391
- core/impl/unlock.cxx
392
- core/impl/update_bucket.cxx
393
- core/impl/update_collection.cxx
394
- core/impl/upsert.cxx
395
- core/impl/view_error_category.cxx
396
- core/impl/watch_query_indexes.cxx
397
- core/impl/wildcard_query.cxx
398
- core/io/dns_client.cxx
399
- core/io/dns_config.cxx
400
- core/io/http_parser.cxx
401
- core/io/mcbp_message.cxx
402
- core/io/mcbp_parser.cxx
403
- core/io/mcbp_session.cxx
404
- core/transactions/atr_cleanup_entry.cxx
405
- core/transactions/atr_ids.cxx
406
- core/transactions/attempt_context_impl.cxx
407
- core/transactions/attempt_context_testing_hooks.cxx
408
- core/transactions/binary.cxx
409
- core/transactions/cleanup_testing_hooks.cxx
410
- core/transactions/exceptions.cxx
411
- core/transactions/result.cxx
412
- core/transactions/staged_mutation.cxx
413
- core/transactions/transaction_attempt.cxx
414
- core/transactions/transaction_context.cxx
415
- core/transactions/transaction_get_result.cxx
416
- core/transactions/transaction_links.cxx
417
- core/transactions/transaction_options.cxx
418
- core/transactions/transactions.cxx
419
- core/transactions/transactions_cleanup.cxx
420
- core/transactions/transactions_config.cxx
421
- core/transactions/uid_generator.cxx
422
- core/transactions/utils.cxx)
423
-
424
- if (COUCHBASE_CXX_CLIENT_BUILD_SHARED)
425
- add_library(couchbase_cxx_client SHARED ${couchbase_cxx_client_FILES})
426
- else ()
427
- add_library(couchbase_cxx_client STATIC ${couchbase_cxx_client_FILES})
428
- endif ()
86
+ ${CMAKE_CURRENT_BINARY_DIR}/generated/mozilla_ca_bundle.cxx
87
+ core/agent.cxx
88
+ core/agent_config.cxx
89
+ core/agent_group.cxx
90
+ core/agent_group_config.cxx
91
+ core/analytics_query_options.cxx
92
+ core/bucket.cxx
93
+ core/cluster.cxx
94
+ core/cluster_agent.cxx
95
+ core/cluster_agent_config.cxx
96
+ core/cluster_options.cxx
97
+ core/collections_component.cxx
98
+ core/config_profiles.cxx
99
+ core/core_sdk_shim.cxx
100
+ core/crud_component.cxx
101
+ core/dispatcher.cxx
102
+ core/document_id.cxx
103
+ core/error_context/key_value.cxx
104
+ core/free_form_http_request.cxx
105
+ core/impl/analytics.cxx
106
+ core/impl/analytics_error_category.cxx
107
+ core/impl/analytics_index_manager.cxx
108
+ core/impl/best_effort_retry_strategy.cxx
109
+ core/impl/binary_collection.cxx
110
+ core/impl/boolean_field_query.cxx
111
+ core/impl/boolean_query.cxx
112
+ core/impl/bucket.cxx
113
+ core/impl/bucket_manager.cxx
114
+ core/impl/cluster.cxx
115
+ core/impl/collection.cxx
116
+ core/impl/collection_manager.cxx
117
+ core/impl/common_error_category.cxx
118
+ core/impl/configuration_profiles_registry.cxx
119
+ core/impl/conjunction_query.cxx
120
+ core/impl/date_range.cxx
121
+ core/impl/date_range_facet.cxx
122
+ core/impl/date_range_facet_result.cxx
123
+ core/impl/date_range_query.cxx
124
+ core/impl/disjunction_query.cxx
125
+ core/impl/dns_srv_tracker.cxx
126
+ core/impl/doc_id_query.cxx
127
+ core/impl/expiry.cxx
128
+ core/impl/fail_fast_retry_strategy.cxx
129
+ core/impl/field_level_encryption_error_category.cxx
130
+ core/impl/geo_bounding_box_query.cxx
131
+ core/impl/geo_distance_query.cxx
132
+ core/impl/geo_polygon_query.cxx
133
+ core/impl/get_replica.cxx
134
+ core/impl/internal_date_range_facet_result.cxx
135
+ core/impl/internal_manager_error_context.cxx
136
+ core/impl/internal_numeric_range_facet_result.cxx
137
+ core/impl/internal_search_error_context.cxx
138
+ core/impl/internal_search_meta_data.cxx
139
+ core/impl/internal_search_result.cxx
140
+ core/impl/internal_search_row.cxx
141
+ core/impl/internal_search_row_locations.cxx
142
+ core/impl/internal_term_facet_result.cxx
143
+ core/impl/key_value_error_category.cxx
144
+ core/impl/key_value_error_context.cxx
145
+ core/impl/lookup_in_replica.cxx
146
+ core/impl/management_error_category.cxx
147
+ core/impl/manager_error_context.cxx
148
+ core/impl/match_all_query.cxx
149
+ core/impl/match_none_query.cxx
150
+ core/impl/match_phrase_query.cxx
151
+ core/impl/match_query.cxx
152
+ core/impl/network_error_category.cxx
153
+ core/impl/numeric_range.cxx
154
+ core/impl/numeric_range_facet.cxx
155
+ core/impl/numeric_range_facet_result.cxx
156
+ core/impl/numeric_range_query.cxx
157
+ core/impl/observe_poll.cxx
158
+ core/impl/observe_seqno.cxx
159
+ core/impl/phrase_query.cxx
160
+ core/impl/prefix_query.cxx
161
+ core/impl/query.cxx
162
+ core/impl/query_error_category.cxx
163
+ core/impl/query_error_context.cxx
164
+ core/impl/query_index_manager.cxx
165
+ core/impl/query_string_query.cxx
166
+ core/impl/regexp_query.cxx
167
+ core/impl/retry_action.cxx
168
+ core/impl/retry_reason.cxx
169
+ core/impl/scope.cxx
170
+ core/impl/search.cxx
171
+ core/impl/search_error_category.cxx
172
+ core/impl/search_error_context.cxx
173
+ core/impl/search_index_manager.cxx
174
+ core/impl/search_meta_data.cxx
175
+ core/impl/search_result.cxx
176
+ core/impl/search_row.cxx
177
+ core/impl/search_row_location.cxx
178
+ core/impl/search_row_locations.cxx
179
+ core/impl/search_sort_field.cxx
180
+ core/impl/search_sort_geo_distance.cxx
181
+ core/impl/search_sort_id.cxx
182
+ core/impl/search_sort_score.cxx
183
+ core/impl/streaming_json_lexer_error_category.cxx
184
+ core/impl/subdoc/array_add_unique.cxx
185
+ core/impl/subdoc/array_append.cxx
186
+ core/impl/subdoc/array_insert.cxx
187
+ core/impl/subdoc/array_prepend.cxx
188
+ core/impl/subdoc/count.cxx
189
+ core/impl/subdoc/counter.cxx
190
+ core/impl/subdoc/exists.cxx
191
+ core/impl/subdoc/get.cxx
192
+ core/impl/subdoc/insert.cxx
193
+ core/impl/subdoc/join_values.cxx
194
+ core/impl/subdoc/lookup_in_macro.cxx
195
+ core/impl/subdoc/lookup_in_specs.cxx
196
+ core/impl/subdoc/mutate_in_macro.cxx
197
+ core/impl/subdoc/mutate_in_specs.cxx
198
+ core/impl/subdoc/remove.cxx
199
+ core/impl/subdoc/replace.cxx
200
+ core/impl/subdoc/upsert.cxx
201
+ core/impl/term_facet.cxx
202
+ core/impl/term_facet_result.cxx
203
+ core/impl/term_query.cxx
204
+ core/impl/term_range_query.cxx
205
+ core/impl/transaction_error_category.cxx
206
+ core/impl/transaction_get_result.cxx
207
+ core/impl/transaction_op_error_category.cxx
208
+ core/impl/view_error_category.cxx
209
+ core/impl/wildcard_query.cxx
210
+ core/io/dns_client.cxx
211
+ core/io/dns_config.cxx
212
+ core/io/http_parser.cxx
213
+ core/io/mcbp_message.cxx
214
+ core/io/mcbp_parser.cxx
215
+ core/io/mcbp_session.cxx
216
+ core/key_value_config.cxx
217
+ core/management/analytics_link_azure_blob_external.cxx
218
+ core/management/analytics_link_couchbase_remote.cxx
219
+ core/management/analytics_link_s3_external.cxx
220
+ core/mcbp/big_endian.cxx
221
+ core/mcbp/buffer_writer.cxx
222
+ core/mcbp/codec.cxx
223
+ core/mcbp/command_code.cxx
224
+ core/mcbp/operation_consumer.cxx
225
+ core/mcbp/operation_queue.cxx
226
+ core/mcbp/packet.cxx
227
+ core/mcbp/queue_request.cxx
228
+ core/mcbp/server_duration.cxx
229
+ core/n1ql_query_options.cxx
230
+ core/operations/document_analytics.cxx
231
+ core/operations/document_append.cxx
232
+ core/operations/document_decrement.cxx
233
+ core/operations/document_exists.cxx
234
+ core/operations/document_get.cxx
235
+ core/operations/document_get_and_lock.cxx
236
+ core/operations/document_get_and_touch.cxx
237
+ core/operations/document_get_projected.cxx
238
+ core/operations/document_increment.cxx
239
+ core/operations/document_insert.cxx
240
+ core/operations/document_lookup_in.cxx
241
+ core/operations/document_mutate_in.cxx
242
+ core/operations/document_prepend.cxx
243
+ core/operations/document_query.cxx
244
+ core/operations/document_remove.cxx
245
+ core/operations/document_replace.cxx
246
+ core/operations/document_search.cxx
247
+ core/operations/document_touch.cxx
248
+ core/operations/document_unlock.cxx
249
+ core/operations/document_upsert.cxx
250
+ core/operations/document_view.cxx
251
+ core/operations/http_noop.cxx
252
+ core/operations/management/analytics_dataset_create.cxx
253
+ core/operations/management/analytics_dataset_drop.cxx
254
+ core/operations/management/analytics_dataset_get_all.cxx
255
+ core/operations/management/analytics_dataverse_create.cxx
256
+ core/operations/management/analytics_dataverse_drop.cxx
257
+ core/operations/management/analytics_get_pending_mutations.cxx
258
+ core/operations/management/analytics_index_create.cxx
259
+ core/operations/management/analytics_index_drop.cxx
260
+ core/operations/management/analytics_index_get_all.cxx
261
+ core/operations/management/analytics_link_connect.cxx
262
+ core/operations/management/analytics_link_create.cxx
263
+ core/operations/management/analytics_link_disconnect.cxx
264
+ core/operations/management/analytics_link_drop.cxx
265
+ core/operations/management/analytics_link_get_all.cxx
266
+ core/operations/management/analytics_link_replace.cxx
267
+ core/operations/management/bucket_create.cxx
268
+ core/operations/management/bucket_describe.cxx
269
+ core/operations/management/bucket_drop.cxx
270
+ core/operations/management/bucket_flush.cxx
271
+ core/operations/management/bucket_get.cxx
272
+ core/operations/management/bucket_get_all.cxx
273
+ core/operations/management/bucket_update.cxx
274
+ core/operations/management/change_password.cxx
275
+ core/operations/management/cluster_describe.cxx
276
+ core/operations/management/cluster_developer_preview_enable.cxx
277
+ core/operations/management/collection_create.cxx
278
+ core/operations/management/collection_drop.cxx
279
+ core/operations/management/collection_update.cxx
280
+ core/operations/management/collections_manifest_get.cxx
281
+ core/operations/management/error_utils.cxx
282
+ core/operations/management/eventing_deploy_function.cxx
283
+ core/operations/management/eventing_drop_function.cxx
284
+ core/operations/management/eventing_get_all_functions.cxx
285
+ core/operations/management/eventing_get_function.cxx
286
+ core/operations/management/eventing_get_status.cxx
287
+ core/operations/management/eventing_pause_function.cxx
288
+ core/operations/management/eventing_resume_function.cxx
289
+ core/operations/management/eventing_undeploy_function.cxx
290
+ core/operations/management/eventing_upsert_function.cxx
291
+ core/operations/management/freeform.cxx
292
+ core/operations/management/group_drop.cxx
293
+ core/operations/management/group_get.cxx
294
+ core/operations/management/group_get_all.cxx
295
+ core/operations/management/group_upsert.cxx
296
+ core/operations/management/query_index_build.cxx
297
+ core/operations/management/query_index_create.cxx
298
+ core/operations/management/query_index_drop.cxx
299
+ core/operations/management/query_index_get_all.cxx
300
+ core/operations/management/query_index_get_all_deferred.cxx
301
+ core/operations/management/role_get_all.cxx
302
+ core/operations/management/scope_create.cxx
303
+ core/operations/management/scope_drop.cxx
304
+ core/operations/management/scope_get_all.cxx
305
+ core/operations/management/search_get_stats.cxx
306
+ core/operations/management/search_index_analyze_document.cxx
307
+ core/operations/management/search_index_control_ingest.cxx
308
+ core/operations/management/search_index_control_plan_freeze.cxx
309
+ core/operations/management/search_index_control_query.cxx
310
+ core/operations/management/search_index_drop.cxx
311
+ core/operations/management/search_index_get.cxx
312
+ core/operations/management/search_index_get_all.cxx
313
+ core/operations/management/search_index_get_documents_count.cxx
314
+ core/operations/management/search_index_get_stats.cxx
315
+ core/operations/management/search_index_upsert.cxx
316
+ core/operations/management/user_drop.cxx
317
+ core/operations/management/user_get.cxx
318
+ core/operations/management/user_get_all.cxx
319
+ core/operations/management/user_upsert.cxx
320
+ core/operations/management/view_index_drop.cxx
321
+ core/operations/management/view_index_get.cxx
322
+ core/operations/management/view_index_get_all.cxx
323
+ core/operations/management/view_index_upsert.cxx
324
+ core/origin.cxx
325
+ core/protocol/client_request.cxx
326
+ core/protocol/client_response.cxx
327
+ core/protocol/cmd_append.cxx
328
+ core/protocol/cmd_cluster_map_change_notification.cxx
329
+ core/protocol/cmd_decrement.cxx
330
+ core/protocol/cmd_get.cxx
331
+ core/protocol/cmd_get_and_lock.cxx
332
+ core/protocol/cmd_get_and_touch.cxx
333
+ core/protocol/cmd_get_cluster_config.cxx
334
+ core/protocol/cmd_get_collection_id.cxx
335
+ core/protocol/cmd_get_collections_manifest.cxx
336
+ core/protocol/cmd_get_error_map.cxx
337
+ core/protocol/cmd_get_meta.cxx
338
+ core/protocol/cmd_get_replica.cxx
339
+ core/protocol/cmd_hello.cxx
340
+ core/protocol/cmd_increment.cxx
341
+ core/protocol/cmd_insert.cxx
342
+ core/protocol/cmd_lookup_in.cxx
343
+ core/protocol/cmd_lookup_in_replica.cxx
344
+ core/protocol/cmd_mutate_in.cxx
345
+ core/protocol/cmd_noop.cxx
346
+ core/protocol/cmd_observe_seqno.cxx
347
+ core/protocol/cmd_prepend.cxx
348
+ core/protocol/cmd_remove.cxx
349
+ core/protocol/cmd_replace.cxx
350
+ core/protocol/cmd_sasl_auth.cxx
351
+ core/protocol/cmd_sasl_list_mechs.cxx
352
+ core/protocol/cmd_sasl_step.cxx
353
+ core/protocol/cmd_select_bucket.cxx
354
+ core/protocol/cmd_touch.cxx
355
+ core/protocol/cmd_unlock.cxx
356
+ core/protocol/cmd_upsert.cxx
357
+ core/protocol/frame_info_utils.cxx
358
+ core/protocol/status.cxx
359
+ core/range_scan_options.cxx
360
+ core/range_scan_orchestrator.cxx
361
+ core/retry_orchestrator.cxx
362
+ core/scan_result.cxx
363
+ core/search_query_options.cxx
364
+ core/seed_config.cxx
365
+ core/topology/configuration.cxx
366
+ core/transactions/active_transaction_record.cxx
367
+ core/transactions/async_attempt_context.cxx
368
+ core/transactions/atr_cleanup_entry.cxx
369
+ core/transactions/atr_ids.cxx
370
+ core/transactions/attempt_context.cxx
371
+ core/transactions/attempt_context_impl.cxx
372
+ core/transactions/attempt_context_testing_hooks.cxx
373
+ core/transactions/binary.cxx
374
+ core/transactions/cleanup_testing_hooks.cxx
375
+ core/transactions/exceptions.cxx
376
+ core/transactions/internal/doc_record.cxx
377
+ core/transactions/result.cxx
378
+ core/transactions/staged_mutation.cxx
379
+ core/transactions/transaction_attempt.cxx
380
+ core/transactions/transaction_context.cxx
381
+ core/transactions/transaction_get_result.cxx
382
+ core/transactions/transaction_keyspace.cxx
383
+ core/transactions/transaction_links.cxx
384
+ core/transactions/transaction_options.cxx
385
+ core/transactions/transactions.cxx
386
+ core/transactions/transactions_cleanup.cxx
387
+ core/transactions/transactions_config.cxx
388
+ core/transactions/uid_generator.cxx
389
+ core/transactions/utils.cxx
390
+ core/utils/binary.cxx
391
+ core/utils/connection_string.cxx
392
+ core/utils/duration_parser.cxx
393
+ core/utils/json.cxx
394
+ core/utils/json_streaming_lexer.cxx
395
+ core/utils/mutation_token.cxx
396
+ core/utils/split_string.cxx
397
+ core/utils/url_codec.cxx
398
+ core/view_query_options.cxx)
399
+
400
+ if(COUCHBASE_CXX_CLIENT_BUILD_SHARED)
401
+ add_library(couchbase_cxx_client SHARED ${couchbase_cxx_client_FILES})
402
+ else()
403
+ add_library(couchbase_cxx_client STATIC ${couchbase_cxx_client_FILES})
404
+ endif()
429
405
  set_target_properties(couchbase_cxx_client PROPERTIES POSITION_INDEPENDENT_CODE ON)
430
406
 
431
407
  target_include_directories(couchbase_cxx_client PRIVATE ${PROJECT_BINARY_DIR}/generated)
432
408
  target_include_directories(couchbase_cxx_client PUBLIC ${PROJECT_SOURCE_DIR} ${PROJECT_SOURCE_DIR}/private)
433
- target_include_directories(
434
- couchbase_cxx_client SYSTEM
435
- PUBLIC
436
- ${PROJECT_SOURCE_DIR}/third_party/cxx_function
437
- ${PROJECT_SOURCE_DIR}/third_party/expected/include)
409
+ target_include_directories(couchbase_cxx_client SYSTEM PUBLIC ${PROJECT_SOURCE_DIR}/third_party/cxx_function
410
+ ${PROJECT_SOURCE_DIR}/third_party/expected/include)
438
411
  target_link_libraries(couchbase_cxx_client PRIVATE project_options project_warnings)
439
412
 
440
413
  include(cmake/DetectStandardFilesystem.cmake)
441
414
  couchbase_cxx_check_filesystem(
442
- couchbase_cxx_client
443
- "filesystem"
444
- "std::filesystem"
445
- "stdc++fs;c++fs"
446
- STD_FILESYSTEM)
447
- if (STD_FILESYSTEM)
448
- message(STATUS "Using std::filesystem")
449
- else ()
450
- message(FATAL_ERROR "Couchbase C++ Client requires C++17, including an implementation of std::filesystem.")
451
- endif ()
415
+ couchbase_cxx_client
416
+ "filesystem"
417
+ "std::filesystem"
418
+ "stdc++fs;c++fs"
419
+ STD_FILESYSTEM)
420
+ if(STD_FILESYSTEM)
421
+ message(STATUS "Using std::filesystem")
422
+ else()
423
+ message(FATAL_ERROR "Couchbase C++ Client requires C++17, including an implementation of std::filesystem.")
424
+ endif()
452
425
 
453
426
  target_link_libraries(
454
427
  couchbase_cxx_client
@@ -473,48 +446,48 @@ target_link_libraries(
473
446
  jsonsl
474
447
  hdr_histogram_static)
475
448
 
476
- if (WIN32)
477
- target_link_libraries(couchbase_cxx_client PRIVATE iphlpapi)
478
- endif ()
479
-
480
- if (NOT COUCHBASE_CXX_CLIENT_POST_LINKED_OPENSSL)
481
- if (TARGET PkgConfig::PKG_CONFIG_OPENSSL)
482
- target_link_libraries(couchbase_cxx_client PUBLIC PkgConfig::PKG_CONFIG_OPENSSL)
483
- else ()
484
- target_link_libraries(couchbase_cxx_client PUBLIC OpenSSL::SSL OpenSSL::Crypto)
485
- endif ()
486
- endif ()
487
-
488
- if (COUCHBASE_CXX_CLIENT_STATIC_BORINGSSL)
489
- if(COUCHBASE_CXX_CLIENT_USE_BORINGSSL_PREFIX)
490
- target_compile_definitions(couchbase_cxx_client PUBLIC BORINGSSL_PREFIX=${COUCHBASE_CXX_CLIENT_BORINGSSL_PREFIX})
491
- endif()
492
- if(WIN32 AND NOT CMAKE_MSVC_RUNTIME_LIBRARY)
493
- # BoringSSL uses the /MD compile flag, so we need to do the same
494
- set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL")
495
- message(STATUS "CMAKE_MSVC_RUNTIME_LIBRARY=${CMAKE_MSVC_RUNTIME_LIBRARY}")
496
- endif()
497
- if (MINGW)
498
- target_link_libraries(couchbase_cxx_client PUBLIC ws2_32)
499
- endif()
449
+ if(WIN32)
450
+ target_link_libraries(couchbase_cxx_client PRIVATE iphlpapi)
451
+ endif()
452
+
453
+ if(NOT COUCHBASE_CXX_CLIENT_POST_LINKED_OPENSSL)
454
+ if(TARGET PkgConfig::PKG_CONFIG_OPENSSL)
455
+ target_link_libraries(couchbase_cxx_client PUBLIC PkgConfig::PKG_CONFIG_OPENSSL)
456
+ else()
457
+ target_link_libraries(couchbase_cxx_client PUBLIC OpenSSL::SSL OpenSSL::Crypto)
458
+ endif()
459
+ endif()
460
+
461
+ if(COUCHBASE_CXX_CLIENT_STATIC_BORINGSSL)
462
+ if(COUCHBASE_CXX_CLIENT_USE_BORINGSSL_PREFIX)
463
+ target_compile_definitions(couchbase_cxx_client PUBLIC BORINGSSL_PREFIX=${COUCHBASE_CXX_CLIENT_BORINGSSL_PREFIX})
464
+ endif()
465
+ if(WIN32 AND NOT CMAKE_MSVC_RUNTIME_LIBRARY)
466
+ # BoringSSL uses the /MD compile flag, so we need to do the same
467
+ set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL")
468
+ message(STATUS "CMAKE_MSVC_RUNTIME_LIBRARY=${CMAKE_MSVC_RUNTIME_LIBRARY}")
469
+ endif()
470
+ if(MINGW)
471
+ target_link_libraries(couchbase_cxx_client PUBLIC ws2_32)
472
+ endif()
500
473
  endif()
501
474
 
502
475
  option(COUCHBASE_CXX_CLIENT_BUILD_TESTS "Build test programs" ${COUCHBASE_CXX_CLIENT_MASTER_PROJECT})
503
- if (COUCHBASE_CXX_CLIENT_BUILD_TESTS)
504
- include(cmake/Testing.cmake)
505
- endif ()
476
+ if(COUCHBASE_CXX_CLIENT_BUILD_TESTS)
477
+ include(cmake/Testing.cmake)
478
+ endif()
506
479
 
507
480
  option(COUCHBASE_CXX_CLIENT_BUILD_DOCS "Build API documentation" ${COUCHBASE_CXX_CLIENT_MASTER_PROJECT})
508
- if (COUCHBASE_CXX_CLIENT_BUILD_DOCS)
509
- include(cmake/Documentation.cmake)
510
- endif ()
481
+ if(COUCHBASE_CXX_CLIENT_BUILD_DOCS)
482
+ include(cmake/Documentation.cmake)
483
+ endif()
511
484
 
512
485
  option(COUCHBASE_CXX_CLIENT_BUILD_EXAMPLES "Build example programs" ${COUCHBASE_CXX_CLIENT_MASTER_PROJECT})
513
- if (COUCHBASE_CXX_CLIENT_BUILD_EXAMPLES)
514
- add_subdirectory(examples)
515
- endif ()
486
+ if(COUCHBASE_CXX_CLIENT_BUILD_EXAMPLES)
487
+ add_subdirectory(examples)
488
+ endif()
516
489
 
517
490
  option(COUCHBASE_CXX_CLIENT_BUILD_TOOLS "Build tools" ${COUCHBASE_CXX_CLIENT_MASTER_PROJECT})
518
- if (COUCHBASE_CXX_CLIENT_BUILD_TOOLS)
519
- add_subdirectory(tools)
520
- endif ()
491
+ if(COUCHBASE_CXX_CLIENT_BUILD_TOOLS)
492
+ add_subdirectory(tools)
493
+ endif()