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

Kit generated from CMake Preset does not respect build folder setting

    XMLWordPrintable

Details

    • macOS
    • 7f1e16172 (13.0)

    Description

      Summary

      Kits generated from CMake Presets do not respect `binaryDir` setting

      Expected Behaviour

      All kits imported from a CMake preset where the `binaryDir` value as set, should set the corresponding Build Folder correctly

      Actual Behaviour

      Some kits respect the `binaryDir` setting, otherse use a generated build folder outside of the repository (see screenshot)

      Steps to reproduce

      Extract the attached archive and load the corresponding CMake Project. All of the provided presets define `binaryDir` by inheriting from a default preset, but the value is only respected for some presets.

      Attachments

        1. Screenshot 2024-01-25 at 15.23.25.png
          40 kB
          Andrew Marshall
        2. test-qtcreator-cmake.tar.gz
          2 kB
          Andrew Marshall
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            cadam Cristian Adam
            andrew.marshall3 Andrew Marshall
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes