Add a NINJA_PREFIX option for the generate-ninja target

XMLWordPrintableJSON

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

      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 (Inactive)
              Reporter:
              Daniel Gottlieb (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: