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

Establish a canonical location of VERSION_CURRENT file in project root directory

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Unknown Unknown
    • None
    • None
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: