Closed kyzmitch closed 2 years ago
Space-separated list of libs works fine too, see an example at https://github.com/kambala-decapitator/vcmi-ios-depends/blob/main/deps/boost.sh
thanks for reply, for some reason following command doesn't work and it prints help:
./boost.sh --min-ios-version 10.0 -ios --boost-version 1.80.0 --boost-libs ‘system date_time thread’ --no-framework --no-thinning --universal --ios-archs "arm64 armv7"
it prints also Unknown argument date_time
, maybe because it only contains headers.
After removing date_time it prints another error: Unknown argument thread’
so, maybe quote symbol is wrong
following format works for me, just would be good to update help command to provide actual examples if it is possible, I could add it to my PR which is about different thing actually https://github.com/faithfracture/Apple-Boost-BuildScript/pull/78
./boost.sh --min-ios-version 10.0 -ios --boost-version 1.80.0 --boost-libs 'system date_time thread' --no-framework --no-thinning --universal --ios-archs "arm64 armv7"
maybe quote symbol is wrong
It definitely is :) compare your ‘
to the standard '
You can also escape spaces with backslash instead of using quotes:
--boost-libs lib1\ lib2
following format works for me, just would be good to update help command to provide actual examples if it is possible
Thanks for the feedback @kyzmitch , I've added examples for --boost-libs
and --ios-archs
to the script's help 👍🏻
From the docs it should be the following format and it doesn't work for me:
I was able to pass parameters only with following format
--ios-archs
:and the same format didn't work for
--boost-libs
parameter. Single arguments worked fine: