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

CMake presets: Overriding condition does not work properly

    XMLWordPrintable

Details

    • 3aec6b776 (10.0)

    Description

      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.

      Attachments

        For Gerrit Dashboard: QTCREATORBUG-29077
        # Subject Branch Project Status CR V

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes