Details
-
Bug
-
Resolution: Done
-
P2: Important
-
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!