[cmake-developers] Undocumented CMAKE_AUTOMOC_RELAXED_MODE changes in 3.13
Sebastian Holtermann
seblist at xwmw.org
Mon Jan 28 08:38:57 EST 2019
Am Samstag, 26. Januar 2019, 03:27:08 CET schrieb Venedict Tchistopolskii:
> Actually, debugged a lot more and found this!
>
> 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?
>
> Note: This affects both relaxed and non-relaxed mode, my fix was a dummy
> because it involved regenerating cmake (ofc)....which is the actual
> solution.
>
> VT
There already is an issue reported that seems related:
https://gitlab.kitware.com/cmake/cmake/issues/17456
I'm not a Windows/VS developer and can't help much about it, sorry.
If someone else is interested in this issue, please assist.
-Sebastian
More information about the cmake-developers
mailing list