On 11/22/2011 07:10 PM, Alexander Neundorf wrote:
>  find #include "(.*).moc" ->  generate moc for "\\1.cpp"
>  Was there a reason for preventing this?

We can do that, but how can that work ?
I mean, this will generate code for a class which is declated in a different
source file, so it is unknown in the including file, no ?


You're right sorry, I was just cut+paste+modifying.

If #include "(.*).moc" CMAKE_MATCH_1 MATCHES basename, then moc self I guess.
--

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