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

Add a NINJA_PREFIX option for the generate-ninja target

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.4
    • Affects Version/s: None
    • Component/s: Build
    • Labels:
      None
    • Fully Compatible
    • Dev Platform 2020-02-24

      Adding a NINJA_PREFIX scons option would add more flexibility to the ninja filename that scons generates.

      The default value would be build. I believe the intention is that the following combinations would generate the following files:

      • NINJA_PREFIX=optimized -> optimized.ninja
      • NINJA_SUFFIX=optimized -> build.ninja.optimized
      • NINJA_PREFIX=prefix NINJA_SUFFIX=suffix -> prefix.ninja.suffix (I personally have no use case for this, just my understanding)

      Side note: I believe the Generating: build.ninja line output near the end of the generate-ninja target does not currently factor in the suffix.

            Assignee:
            mathew.robinson@mongodb.com Mathew Robinson (Inactive)
            Reporter:
            daniel.gottlieb@mongodb.com Daniel Gottlieb (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: