I would expect that applications that build VTK would not turn on testing or examples. I don't see a reason for that outside of the VTK build.<br><br>That said, I will investigate a proper way to handle this situation. When one builds the examples outside of the VTK tree, I use the find_package COMPONENTS technique, but this would result in a cmake error for paraview.<br>
<br>I could check for xxx_LOADED and disable the example, but for the medical examples, there are 16 required components and the cmake code would be ugly.<br><br>Suggestions?<br><br>Bill<br><br><div class="gmail_quote">On Mon, Aug 20, 2012 at 2:07 PM, Utkarsh Ayachit <span dir="ltr"><<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Guys,<br>
<br>
It may be worthwhile to note that VTK examples doesn't built with<br>
ParaView. ParaView doesn't enable all modules needed for VTK examples.<br>
I'm disabling building of VTKexamples for ParaView for now, but<br>
someone needs to address that at some point.<br>
<br>
<a href="http://open.cdash.org/viewBuildError.php?buildid=2525560" target="_blank">http://open.cdash.org/viewBuildError.php?buildid=2525560</a><br>
<br>
Utkarsh<br>
<br>
On Thu, Aug 16, 2012 at 1:51 PM, Marcus D. Hanwell<br>
<div class="HOEnZb"><div class="h5"><<a href="mailto:marcus.hanwell@kitware.com">marcus.hanwell@kitware.com</a>> wrote:<br>
> Thanks Bill we really appreciate the help! I will take a look at the<br>
> patch, it will be good to get the examples building again. We are<br>
> trying to work our way through the remaining issues so that we can<br>
> make a VTK 6.0 release.<br>
><br>
> I should have a little more time to clean some of the pieces up when I<br>
> get back too.<br>
><br>
> Marcus<br>
><br>
> On Thu, Aug 16, 2012 at 1:45 PM, Bill Lorensen <<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>> wrote:<br>
>> I think I'm all set. I submitted a gerrit patch that handles most of the<br>
>> examples.<br>
>> <a href="http://review.source.kitware.com/#/c/7016/" target="_blank">http://review.source.kitware.com/#/c/7016/</a><br>
>><br>
>> Bill<br>
>><br>
>><br>
>> On Thu, Aug 16, 2012 at 1:24 PM, Marcus D. Hanwell<br>
>> <<a href="mailto:marcus.hanwell@kitware.com">marcus.hanwell@kitware.com</a>> wrote:<br>
>>><br>
>>> On Tue, Aug 14, 2012 at 3:10 PM, Bill Lorensen <<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>><br>
>>> wrote:<br>
>>> > Folks,<br>
>>> ><br>
>>> > Motivated by a recent user question....<br>
>>> ><br>
>>> > I could be wrong, but it seems that VTK/Examples are not being built<br>
>>> > even if<br>
>>> > BUILD_EXAMPLES is ON. Also, the CMakeList.txt files in the example<br>
>>> > reference<br>
>>> > VTK5.x libraries.<br>
>>> ><br>
>>> > I'm willing to get these examples working with VTK6, but I'll need some<br>
>>> > help. The examples should be buildable (and tested) with a VTK build,<br>
>>> > but<br>
>>> > also buildable as individual examples. This is how it worked in VTK5.x.<br>
>>> ><br>
>>> > What is the future of these examples?<br>
>>> ><br>
>>> It is one of the larger pieces on our todo list, you are correct that<br>
>>> the flag is present but not hooked up to anything at present. We<br>
>>> intend to bring them back, but have had other more pressing issues to<br>
>>> deal with. Chris, Brad and myself intended to bring it back, and could<br>
>>> provide in this area (we would welcome help from others).<br>
>>><br>
>>> I am out of town most of next week, but will try to answer any<br>
>>> questions. I think Brad had some ideas from the work he did in ITK<br>
>>> too.<br>
>>><br>
>>> Thanks,<br>
>>><br>
>>> Marcus<br>
>><br>
>><br>
>><br>
>><br>
>> --<br>
>> Unpaid intern in BillsBasement at noware dot com<br>
>><br>
</div></div><div class="HOEnZb"><div class="h5">> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Unpaid intern in BillsBasement at noware dot com<br><br>