[Qbs] Binary stripping
Иван Комиссаров
abbapoh at gmail.com
Thu Apr 9 22:16:06 CEST 2020
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 <mardy at 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 at qt-project.org
> https://lists.qt-project.org/listinfo/qbs
More information about the Qbs
mailing list