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

too many calls to cmake

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • Qt Creator 4.9.2
    • None
    • cmake 3.12.0
      ubuntu 18.04
      Qt 5.12.4
    • Linux/X11

    Description

      Hi,

       

      when changing cmake variables in 'projects/build settings', you have to click on 'Apply Configuration Changes', this runs cmake with an output in the 'General Messages' tab on the bottom. Everything is fine, the cmake project is well generated 'Configuring done / Generating done / CMake Project was parsed successfully.'

      Then when running a compilation ('Build'), cmake is run again, this time its output is shown in the 'Compile Output' tab. This is the extra unneeded call to cmake.

      After that, any new build won't call extra cmake (as long as cmake configuration did not change of course).

      Why there is this extra call to cmake for the first build? Everything should be up-to-date on that side.

       

      My cmake project is huge, and it takes about one minute to be generated, it is a pin in the ass!

       

      Thank you for your help.

      Attachments

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

        Activity

          People

            hunger Tobias Hunger
            mattn mattn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes