[MINC-users] Optimizing minc-toolkit builds

Vladimir S. FONOV vladimir.fonov at gmail.com
Tue Jan 6 11:40:59 EST 2015


you should set CMAKE_BUILD_TYPE to Release

On Tue, Jan 6, 2015 at 11:27 AM, Andrew Wood <andrew at biospective.com> wrote:

> Hi all,
>
> I'm building minc-toolkit (release-1.9.06) from github and wondering about
> the best way to get production-appropriate options passed to gcc/g++.
>
> The simplest build procedure ...
>
> $ mkdir build && cd build
> $ cmake ..
> $ make
>
> ... seems to leave most modules unoptimized.
>
> Should I be specifying these things manually with CMAKE_C{,XX}_FLAGS at the
> cmake call, or is there a "production" or "release" switch that can be
> used?
>
> Thanks,
> Andrew
> _______________________________________________
> MINC-users at bic.mni.mcgill.ca
> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users
>



-- 
Best regards,

 Vladimir S. Fonov ~ vladimir <dot> fonov <at> gmail <dot> com


More information about the MINC-users mailing list