[cmake-developers] Automoc same source - More thoughts
Sebastian Holtermann
seblist at xwmw.org
Wed Apr 13 14:30:36 EDT 2016
Am 13.04.2016 um 16:40 schrieb Brad King:
> On 04/13/2016 10:08 AM, Sebastian Holtermann wrote:
>> Well, looking into the sources and there is already Tests/QtAutogen.
>> It covers various #include "moc_..." cases.
>
> Perhaps, but as pointed out in the issue tracker entry I linked those
> test cases were not sufficient to fail after the the incorrect fix
> made and reverted there. Please identify why and extend them.
>
Here is a patch that introduces the same-source-name test
in Tests/QtAutogen.
With the current git cmake the test fails.
The latest moc-directory-patch from earlier in this thread
(cmake_automoc_directory_fix-2016-04-12-3.patch)
fixes the issue.
-Sebastian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cmake_automoc_directory_test-2016-04-13-1.patch
Type: text/x-patch
Size: 8231 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20160413/3af6d8a4/attachment.bin>
More information about the cmake-developers
mailing list