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

CMake Build: Minimize relinking when working on Utils library

    XMLWordPrintable

Details

    • Linux/X11, Windows
    • 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

        1. appandlib.zip
          1 kB
          Eike Ziller

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: