I think the intention there was so that you could build the examples against an installed vtk, though I guess that doesn't make sense as we no longer ship libraries, just vtk.exe? I am CC'ing Brad King and Dave Cole as I remember one of them describing this to me a while back. I agree though, that whole CMakeLists.txt is probably more complex than necessary.<br>
<br><div class="gmail_quote">On Sat, Dec 19, 2009 at 11:00 AM, Bill Lorensen <span dir="ltr"><<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.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>
I'm revamping the Examples tree. As part of that I hope to remove the<br>
complexity of the current CMakeLists.txt file. I'm not sure why there<br>
is a need for the custom command to build the examples. The current<br>
method makes it very difficult to add tests to the examples.<br>
<br>
I'll describe my thoughts and solutions in a later e-mail.<br>
<font color="#888888"><br>
Bill<br>
</font><div><div></div><div class="h5"><br>
On Sat, Dec 19, 2009 at 10:48 AM, Dave Partyka <<a href="mailto:dave.partyka@kitware.com">dave.partyka@kitware.com</a>> wrote:<br>
> Out of curiosity what does exist? Did some other directory get created in<br>
> VTK-clean-bin/Examples/All when built universal?<br>
><br>
> On Thu, Dec 17, 2009 at 5:41 PM, Sean McBride <<a href="mailto:sean@rogue-research.com">sean@rogue-research.com</a>><br>
> wrote:<br>
>><br>
>> On 12/17/09 3:45 PM, Dave Partyka said:<br>
>><br>
>> >Well I most certainly can turn the examples on all the dashboards if you<br>
>> >wish. ;-)<br>
>><br>
>> Just don't turn them on for any Mac dashboard that builds Universal<br>
>> Binaries, since this does not work, as I explained yesterday:<br>
>><br>
>> [100%] Generating ../VTKExamples<br>
>> Internal cmake changing into directory: /Volumes/Leopard/Users/sean/<br>
>> kitware/VTK-clean-bin/Examples/All<br>
>> Error: cmake execution failed<br>
>> CMake Error: The source directory "/Volumes/Leopard/Users/sean/kitware/<br>
>> VTK-clean-bin/Examples/All/x86_64" does not exist.<br>
>> Specify --help for usage, or press the help button on the CMake GUI.<br>
>><br>
>> make[2]: *** [VTKExamples] Error 1<br>
>> make[1]: *** [Examples/CMakeFiles/VTKExamplesTarget.dir/all] Error 2<br>
>> make: *** [all] Error 2<br>
>><br>
>> It is correct that the dir does not exist.<br>
>><br>
>> If someone can fix, or help me fix, this problem, I can enable Examples<br>
>> on our dashboards.<br>
>><br>
>> --<br>
>> ____________________________________________________________<br>
>> Sean McBride, B. Eng <a href="mailto:sean@rogue-research.com">sean@rogue-research.com</a><br>
>> Rogue Research <a href="http://www.rogue-research.com" target="_blank">www.rogue-research.com</a><br>
>> Mac Software Developer Montréal, Québec, Canada<br>
>><br>
>><br>
><br>
><br>
</div></div></blockquote></div><br>