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

CMake presets: Boolean cache variables interpreted as strings

    XMLWordPrintable

Details

    • fa5c35266 (10.0)

    Description

      Given the following CMakePresets.json file

      {
        "version": 3,
        "configurePresets": [
          {
            "name": "test",
            "cacheVariables": {
                "FOO": true
            }
          }
        ]
      }

      QtCreator configures the project with "-DFOO:STRING=" instead of "-DFOO:BOOLEAN=TRUE".

      Attachments

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

        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