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

2019-01-28 Thread Venedict Tchistopolskii
Current automoc settings more or less, it's a solution with a few projects some of which are marked AUTOMOC: ## Relative to root in solution explorer set_property(GLOBAL PROPERTY AUTOGEN_TARGETS_FOLDER "${VS_FOLDER_PREFIX}/Sandbox/AUTOMOC_Targets") ## Relative to each project set_property(GLOBAL

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

2019-01-28 Thread Venedict Tchistopolskii
tl;dr, the below does not work for me: The resulting moc_.cpp files are generated in custom directories and automatically included in a generated /mocs_compilation.cpp file, *which is compiled as part of the target. (nope)* On Mon, Jan 28, 2019 at 10:06 PM Venedict Tchistopolskii wrote: >

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

2019-01-28 Thread Venedict Tchistopolskii
The first CMake generation pass: Generates but no inclusion *Forcing a second pass makes it include the newly generated moc.* It says *"AutoMoc: Generating 'X' 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

Re: [cmake-developers] Undocumented CMAKE_AUTOMOC_RELAXED_MODE changes in 3.13

2019-01-28 Thread Sebastian Holtermann
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