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 to work reliably, at least I haven't heard of any problems with 
this since years.

Now the same macro in cmake does not set the OBJECT_DEPENDS property.

Should it ?
Is enforcing such a dependency a valid use case for OBJECT_DEPENDS ?


Alex
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to