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

Allow customization of other SCons Env vars when injecting a third party library

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Build
    • None
    • Server Development Platform
    • Fully Compatible

    Description

      Currently we have a facility for attaching the necessary include path for a specific third_party library. This allows us to shrink the include path for many parts of the build.

      However, sometimes our third party libraries also require certain preprocessor definitions to be set. PCRE_STATIC is a notable example.

      If we had a way to inject more than just the include path, but other arbitrary variables, then we could scope these preprocessor defines only to the subset of source files that require them, just as we do with the include paths.

      Attachments

        Activity

          People

            backlog-server-devplatform [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive)
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: