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

Switching between CMake build targets cleared Arguement

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • Qt Creator 2.1.0
    • Qt Creator 1.3.85 (2.0.0-rc1)
    • None
    • debian testing amd64, kde 4.4.3, qt 4.6.2

    Description

      I have a huge project based on CMakeLists.txt. There are several build targets defined in it different in what files must be included. For example, assume we have two targets (T1 and T2) and next three folders: Common, P1 and P2, where P1 and P2 contains specific source files for corresponding targets and Common contains common files for both targets.

      In my working directory I created two folders for T1 and T2. Then I open CMakeList.txt in Qtc and create T1 in CMake dialog. After setting some options (choose run configuration in Project->Run Settings->Run configuration and specify an argument in Projects->Run Settings->Argument) I add build
      configuration for T2 and make the same steps for T2 target (except Argument). Thereby I have one CMake projects with two targets, OK now.

      Problem: when I switching between targets, Argument cleared. Also, "Custom target" added and installed in Run configuration. The last isn't so bad – it can be simply removed. But first is very inconvenient!

      Attachments

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

        Activity

          People

            dt Daniel Teske
            genacid gena
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes