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

Create a forceincludes scons tool

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.0.0-rc0
    • None
    • Build
    • None
    • Fully Compatible
    • 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

        Activity

          People

            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: