[cmake-developers] Cmake-server question

Tobias Hunger tobias.hunger at gmail.com
Thu Feb 15 10:37:43 EST 2018


On Thu, Feb 15, 2018 at 3:18 PM, Ben Boeckel <ben.boeckel at kitware.com> wrote:
> On Wed, Feb 14, 2018 at 19:19:39 +0100, Paweł Rutka wrote:
>> I would like to ask about some important feature:
>> Is there any possibility to provide form Cmake Server side location of
>> command that generate the target? The Use Case is as follow:
>> In IDE you want  to, after Class creation, automatically add CPP file into
>> proper add_executable or extend some variable passed to  add_executable or
>> any other case that lead to target creation.
>
> Note that this is a very hard problem. Take the following examples:

I am very aware that adding files to cmake targets is a hard
problem:-/ That's why Creator does not even try to do it. It is bound
to do it wrong and thus users can not trust the functionality.

If there is any chance to solve this problem, then inside cmake. At
least you and your code do fully understand the cmake language.

Best Regards,
Tobias


More information about the cmake-developers mailing list