<div dir="ltr">Hi Mike,<div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 13, 2014 at 1:09 PM, Michael Jackson <span dir="ltr"><<a href="mailto:mike.jackson@bluequartz.net" target="_blank">mike.jackson@bluequartz.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks for the example. The thing I don't like about "ExternalProject_Add()" is that if you do a "Rebuild" of your project then you are also rebuilding ITK which takes a while.<br>
</blockquote><div><br></div><div>This is not necessary; it is possible to open the Visual Studio solution for just your project instead of the solution file for the entire superbuild.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
But even the script that you linked to _assumes_ that one has built ITK but NOT done an actual install. Because when ITK is installed there are no longer any "Debug/Release" directories but just the normal bin, lib, include, share directories </blockquote>
<div><br></div><div>I think this is the most common usage.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
So even if I build ITK in the final build location, zip up the installation and include that in my SDK installation it will still be wrong because all the *.cmake files will be pointing to some other potentially nonexistent location because the end developer and I need to install ITK in different locations.<br>
</blockquote><div><br></div><div>Yes, at the moment, an install only supports one build configuration.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
In ITK's cmake files is there a macro or function that was written to wrap the add_library() call by chance? That would be convenient to just simply update that one macro/function with a _debug tag for debug libraries.<br>
</blockquote><div> </div><div>This is no wrapper for add_library currently.</div><div><br></div><div>Thanks,</div><div>Matt</div></div></div></div>