Re: [cmake-developers] Recommended usage of OBJECT_DEPENDS

2012-06-15 Thread Brad King
On 06/14/2012 05:04 PM, Alexander Neundorf wrote: In KDEs FindQt4.cmake the macro qt4_generate_moc(inCppFile outMocFile) uses the OBJECT_DEPENDS property to enforce that the moc file is generated before the cpp file is built. The original purpose of OBJECT_DEPENDS was to solve a problem

[cmake-developers] Recommended usage of OBJECT_DEPENDS

2012-06-14 Thread Alexander Neundorf
Hi, we hit an issue in KDE related to the usage (or not-usage) of the OBJECT_DEPENDS source file property. In KDEs FindQt4.cmake the macro qt4_generate_moc(inCppFile outMocFile) uses the OBJECT_DEPENDS property to enforce that the moc file is generated before the cpp file is built. This seems