CMake BUILD_PROGRAMS new option
Yes, all patches are needed.
Yes, i works: [build] [66/66 98% :: 7.746] Linking C shared library src\libsyn123\syn123.dll [build] [66/66 100% :: 8.197] Linking C shared library src\libmpg123\mpg123.dll [build] Build finished with exit code 0
Vcpkg port passes all build tests: https://github.com/microsoft/vcpkg/pull/18403
The last. I swear.
Last fix.
Forgot about that one, here is complete, working patch. Not sure about two fixes in sample.h and resample.c. They produce errors: D:\source\repos\libmpg123\src\libsyn123\sampleconv.c(116,52): error C4146: unary minus operator applied to unsigned type, result still unsigned D:\source\repos\libmpg123\src\libsyn123\resample.c(2008,45): error C4146: unary minus operator applied to unsigned type, result still unsigned Is my fix correct?
CMake + MinGW - libmpg123 build error