windytan / redsea

Command-line FM-RDS decoder with JSON output.
MIT License
390 stars 37 forks source link

Migrate build system #90

Closed windytan closed 3 months ago

windytan commented 1 year ago

Possibility to migrate from autoconf to CMake should be investigated. It would simplify the discovery of external dependencies and creating test cases, and also make the build system more accessible to developers and easier to keep secure.

michal2229 commented 1 year ago

Please take a look at meson ( @https://mesonbuild.com ) - it's getting quite popular in FOSS world and I think it is pretty much justified. I used it in a few projects and I find it way easier and more readable/maintainable than CMake. Please note I might be biased here, since I'm not an build system expert and meson just clicked with me, also I heard some mentions about 'modern' CMake, which might be on par with meson now.

windytan commented 1 year ago

Thanks! I'll check out the alternatives, too. Meson is a new one for me. The biggest plus side of good old CMake would be it's so widely used in C++ projects nowadays, and easily available for many platforms. + Lately my own experience with autoconf on macOS hasn't been that seamless.