>> Would TARGETNAME_autogen/moc_compilation_$.cpp work with the
>> current state of VS and XCode? The file name is pretty much unique.
>
> Yes, though some work would still be needed to add the right exclusion
> code to Xcode.
Good, I'll stick with that name then.
For the rcc generated files
On 05/16/2017 10:18 AM, Sebastian Holtermann wrote:
> I thought per configuration source were supported already :/.
They are supported by Makefile and Ninja generators but not by others.
> Would TARGETNAME_autogen/moc_compilation_$.cpp work with the
> current state of VS and XCode? The file name
Am 16.05.2017 um 15:11 schrieb Brad King:
> On 05/16/2017 05:52 AM, Sebastian Holtermann wrote:
>> There are two ways to achieve this
>> 1) Put TARGETNAME_autogen/$/moc_compilation.cpp
>>into AUTOGEN_SOURCE_GROUP
>>- Requires gen. exp. support in source_group
>>
>> 2) Manually replace $
On 05/16/2017 05:52 AM, Sebastian Holtermann wrote:
> There are two ways to achieve this
> 1) Put TARGETNAME_autogen/$/moc_compilation.cpp
>into AUTOGEN_SOURCE_GROUP
>- Requires gen. exp. support in source_group
>
> 2) Manually replace $ for all configurations and put all
>variants
Hi, I'm working on a fix for
https://gitlab.kitware.com/cmake/cmake/issues/16460
which requires putting a generator expression into a source group,
namely $
The background is that
TARGETNAME_autogen/$/moc_compilation.cpp (and others)
should go into the source_group AUTOGEN_SOURCE_GROUP.
There