RSDKModding / RSDKv3-Decompilation

A Full Decompilation of Sonic CD (2011) & Retro Engine (v3)
Other
591 stars 120 forks source link

Added Meson build support. #219

Closed luluco250 closed 7 months ago

luluco250 commented 1 year ago

This PR seeks to add support for the Meson build system as an alternative to Make.

Instructions are provided in the readme, but it boils down to:

  1. meson setup --buildtype release build
  2. meson compile -C build.
  3. Executable is compiled to build/RSDKv3.

Why?

Meson provides a simple syntax and tooling, being easier to maintain than Makefiles and less complex than CMake. I have personally seen the makefile being constantly out of date in the project so I think this may help alleviate that.

Also although I have not tested it, Meson is multiplatform like CMake, so it can generate Visual Studio and Xcode projects or even be used with the Ninja backend directly to skip IDEs. Maybe someone else can give it a try and see if it works. That would cut down the need for separate build projects entirely.