[cmake-developers] CMake 3.13 - Generated moc files not added to VStudio solution

Sebastian Holtermann seblist at xwmw.org
Fri May 17 07:20:58 EDT 2019



Am 16.05.19 um 20:43 schrieb Venedict Tchistopolskii:
> Hey again, just checking in.
> 
> Has this been solved with a better solution/etc.? .-.
> 
> VT

AFAIK setting source file properties on files that get tagged
GENERATED later has been fixed by this commit:

https://gitlab.kitware.com/cmake/cmake/commit/254b7260f49caaca78b16761d70d6239626d2129

So it should work in CMake 3.14 and higher.

If this is the best solution for the issue is a different question.
Check issue https://gitlab.kitware.com/cmake/cmake/issues/19266,
for another solution approach (not implemented, yet).

Sebastian


More information about the cmake-developers mailing list