[CXX-2751] Distribution list does not correctly handle VERSION_CURRENT options Created: 12/Sep/23  Updated: 28/Oct/23  Resolved: 13/Sep/23

Status: Closed
Project: C++ Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 3.9.0

Type: Bug Priority: Unknown
Reporter: Ezra Chung Assignee: Ezra Chung
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by CXX-2753 Refactor directory structure to allow... Closed
Related
related to CXX-2752 Establish a canonical location of VER... Backlog

 Description   

The VERSION_CURRENT file used by the CXX Driver may be one of three options per this block of code (as of 2023-09-12):

  1. None (BUILD_VERSION is set).
  2. ${CMAKE_BINARY_DIR}/VERSION_CURRENT
  3. ${PROJECT_SOURCE_DIR}/build/VERSION_CURRENT{}

However, the list of distribution files that are specified as dependencies of the dist target is hard-coded to unconditionally include build/VERSION_CURRENT in the list of files (corresponding to option 2 above).



 Comments   
Comment by Githook User [ 13/Sep/23 ]

Author:

{'name': 'Ezra Chung', 'email': '88335979+eramongodb@users.noreply.github.com', 'username': 'eramongodb'}

Message: CXX-2751 Fix reference to VERSION_CURRENT file in distribution list (#1020)
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/b133ac58aba263fc270901d67dba9fe0db3de229

Generated at Wed Feb 07 22:06:55 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.