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

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 2.1.0
    • Affects Version/s: None
    • Component/s: Build
    • None
    • Environment:
      Used by Windows Visual Studio, but affects the SCons build and commands like "git status" on all platforms
    • None
    • 0
    • None
    • None
    • None
    • None
    • None
    • None

      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.

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

              Created:
              Updated:
              Resolved: