[ITK] [ITK-users] Switching between debug and release libaraies in Visual Studio
Dženan Zukić
dzenanz at gmail.com
Fri May 20 09:58:48 EDT 2016
Hi Tao,
with standard ITK setup, you don't have to do anything special. CMake takes
care of setting up paths so you just switch between Debug and Release in
your application which uses ITK.
Regards,
Dženan
On Thu, May 19, 2016 at 11:40 PM, Tao Zhao <Tao.Zhao at intusurg.com> wrote:
> Hi,
>
>
>
> This might be a cmake question but it is related on how to use itk.
>
>
>
> I built ITK in both debug and release modes and had them installed under
>
> ITK
>
> - Debug
>
> - Release
>
>
>
> I would like my application to link against ITK debug libs in debug mode
> and release libs in release mode. I can easily do this under qtcreator.
> However when I am using Visual Studio, ${CMAKE_BUILD_TYPE} does not take
> effect. I know there is a way if the libs are in one folder but have
> different names. I was wondering how can I achieve this with standard ITK
> set up (i.e., not using different names but using different path for debug
> and release libs).
>
>
>
> Thank you very much!
>
>
> Tao
>
>
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/insight-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20160520/4757653a/attachment.html>
-------------- next part --------------
_____________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php
Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/insight-users
More information about the Community
mailing list