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

Gaëtan Lehmann gaetan.lehmann at jouy.inra.fr
Mon Jul 25 05:07:53 EDT 2011


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

Gaëtan

>
> Brad
>
>
> On Jul 23, 2011, at 12:28 PM, Johnson, Hans J wrote:
>
>> ITK developers,
>>
>> One of the most common reasons for not using ITK is a perception  
>> that it is really slow.  In my experience of working with newcomers  
>> to ITK, I find that their first experience (and often their first  
>> year of experience) is with the most default build of ITK  
>> possible.  It is very common that the first impressions of ITK are  
>> based on whatever is produced by "mkdir –p ITK-build; cmake ../ITK;  
>> make".
>>
>> Mostly as a marketing tactic to improve initial impressions of ITK,  
>> I'd suggest that the "mkdir –p ITK-build; cmake ../ITK; make"  
>> builds ITK in "Release" mode.
>>
>> I'd like to have an e-mail based discussion on the PRO's/CON's of  
>> this proposal so that we can hopefully have a quick discussion on  
>> next Friday's T-CON.
>>
>> Thanks,
>> Hans
>>
>> PS: Conversation Starters:
>>
>> -- I've always been a bit surprised that the cmake default is ""  
>> rather than either "Release" or "Debug",  What does a  
>> CMAKE_BUILD_TYPE  of "" convey to a new user?
>> -- Along with the current work to set more optimized set of default  
>> compiler flags (I.e. -Wall should be a default compiler flag) what  
>> other build defaults should be made to portray ITK in the best  
>> possible light to end-users.
>>
>>
>>
>>
>>
>>
>>
>> Notice: This UI Health Care e-mail (including attachments) is  
>> covered by the Electronic Communications Privacy Act, 18 U.S.C.  
>> 2510-2521, is confidential and may be legally privileged.  If you  
>> are not the intended recipient, you are hereby notified that any  
>> retention, dissemination, distribution, or copying of this  
>> communication is strictly prohibited.  Please reply to the sender  
>> that you have received the message in error, then delete it.  Thank  
>> you.
>> _______________________________________________
>> 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://kitware.com/products/protraining.html
>>
>> 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://www.itk.org/mailman/listinfo/insight-developers
>
> _______________________________________________
> 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://kitware.com/products/protraining.html
>
> 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://www.itk.org/mailman/listinfo/insight-developers

-- 
Gaëtan Lehmann
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
tel: +33 1 34 65 29 66    fax: 01 34 65 29 09
http://mima2.jouy.inra.fr  http://www.itk.org
http://www.bepo.fr

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 203 bytes
Desc: Ceci est une signature ?lectronique PGP
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20110725/6bcec98b/attachment.pgp>


More information about the Insight-developers mailing list