[Insight-developers] Superbuild for ITKWiki Examples

Johnson, Hans J hans-johnson at uiowa.edu
Sun Jan 8 16:04:24 EST 2012


Bill,

This is fabulous.  It does make using these tools a lot easier.

Hans


On 1/8/12 2:47 PM, "Bill Lorensen" <bill.lorensen at gmail.com> wrote:

>I'll do the same for the VTK examples. Since some of them need a newer
>version of VTK, I can set the tag to get the proper version.
>
>On Sun, Jan 8, 2012 at 3:36 PM, David Doria <daviddoria at gmail.com> wrote:
>> On Sun, Jan 8, 2012 at 1:39 PM, Bill Lorensen <bill.lorensen at gmail.com>
>>wrote:
>>> David and hans,
>>>
>>> I have checked in a Superbuild directory for the ITK Wiki Examples. It
>>> builds the proper ITK and VTK with recommended options.
>>>
>>> For a fresh clone do:
>>>
>>> git clone git://gitorious.org/itkwikiexamples/itkwikiexamples.git
>>> ITKWikiExamples
>>> mkdir ITKWikiExamples-Superbuild
>>> cd ITKWikiExamples-Superbuild
>>> cmake ../ITKWikiExamples/Superbuild
>>>
>>> For an update do:
>>> cd ITKWikiExamples
>>> git pull
>>> cd ..
>>> mkdir ITKWikiExamples-Superbuild
>>> cd ITKWikiExamples-Superbuild
>>> cmake ../ITKWikiExamples/Superbuild
>>>
>>> If this looks reasonable, I'll update the Wiki instructions.
>>>
>>> Bill
>>
>> Awesome - everything built for me on the first try.
>>
>> My only comments:
>>
>> - The clone command line broke (presumably when you copy/pasted, or
>> the email width broke it). It should be a single line in the
>> instructions:
>>  git clone git://gitorious.org/itkwikiexamples/itkwikiexamples.git
>> ITKWikiExamples
>>
>> - Since it is completely automated, maybe we should add a
>> superbuild.sh with your exact commands:
>>
>> superbuild.sh (or install.sh?, etc)
>> --------------------
>> git clone git://gitorious.org/itkwikiexamples/itkwikiexamples.git
>> ITKWikiExamples
>> mkdir ITKWikiExamples-Superbuild
>> cd ITKWikiExamples-Superbuild
>> cmake ../ITKWikiExamples/Superbuild
>>
>> so that it is a "one line" install. Similarly an 'update.sh' could be
>> created with your update instructions. Of course people are free to
>> manually run the mkdir/cd/cmake etc with a custom build directory, but
>> it is always great when you can download something, look at the
>> readme, and run ./install and it "just works".
>>
>> - It should be noted that the examples executables end up in
>> ITKWikiExamples-Superbuild/ITKWikiExamples-build/bin
>>
>> Nice work!
>>
>> David
>
>
>
>--
>Unpaid intern in BillsBasement at noware dot com



________________________________
Notice: This UI Health Care e-mail (including attachments) is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential and may be legally privileged.  If you are not the intended recipient, you are hereby notified that any retention, dissemination, distribution, or copying of this communication is strictly prohibited.  Please reply to the sender that you have received the message in error, then delete it.  Thank you.
________________________________


More information about the Insight-developers mailing list