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

Venedict Tchistopolskii venytch at gmail.com
Tue Jan 29 01:06:01 EST 2019


The first CMake generation pass: Generates but no inclusion



*Forcing a second pass makes it include the newly generated moc.*
It says *"AutoMoc: Generating 'XXXXX' because the MOC settings changed"*

I'm not too clear on why this is happening, any ideas on how to fix it, or
force it to reload whatever 'moc settings' are changing?

Possibly related: https://gitlab.kitware.com/cmake/cmake/issues/17456

e.g. mocs_compilation.cpp and include_XXXX folder -> Created but not added
until CMake re-run....
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake-developers/attachments/20190128/081809b8/attachment.html>


More information about the cmake-developers mailing list