This makes sure that shared library built with MinGW toolchain is linked
statically to *all* its dependencies, including libc, libstdc++, libsdl2
and all the others. This allows producing of working `openrct2.dll` by
cross-compiling.
I hit a bug with libcrypto, a dependency of libssl, which in turn is a
dependency of curl, which creates a `DllMain` entrypoint for static lib
too, but since we don't do anything in ours, this should be safe.
I have only had chance to try it out when cross-compiling, ideally it
should be tested under Cygwin/MSYS too, but it is too bothersome to
setup for me.
This is mostly refactoring of cmake scripts, but also touches build.sh
and install.sh. The cmake should be much more palatable now for major
Linux distributions.
At the same time, new configuration is introduced to Linux version, one
with Twitch enabled.
Please note, however, this change requires update of orctlibs.zip for
mingw builds.
fix syntax
use elif
run it with bash
fix directory incantations
add missing build steps
dont use colors if not terminal
update install.sh
add sanity check
changes
set verbose mode
enable debug output
changes to get it working on mac
Platform specific cmakelists
fix issue with intptr_t not being found/defined
update build scripts
see if it can find the pkg-config
try running it outside of cmake
check whether excho works way we expect
try -e
remove debug info