On Wed, Jul 18, 2012 at 1:24 PM, Utkarsh Ayachit <span dir="ltr"><<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF"><div>FWIW, it might have been a good idea to provide nonintrusive API to specify module groups. If we add a new group, the fact that one has to dig into all module.cmake files is a bit cumbersome to say the least. </div>
</div></blockquote><div><br></div><div>One suggestion along this route is to have groups just be special modules with nothing in them but a list dependent modules. So you'd have</div><div><br></div><div>VTK/Group/StandAlone/module.cmake</div>
<div><div>VTK/Group/Rendering/module.cmake</div></div><div>...</div><div><br></div><div>which lists the dependencies of GroupStandAlone, GroupRendering, etc. just like any other module. When you turn on a group, the members of the group get built just like how all other module dependencies are satisfied.</div>
<div><br></div><div>Jeff</div></div>