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

Can't enable LTCG for cmake builds

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 6.0.0 Beta1
    • Fix Version/s: None
    • Component/s: Build System: CMake
    • Labels:

      Description

      I'm using the latest dev branch.
      I have passed "-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON" to cmake when configure, however, I still got the "Using LTCG ............................. no" message when the configuring is done.

      UPDATE:
      After configuration, I opened the generated build.ninja file, and found that the /GL and /LTCG parameters are correctly set. It seems that the summary of configuration is not correct.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              jbornema Joerg Bornemann
              Reporter:
              wangwenx190 赵 宇航
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes