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

CMake presets: Overriding condition does not work properly

XMLWordPrintable

    • 3aec6b776 (10.0)

      Given the following CMakePresets.json file

      {
        "version": 3,
        "configurePresets": [
          {
            "name": "deactivated",
            "condition": {
                "type": "const",
                "value": false
            }
          },
          {
            "name": "activated",
            "inherits": "deactivated",
            "condition": {
                "type": "const",
                "value": true
            }
          }
        ]
      }

      QtCreator does not show the activated preset.

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

            cadam Cristian Adam
            berglerma Manuel Bergler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes