On Sun, Dec 14, 2014 at 07:29:38PM +0000, Roger Leigh wrote:
> Compilation inevitably fails due to it including the generated source
> files twice.  It's discarded the path information.
> 
> - is this a known issue?
> - is there any way to get automoc support to add the full pathname to
>   the generated sources e.g. moc_gl_Axis2D.cpp and moc_gl_v20_Axis2D.cpp.
> - any workarounds known for this issue?

Looks like this might be fixable in Source/cmQtAutoGenerators.cxx
where it's running moc and outputting the main file with the
includes in GenerateMoc and RunAutogen, if these were used to
generate the sources in subdirectories rather than only at the
toplevel?


-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux    http://people.debian.org/~rleigh/
 `. `'   schroot and sbuild  http://alioth.debian.org/projects/buildd-tools
   `-    GPG Public Key      F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800
-- 

Powered by www.kitware.com

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

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

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

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

Reply via email to