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

Add Visual Studio pre-build steps so we can eliminate mongo_vstudio.cpp

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Trivial - P5 Trivial - P5
    • 2.1.0
    • None
    • Build
    • None
    • Used by Windows Visual Studio, but affects the SCons build and commands like "git status" on all platforms

    Description

      SConstruct has code to create .cpp code based on JavaScript source files, but the Visual Studio build projects don't have a matching feature. The workaround of having SConstruct create a mongo_vstudio.cpp file is kind of clumsy. We can simplify things a little by adding a pre-build step to the Visual Studio solution/project files to do what the jsToH routine in Sconstruct does and then drop mongo_vstudio.cpp from the repository.

      Attachments

        Activity

          People

            tad Tad Marshall
            tad Tad Marshall
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: