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

Create a forceincludes scons tool

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0.0
    • Component/s: Build
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Dev Platform 2021-05-17

      Description

      All of the compilers we use offer a means to force the inclusion of a header: MSVC has /FI and GCC/clang offer -include.

      We can produce a SCons tool to automate injecting a forced header correctly based on toolchain, and to also inject the necessary dependency edges to ensure that targets are rebuilt when the force included header changes, since the normal scons implicit dependency scanning will not note the dependency.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              acm Andrew Morrow
              Reporter:
              acm Andrew Morrow
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: