pine64 / OpenPineBuds

Community maintained firmware for PineBuds Pro
148 stars 18 forks source link

[WIP]: Conversion to CMake build system. #60

Open shymega opened 1 year ago

shymega commented 1 year ago

As discussed with the team, this is a draft PR for the conversion of Makefiles to CMake.

This means enhanced IDE/editor support, easier code FFI with Rust, and easier maintenance.

This PR may be force-pushed at points, but eventually, will be squashed when ready.

For now, it's a draft, and contributions are welcome via reviews.

Newbytee commented 1 year ago

Sorry if this is unsolicited feedback, but why CMake over Meson?

shymega commented 1 year ago

@Newbytee Because I, and other maintainers, are more experienced with CMake, and prefer it over Meson.

We're also looking to integrate Rust with the codebase, and CMake handles this better, in my experience with similar initiatives.

CMake is also older, and has an established ecosystem.