[Qt-creator] Fwd: can't parse cmake project

Gena Bug archaerolog at mail.ru
Wed Apr 1 10:44:13 CEST 2020


On 31.03.2020 17:04, Tobias Hunger wrote:
> On Tue, Mar 31, 2020 at 3:42 PM Gena Bug <archaerolog at mail.ru> wrote:
>> Yep, that is indeed what I want. The use-case is next: framework with
>> several related but indepented projects share some common
>> libraries/tools. There is no primary target thus none is build by
>> default, a user must explicitly define which one to build.
> 
> So there are targets, it is just that none is built by default?
> 
> Do you have to set some CMake "BUILD_TARGET_FOO" variables and the
> target definitions are hidden in an "if (BUILD_TARGET_FOO)...endif()"?
Yep, that's right.

> Best Regards,
> Tobias
> .
> 


More information about the Qt-creator mailing list