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

cmake: Build configuration type doesnt influence CMake variables

    XMLWordPrintable

Details

    Description

      cmake 3.18, Ubuntu 20.04

      Choosing Projects->Build Settings -> Edit build configuration wont change CMake variables.

      For example: Edit build configuration -> Release

      Would have

      • CMAKE_BUILD_TYPE is empty

       Only when Initial CMake parameters contains

      -DCMAKE_BUILD_TYPE:STRING=Debug/Release before loading the project, is the CMAKE_BUILD_TYPE set as it should be.

       

      Changing the build configuration should change the CMAKE_BUILD_TYPE as well.

       

      Attachments

        Activity

          People

            cadam Cristian Adam
            proturm2 Pro Turm
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: