Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-25962

CMake Build: Minimize relinking when working on Utils library

    XMLWordPrintable

    Details

    • Platform/s:
      Linux/X11, Windows
    • Commits:
      dbb5ab932c678f7468f345f3b49f5213ce6b9f96 (qt-creator/qt-creator/5.0)

      Description

      Given the example:

      CMake: 
      touch src/libs/utils/fileutils.cpp && time ninja
      real 0m35.897s,  user 2m0.259s, sys 0m14.721s
      rebuilds/links 113 items
      	
      qmake: 
      touch src/libs/utils/fileutils.cpp && time make
      real 0m5.543s, user 0m15.645s, sys 0m1.023s
      rebuilds/links 4 items
      

      The CMake build of Qt Creator should be as fast as the qmake build of Qt Creator.

        Attachments

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

          Activity

            People

            Assignee:
            con Eike Ziller
            Reporter:
            cadam Cristian Adam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes