Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-8609

Enable detection of C++ driver version via header inspection without compiling.

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Internal Client

    Description

      Currently there is no way to determine by inspection of the version.h header what version of the C++ driver is being used if only the headers and library are available. The only way to do so it is to compile a test file and link it against the library.

      It would be good to have a version identifier in the header that can be extracted without needing to compile the header or link against the client library (like with grep). This would make it trivial to write a FindMongoClient analogue of FindBoost in CMake, for instance.

      Attachments

        Activity

          People

            Unassigned Unassigned
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: