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

cmake buildPresets are not being honoured

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 17.0.0
    • None

      When using a cmake presets file the usual (minimal) Json sections are the "configurePresets" and "buildPresets".

      Whilst Qt Creator appears to be parsing the "configurePresets" it does not appear to be parsing the "buildPresets".
      Instead, it appears to be making available the `CMAKE_CONFIGURATON_TYPES` from the "configurePresets" as target configurations.

      This can be reproduced by using the Ninja Multiconfig example from: https://doc.qt.io/qtcreator/creator-build-settings-cmake-presets.html (but see QTCREATORBUG-33274).
      The named "buildPresets" specified in that example are not created.  The "buildPresets" section can even be removed and the same configuration will be created.

       

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

            cadam Cristian Adam
            chardrazle Richard Hazlewood
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes