[Webkit-unassigned] [Bug 182757] [CMake][Ninja] Fails to compile TestWebCore due to missing WebCore's derived headers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 21 19:55:32 PST 2018


https://bugs.webkit.org/show_bug.cgi?id=182757

--- Comment #16 from Fujii Hironori <Hironori.Fujii at sony.com> ---
I created a example demonstrating Ninja dependency issue (Comment 1).
https://gist.github.com/fujii/1746bb1ea190944d0817c2f5c9aabdd1

> [2/4] /usr/lib/ccache/cc    -MD -MT CMakeFiles/TestWebCore.dir/main.c.o -MF CMakeFiles/TestWebCore.dir/main.c.o.d -o CMakeFiles/TestWebCore.dir/main.c.o   -c ../main.c
> [3/4] cd /home/fujii/tmp/cmake-ninja/build && /usr/bin/cmake -E echo hello && cd /home/fujii/tmp/cmake-ninja/build && /usr/bin/cmake -E remove libWebCore.a && /usr/bin/ar qc libWebCore.a  CMakeFiles/WebCore.dir/foo.c.o && /usr/bin/ranlib libWebCore.a && :

main.c was compiled before PRE_LINK command was executed.

> build CMakeFiles/TestWebCore.dir/main.c.o: C_COMPILER__TestWebCore ../main.c || cmake_object_order_depends_target_TestWebCore

That's because main.c.o doesn't have a dependency to the PRE_LINK command.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180222/a7a33a3c/attachment.html>


More information about the webkit-unassigned mailing list