Time was I knew what Boost was. Now it’s big and messy. It comes with its own installer and builder (bjam)??? It seems they have decided to compromise on making it equally painful to install everywhere.
I needed to build the Regex library as a Universal static .lib (so I could link against it without injecting a dylib dependency, cause I know nothing about dylibs).
Build/install bjam (it comes with Boost) and then execute the following command:
tools/jam/src/bin.macos*/bjam -a \ --toolset=darwin \ --with-regex \ --architecture=combined \ variant=release \ link=static \ architecture=combined \ stage
Your libboost_regex-xgcc40-mt-1_38.a file will be prepared in ./stage/lib.
I wanted the static version so that we don’t then have to install boost on our player’s machines.