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

Add support for emitting a compilation database from SCons

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.1.2
    • None
    • Build
    • None
    • Fully Compatible
    • Platform 2 04/24/15

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: