Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-2751

Distribution list does not correctly handle VERSION_CURRENT options

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 3.9.0
    • Affects Version/s: None
    • Component/s: None
    • None

      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).

            Assignee:
            ezra.chung@mongodb.com Ezra Chung
            Reporter:
            ezra.chung@mongodb.com Ezra Chung
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: