Let me be clearer.<div><br></div><div>My standalone C++ has to be independent from ITK where the only header to be loaded is the one defining the routines in the ITK lib file that I made.<br><br>So I am looking for an example with no main program and the only Cmake output is a library, in my case a library that I am calling ITKregister.lib</div>
<div><br><div class="gmail_quote">On Fri, Feb 22, 2013 at 3:45 PM, Bill Lorensen <span dir="ltr"><<a href="mailto:bill.lorensen@gmail.com" target="_blank">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">
There are lots of examples here:<div><a href="http://www.itk.org/Wiki/ITK/Examples" target="_blank">http://www.itk.org/Wiki/ITK/Examples</a></div><div><br></div><div>They each have a CMakeLists.txt file.</div><div><br></div>
<div>For example look at: <a href="http://www.itk.org/Wiki/ITK/Examples/Images/ShrinkImageFilter" target="_blank">http://www.itk.org/Wiki/ITK/Examples/Images/ShrinkImageFilter</a></div>
<div>You can download a tar file that contains this single example. The bottom of the wiki page tells how.</div><div><br><br><div class="gmail_quote"><div><div class="h5">On Fri, Feb 22, 2013 at 3:20 PM, ronn kling <span dir="ltr"><<a href="mailto:rlkling@gmail.com" target="_blank">rlkling@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><h1 style="border-right:inherit;color:rgb(34,34,34);background:inherit;font-size:18px;margin:12px 1px 9px 0px;font-family:arial,sans-serif;font-weight:normal;padding:0px 0px 0px 8px">
<div><font face="Calibri">All,</font></div>
<div><font face="Calibri"></font> </div>
<div><font face="Calibri">So I'm getting smarter on all this ITK stuff and I
realize that my previous problem is due to my making the ITK library with Visual
Studio 2010 and not CMake. So my question is, does anyone have CMake examples
of making a library of ITK functions to be called by another C++ routine? I
don't know cMake at all.....</font></div><span><font color="#888888"><div><font face="Calibri"><br></font></div>
<div><font face="Calibri"></font> </div>
<div><font face="Calibri">-Ronn</font></div></font></span></h1>
<br></div></div>_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
<br></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br>Unpaid intern in BillsBasement at noware dot com<br>
</font></span></div>
</blockquote></div><br></div>