[Insight-developers] PROPOSAL: Change default build type to "Release"

David Cole david.cole at kitware.com
Mon Jul 25 07:04:22 EDT 2011


"Release" should be the default.

People who need debug info are smart enough to figure out how to get it...

Realize that we have no way to set "the default" for generated Visual Studio
projects or Xcode projects. Visual Studio defaults to "Debug" and Xcode, I'm
unsure of the default actually...


David C.


On Mon, Jul 25, 2011 at 5:19 AM, Julien Jomier <julien.jomier at kitware.com>wrote:

> When building with MSVC you pretty much need to build your app with the
> same mode as the one used when building ITK so it would have some impact for
> applications built on top of ITK.
>
> That said, RelWithDebInfo is not standard when building an MSVC project
> without CMake so that could also be problematic for people having their own
> project configured without CMake.
>
> Julien
>
>
> On 25/07/2011 11:07, Gaëtan Lehmann wrote:
>
>>
>> Le 25 juil. 11 à 03:54, Bradley Lowekamp a écrit :
>>
>>  I agree that changing the default to RelWithDebInfo or Release make
>>> sense.
>>>
>>>
>> I agree - one of those two would be good.
>>
>>  However, please keep in mind that this will only impact the example
>>> and tests inside ITK. As ITK is mostly a template library, there is
>>> very little pre-compiled image processing library code that will be
>>> used in a user's application. So this change will have little impact
>>> on the noob who start building there one app based on an example and
>>> doesn't set this CMake variable.
>>>
>>
>> Maybe we can change it in the UseITK.cmake file.
>> That sound a bit too intrusive though...
>>
> ______________________________**_________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/**opensource/opensource.html<http://www.kitware.com/opensource/opensource.html>
>
> Kitware offers ITK Training Courses, for more information visit:
> http://kitware.com/products/**protraining.html<http://kitware.com/products/protraining.html>
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_**FAQ <http://www.itk.org/Wiki/ITK_FAQ>
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/**listinfo/insight-developers<http://www.itk.org/mailman/listinfo/insight-developers>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20110725/aaadec59/attachment.htm>


More information about the Insight-developers mailing list