It looks like strip is only used in android and Darwin toolchains

Maybe, it’s makes sense to add a rule that strips binary in the release mode as 
well

Ivan

> 9 апр. 2020 г., в 21:49, Alberto Mardegan <ma...@users.sourceforge.net> 
> написал(а):
> 
> Hi all!
>  Sorry for spamming the list :-)
> I noticed that binaries generated by mingw are quite large, and when I
> ran the "strip" command on them, the size was reduced by more than half,
> without losing functionality.
> 
> I'm building my application with the `config:release` option. Shouldn't
> that run "strip" on the generated binaries? I see that QBS seems to be
> strip-aware already (there are the stripName and stripPath options in
> the cpp module), but it appears that their usage is only triggered if
> separate debug information is requested.
> 
> Is there a reason why "strip" is not invoked when in release mode?
> 
> Ciao,
>  Alberto
> 
> -- 
> http://www.mardy.it - Geek in un lingua international
> _______________________________________________
> Qbs mailing list
> Qbs@qt-project.org
> https://lists.qt-project.org/listinfo/qbs

_______________________________________________
Qbs mailing list
Qbs@qt-project.org
https://lists.qt-project.org/listinfo/qbs

Reply via email to