- Strips binaries on gcc/clang
- Affects Linux binary size: from 14.2mb to 6.1mb for static, and from 3.1mb to 2.6mb for shared
- Does not affect wasm binary size
- Fix building static linux binaries on Ubuntu 22.10 by renaming a few functions in libcelt that clash with system libopus
- Fix building wasm binaries on systems with Vulkan installed
- After running cmake, run `make libvgmstream_shared` to build `src/libvgmstream.so`, in case a developer wants to use the vgmstream library, but does not want to link it statically
- Fixes shared Linux builds
- Sets dependencies for targets
- Fixes not being able to build single targets, like `make vgmstream_cli`
- Fixes not being able to build with multiple jobs, like `make -j 5`
- Compiles dependencies out of the source directory
- Fixes double lib suffix, renaming liblibvgmstream.a to libvgmstream.a
- Removes zlib dependency from static builds, previously required by ffmpeg
- If ARCHIVE_EXTRACT is not available in cmake, mpg123 will be downloaded through svn, then fall back to git if that is not available either
Needed to change how version.h was included to let it pick up the one from CMake's build location.
NOTE: Does not build with MinGW-w64 currently, does not have a way to build the audacious or XMPlay plugins.