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

Can't enable LTCG for cmake builds

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes