<div class="gmail_quote">On Wed, Aug 3, 2011 at 4:07 AM, Sascha Zelzer <span dir="ltr"><<a href="mailto:s.zelzer@dkfz-heidelberg.de">s.zelzer@dkfz-heidelberg.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">For plug-ins, dependencies to other plug-ins are encoded in the manifest_headers.cmake file (instead of target_libraries.cmake). This makes the information available at runtime. The dependencies are already correctly set-up but the order of the plug-ins in the CMakeLists.txt did not reflect their dependencies. Multiple CMake configure runs hid the problem and I fixed it just now.'</div>
</blockquote><div><br></div><div>Do you mean that the dependency is now handled by the order of add_subdirectory calls ? </div><div>If I understand correctly, <span class="Apple-style-span" style="border-collapse: collapse; color: rgb(80, 0, 80); font-family: arial, sans-serif; font-size: 13px; ">org_commontk_dah_app can only be built if </span><span class="Apple-style-span" style="border-collapse: collapse; color: rgb(80, 0, 80); font-family: arial, sans-serif; font-size: 13px; ">org_commontk_dah_core is built (not just configured).</span></div>
<div><font class="Apple-style-span" color="#500050" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">As there is no direct dependencies between </span></font><span class="Apple-style-span" style="border-collapse: collapse; color: rgb(80, 0, 80); font-family: arial, sans-serif; font-size: 13px; ">org_commontk_dah_app and </span><span class="Apple-style-span" style="border-collapse: collapse; color: rgb(80, 0, 80); font-family: arial, sans-serif; font-size: 13px; ">org_commontk_dah_core, Visual Studio can run them in parallel, no ? (and Visual Studio, by default, build projects in parallel) </span></div>
<div><font class="Apple-style-span" color="#500050" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">So it seems to be prone to a race condition. Is there something I didn't take into account ?</span></font></div>
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
I take the opportunity of this email to mention some warnings :-) :<br>
</div><a href="http://my.cdash.org/viewBuildError.php?type=1&onlydeltap&buildid=215143" target="_blank">http://my.cdash.org/<u></u>viewBuildError.php?type=1&<u></u>onlydeltap&buildid=215143</a> <<a href="http://my.cdash.org/viewBuildError.php?type=1&onlydeltap&buildid=215143" target="_blank">http://my.cdash.org/<u></u>viewBuildError.php?type=1&<u></u>onlydeltap&buildid=215143</a>><br>
</blockquote>
Fixed.<br></blockquote><div>Thanks !</div><div><br></div><div>Julien.</div></div><br>