Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-120225

Create an internal CMake code style guideline and enforce it with cmake-format or other tooling

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.7.0
    • Build System: CMake
    • None
    • 573778de6 (dev)

    Description

      We have quite a bit of CMake code in the code base.
      Most of the code follows a loose code style in qtbase, and deviates quite a bit in other leaf repos.

      We sometimes get internal and external contributors who are not familiar with the de-facto style and require some help.

      It would be beneficial to have an official code style that we can point to.
      Even better if we can automatically enforce and rewrite it with a tool.

      Attachments

        For Gerrit Dashboard: QTBUG-120225
        # Subject Branch Project Status CR V

        Activity

          People

            qtbuildsystem Qt Build System Team
            alexandru.croitor Alexandru Croitor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes