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

Can't enable LTCG for cmake builds

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • None
    • 6.0.0 Beta1
    • Build System: CMake

    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

              jbornema Joerg Bornemann
              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