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

Developers shouldn't need to deal with shim_foo.cpp files

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Backlog
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Build
    • Labels:
      None

      Description

      They are really just a solution to library building tools not liking libraries with no files. This should be handled as an internal detail of the build system rather than making it the responsibility of every developer to know about this limitation.

      Possible options to address this (non-exhaustive):

      • Make Library() auto generate shim files as needed when a "library" has no source files
      • Make the LIBDEPS logic deal with these "libraries" by eliminating them from the dependency graph that scons is aware of and just propagate their LIBDEPS onward.

        Attachments

          Activity

            People

            Assignee:
            backlog-server-devplatform Backlog - Server Development Platform Team (SDP)
            Reporter:
            redbeard0531 Mathias Stearn
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: