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

Add support for emitting a compilation database from SCons

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.1.2
    • Affects Version/s: None
    • Component/s: Build
    • None
    • Fully Compatible
    • Platform 2 04/24/15

      Some build systems like Ninja offer support for emitting a compilation database (see http://clang.llvm.org/docs/JSONCompilationDatabase.html), which can be consumed by clang tools like clang-modernize and clang-tidy. We currently cannot easily use these tools because we cannot produce a compilation database.

      We should write a scons tool that lets us emit a compilation database. Producing the database should not require actually compiling any files.

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

              Created:
              Updated:
              Resolved: