<div dir="ltr"><div>Hello Toby,<br><br></div><div>What is your development environment? Are you using Windows/Visual Studio? Are you working on Linux or Mac?<br></div><div>The email thread you are referencing is about Visual Studio. The configuration that is described in it is having on build folder. The build type is set directly in Visual Studio. You can then have both a Debug and a Release version in the same build directory.<br></div><div>If you work with a different environment, you most likely will have to have two build folders as, as you saw, the build type is selected at configuration time with CMAKE_BUILD_TYPE.<br><br></div><div>Hope this helps,<br></div><div>Francois<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 25, 2017 at 5:04 PM, Wood, Tobias <span dir="ltr"><<a href="mailto:tobias.wood@kcl.ac.uk" target="_blank">tobias.wood@kcl.ac.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I am having trouble understanding previous posts to the lists about swapping between Debug and Release ITK builds when I change my own project from Debug to Release. The most recent posts I can find about this is here: <a href="http://public.kitware.com/pipermail/community/2016-May/011382.html" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>pipermail/community/2016-May/<wbr>011382.html</a><br>
<br>
However - the last post in the topic conflicts with how I understand to build ITK. I created two directories:<br>
Build_Release<br>
Build_Debug<br>
<br>
in one of them I (unsurprisingly) configured the build type to Release, the other to Debug, and built both. This results in Build_Release/lib and Build_Debug/lib each having a full copy of all the libraries. The last post suggested that somehow I should end up with Build/lib/Debug and Build/lib/Release, and that after that CMake would take care of everything if I set $ITK_DIR correctly.<br>
<br>
What am I missing? How do I end up building two build types in the same directory? If I try to change the CMAKE_BUILD_TYPE variable in ccmake, I am prevented from entering more than one type.<br>
<br>
Apologies for having to ask about something that has had multiple posts in the past,<br>
Toby<br>
<br>
______________________________<wbr>_________________<br>
Community mailing list<br>
<a href="mailto:Community@itk.org">Community@itk.org</a><br>
<a href="http://public.kitware.com/mailman/listinfo/community" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/community</a><br>
</blockquote></div><br></div>