@@ -201,6 +201,12 @@ set(mongocxx_sources_v1
201201 mongocxx/v1/write_concern.cpp
202202)
203203
204+ file (GLOB_RECURSE mongocxx_headers
205+ RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
206+ CONFIGURE_DEPENDS
207+ "*.hh"
208+ )
209+
204210list (APPEND mongocxx_sources
205211 ${mongocxx_sources_private}
206212 ${mongocxx_sources_v_noabi}
@@ -254,44 +260,8 @@ set_dist_list(src_mongocxx_lib_DIST
254260 ${mongocxx_sources_private}
255261 ${mongocxx_sources_v_noabi}
256262 ${mongocxx_sources_v1}
263+ ${mongocxx_headers}
257264 mongocxx/private /config/config.hh.in
258- mongocxx/private /export.hh
259- mongocxx/private /mock.hh
260- mongocxx/private /mongoc.hh
261- mongocxx/private /numeric_casting.hh
262- mongocxx/private /scoped_bson_value.hh
263- mongocxx/private /scoped_bson.hh
264- mongocxx/private /ssl.hh
265- mongocxx/private /utility.hh
266- mongocxx/v_noabi/mongocxx/append_aggregate_options.hh
267- mongocxx/v_noabi/mongocxx/bulk_write.hh
268- mongocxx/v_noabi/mongocxx/change_stream.hh
269- mongocxx/v_noabi/mongocxx/client_encryption.hh
270- mongocxx/v_noabi/mongocxx/client_session.hh
271- mongocxx/v_noabi/mongocxx/client.hh
272- mongocxx/v_noabi/mongocxx/collection.hh
273- mongocxx/v_noabi/mongocxx/conversions.hh
274- mongocxx/v_noabi/mongocxx/cursor.hh
275- mongocxx/v_noabi/mongocxx/database.hh
276- mongocxx/v_noabi/mongocxx/gridfs/bucket.hh
277- mongocxx/v_noabi/mongocxx/gridfs/downloader.hh
278- mongocxx/v_noabi/mongocxx/gridfs/uploader.hh
279- mongocxx/v_noabi/mongocxx/index_view.hh
280- mongocxx/v_noabi/mongocxx/mongoc_error.hh
281- mongocxx/v_noabi/mongocxx/options /apm.hh
282- mongocxx/v_noabi/mongocxx/options /server_api.hh
283- mongocxx/v_noabi/mongocxx/options /tls.hh
284- mongocxx/v_noabi/mongocxx/options /transaction.hh
285- mongocxx/v_noabi/mongocxx/pipeline.hh
286- mongocxx/v_noabi/mongocxx/pool.hh
287- mongocxx/v_noabi/mongocxx/read_concern.hh
288- mongocxx/v_noabi/mongocxx/read_preference.hh
289- mongocxx/v_noabi/mongocxx/scoped_bson.hh
290- mongocxx/v_noabi/mongocxx/search_index_model.hh
291- mongocxx/v_noabi/mongocxx/search_index_view.hh
292- mongocxx/v_noabi/mongocxx/uri.hh
293- mongocxx/v_noabi/mongocxx/write_concern.hh
294265 mongocxx/v1/config/config.hpp.in
295266 mongocxx/v1/config/version .hpp.in
296- mongocxx/v1/exception.hh
297267)
0 commit comments