[Ctk-developers] org_commontk_dah_app depends on org_commontk_dah_core

Julien Finet julien.finet at kitware.com
Wed Aug 3 14:29:39 UTC 2011


On Wed, Aug 3, 2011 at 4:07 AM, Sascha Zelzer
<s.zelzer at dkfz-heidelberg.de>wrote:

> 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.'
>

Do you mean that the dependency is now handled by the order of
add_subdirectory calls ?
If I understand correctly, org_commontk_dah_app can only be built if
org_commontk_dah_core
is built (not just configured).
As there is no direct dependencies between org_commontk_dah_app and
org_commontk_dah_core,
Visual Studio can run them in parallel, no ? (and Visual Studio, by default,
build projects in parallel)
So it seems to be prone to a race condition. Is there something I didn't
take into account ?


>  I take the opportunity of this email to mention some warnings :-) :
>> http://my.cdash.org/**viewBuildError.php?type=1&**
>> onlydeltap&buildid=215143<http://my.cdash.org/viewBuildError.php?type=1&onlydeltap&buildid=215143><
>> http://my.cdash.org/**viewBuildError.php?type=1&**
>> onlydeltap&buildid=215143<http://my.cdash.org/viewBuildError.php?type=1&onlydeltap&buildid=215143>
>> >
>>
> Fixed.
>
Thanks !

Julien.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ctk-developers/attachments/20110803/e29c2f29/attachment.htm>


More information about the Ctk-developers mailing list