<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [CMake] Decouple generating bindings of WebCore and WebCoreTestSupport"
href="https://bugs.webkit.org/show_bug.cgi?id=161474#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [CMake] Decouple generating bindings of WebCore and WebCoreTestSupport"
href="https://bugs.webkit.org/show_bug.cgi?id=161474">bug 161474</a>
from <span class="vcard"><a class="email" href="mailto:Hironori.Fujii@sony.com" title="Fujii Hironori <Hironori.Fujii@sony.com>"> <span class="fn">Fujii Hironori</span></a>
</span></b>
<pre>win-ews failed:
<span class="quote">> C:\cygwin\home\buildbot\WebKit\Source\WebCore\page\Settings.h(33): fatal error C1083: Cannot open include file: 'SettingsMacros.h': No such file or directory (compiling source file C:\cygwin\home\buildbot\WebKit\WebKitBuild\Release\DerivedSources\WebCore\StyleBuilder.cpp) [C:\cygwin\home\buildbot\WebKit\WebKitBuild\Release\Source\WebCore\WebCoreDerivedSources.vcxproj]
> C:\cygwin\home\buildbot\WebKit\Source\WebCore\page\Settings.h(33): fatal error C1083: Cannot open include file: 'SettingsMacros.h': No such file or directory (compiling source file C:\cygwin\home\buildbot\WebKit\Source\WebCore\DerivedSources.cpp) [C:\cygwin\home\buildbot\WebKit\WebKitBuild\Release\Source\WebCore\WebCoreDerivedSources.vcxproj]</span >
WebCoreDerivedSources did not have a dependency to SettingsMacros.h.
According to the CMake document, I need to add SettingsMacros.h as the source file.
<a href="https://cmake.org/cmake/help/v3.0/prop_sf/OBJECT_DEPENDS.html">https://cmake.org/cmake/help/v3.0/prop_sf/OBJECT_DEPENDS.html</a>
<span class="quote">> This property need not be used to specify the dependency of a source
> file on a generated header file that it includes. Although the
> property was originally introduced for this purpose, it is no longer
> necessary. If the generated header file is created by a custom command
> in the same target as the source file, the automatic dependency
> scanning process will recognize the dependency. If the generated
> header file is created by another target, an inter-target dependency
> should be created with the add_dependencies command (if one does not
> already exist due to linking relationships).</span ></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>