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

Establish a canonical location of VERSION_CURRENT file in project root directory

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      The VERSION_CURRENT file is currently allowed to be specified as one of three options:

      1. None: BUILD_VERSION is set directly.
      2. ${PROJECT_SOURCE_DIR}/build/VERSION_CURRENT if (1) was not satisfied.
      3. ${CMAKE_BINARY_DIR}/VERSION_CURRENT, either already existing or generated by etc/calc_release_version.py, when (2) is not satisfied.

      The placement of VERSION_CURRENT under ./build is unusual. We should consider moving it (2) into the root directory, and also move the location of the generated file (3) to the root directory as well, for consistency.

      Consider also ensuring the VERSION_CURRENT file is generated if BUILD_VERSION is set manually.

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

              Created:
              Updated: