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

changing cmake variable while generating cmake project

    XMLWordPrintable

Details

    Description

      If you modify a cmake variable while qtcreator is configuring/generating the cmake project ('apply configuration changes' button), the generation does not stop, the variable modification is not taken into account (nothing surprising) BUT the project configuration is modified, and you cannot change the variable from the gui anymore.

      The only solution I found was to edit manually both CMakeLists.txt.user and CMakeCache.txt to change the variable. Then everything goes back in order.

      Locking cmake variables while generating the project can be a solution.

      I am surprised that CMakeLists.txt.user is storing these informations as they are redundant with the CMakeCache.txt, is it really necessary?

       

       

       

       

      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