Re: [cmake-developers] [PATCH] Automoc documentation is misleading

2014-02-04 Thread Alex Merry
On 04/02/14 12:45, Stephen Kelly wrote: Alex Merry wrote: If you have a header file like foo.h and the corresponding source file is, say, foo_win.cpp, automoc will never look at foo.h. ... unless you include moc_foo.cpp in foo_win.cpp, right? Yes; the fix is easy, but developers need to

Re: [cmake-developers] [PATCH] Automoc documentation is misleading

2014-02-04 Thread Stephen Kelly
Alex Merry wrote: I don't think there is a need to change the cmake-qt manual. I've pushed the rest to next for testing. OK. The wording did end up getting quite complicated in the cmake-qt manual. It might be worth having something like see the documentation for that property for exactly

[cmake-developers] [PATCH] Automoc documentation is misleading

2014-02-03 Thread Alex Merry
The automoc documentation (http://www.cmake.org/cmake/help/v2.8.12/cmake.html#prop_tgt:AUTOMOC) states that all header files are considered for automoc, which is not true for any sensible definition of all header files. Only header files with certain names are considered: specifically, if you