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

Change default CMAKE_BUILD_TYPE to Release

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • None
    • None
    • Build System: CMake

      Currently QtSetup.cmake checks if there's a ".git" dir and defaults to CMAKE_BUILD_TYPE=Debug in such a case.

      That's kinda weird considering it somewhat overlaps with FEATURE_developer_build.

      We should probably remove the .git check, and just default to Release.

      Explicitly opting into FEATURE_developer_build should set it to Debug.

      This may or may not have some consequences in the CI, per-repo builds, and standalone tests builds.

      So care should be taken to check all those cases.

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

            semlanik Alexey Edelev
            alexandru.croitor Alexandru Croitor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes