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 $<CONFIG>
The background is that TARGETNAME_autogen/$<CONFIG>/moc_compilation.cpp (and others) should go into the source_group AUTOGEN_SOURCE_GROUP. There are two ways to achieve this 1) Put TARGETNAME_autogen/$<CONFIG>/moc_compilation.cpp into AUTOGEN_SOURCE_GROUP - Requires gen. exp. support in source_group 2) Manually replace $<CONFIG> for all configurations and put all variants into the AUTOGEN_SOURCE_GROUP - Does not require gen. exp. support in source_group - May flood the source_group with files from an other configurations? Are source groups even configuration aware? I'd prefer 1) but does source_group support generator expressions? -Sebastian -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers