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

Julien Jomier julien.jomier at kitware.com
Mon Jul 25 05:19:48 EDT 2011


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...


More information about the Insight-developers mailing list