Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate build system #90

Closed
8 of 9 tasks
windytan opened this issue May 24, 2023 · 2 comments
Closed
8 of 9 tasks

Migrate build system #90

windytan opened this issue May 24, 2023 · 2 comments
Labels
meta Problem with the build system or tests
Milestone

Comments

@windytan
Copy link
Owner

windytan commented May 24, 2023

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.

  • Create a branch replacing automake files with meson.build
  • macOS library discovery for Homebrew, MacPorts (esp. liquid-dsp)
  • Debian/Ubuntu library discovery
  • Linux build in CI
  • macOS build in CI
  • Windows (Cygwin) build in CI
  • Windows (MSYS2/MinGW) build in CI
  • Ensure it works for cross-compilation
  • Update build instructions in README & wiki
@michal2229
Copy link

michal2229 commented May 26, 2023

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
Copy link
Owner Author

windytan commented May 27, 2023

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.

@windytan windytan added the meta Problem with the build system or tests label Jun 10, 2023
@windytan windytan changed the title Investigate migration to CMake Migrate build system Jan 20, 2024
@windytan windytan added this to the 1.0 milestone May 25, 2024
windytan added a commit that referenced this issue May 31, 2024
* Switch to meson.
* Add github workflows for meson build on Linux, macOS, Windows.
* Remove option to build without liquid-dsp (not maintained for some
  time).
windytan added a commit that referenced this issue Jun 13, 2024
* Switch to meson.
* Add github workflows for meson build on Linux, macOS, Windows.
* Remove option to build without liquid-dsp (not maintained for some
  time).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
meta Problem with the build system or tests
Projects
None yet
Development

No branches or pull requests

2 participants