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

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

      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.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:

                There are no open Gerrit changes